mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
mfu
This commit is contained in:
parent
586cbd2137
commit
0ef9b609dc
1 changed files with 2 additions and 2 deletions
|
@ -2445,7 +2445,7 @@ int CmdHF14AMfuGenDiverseKeys(const char *Cmd){
|
||||||
mbedtls_des3_set2key_enc(&ctx, masterkey);
|
mbedtls_des3_set2key_enc(&ctx, masterkey);
|
||||||
|
|
||||||
mbedtls_des3_crypt_cbc(&ctx // des3_context
|
mbedtls_des3_crypt_cbc(&ctx // des3_context
|
||||||
, DES_ENCRYPT // int mode
|
, MBEDTLS_DES_ENCRYPT // int mode
|
||||||
, sizeof(mix) // length
|
, sizeof(mix) // length
|
||||||
, iv // iv[8]
|
, iv // iv[8]
|
||||||
, mix // input
|
, mix // input
|
||||||
|
@ -2481,7 +2481,7 @@ int CmdHF14AMfuGenDiverseKeys(const char *Cmd){
|
||||||
mbedtls_des3_set3key_enc(&ctx, dmkey);
|
mbedtls_des3_set3key_enc(&ctx, dmkey);
|
||||||
|
|
||||||
mbedtls_des3_crypt_cbc(&ctx // des3_context
|
mbedtls_des3_crypt_cbc(&ctx // des3_context
|
||||||
, DES_ENCRYPT // int mode
|
, MBEDTLS_DES_ENCRYPT // int mode
|
||||||
, sizeof(newpwd) // length
|
, sizeof(newpwd) // length
|
||||||
, iv // iv[8]
|
, iv // iv[8]
|
||||||
, zeros // input
|
, zeros // input
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue