This commit is contained in:
merlokk 2018-11-14 11:33:59 +02:00
parent 586cbd2137
commit 0ef9b609dc

View file

@ -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