mfu
This commit is contained in:
@@ -2445,7 +2445,7 @@ int CmdHF14AMfuGenDiverseKeys(const char *Cmd){
|
||||
mbedtls_des3_set2key_enc(&ctx, masterkey);
|
||||
|
||||
mbedtls_des3_crypt_cbc(&ctx // des3_context
|
||||
, DES_ENCRYPT // int mode
|
||||
, MBEDTLS_DES_ENCRYPT // int mode
|
||||
, sizeof(mix) // length
|
||||
, iv // iv[8]
|
||||
, mix // input
|
||||
@@ -2481,7 +2481,7 @@ int CmdHF14AMfuGenDiverseKeys(const char *Cmd){
|
||||
mbedtls_des3_set3key_enc(&ctx, dmkey);
|
||||
|
||||
mbedtls_des3_crypt_cbc(&ctx // des3_context
|
||||
, DES_ENCRYPT // int mode
|
||||
, MBEDTLS_DES_ENCRYPT // int mode
|
||||
, sizeof(newpwd) // length
|
||||
, iv // iv[8]
|
||||
, zeros // input
|
||||
|
||||
Reference in New Issue
Block a user