CHG: minor comments.
This commit is contained in:
@@ -856,12 +856,12 @@ int CmdHF14AMfuGenDiverseKeys(const char *Cmd){
|
|||||||
des3_context ctx = { 0x00 };
|
des3_context ctx = { 0x00 };
|
||||||
des3_set2key_enc(&ctx, masterkey);
|
des3_set2key_enc(&ctx, masterkey);
|
||||||
|
|
||||||
des3_crypt_cbc(&ctx // des3_context *ctx
|
des3_crypt_cbc(&ctx // des3_context
|
||||||
, DES_ENCRYPT // int mode
|
, DES_ENCRYPT // int mode
|
||||||
, sizeof(mix) // size_t length
|
, sizeof(mix) // length
|
||||||
, iv // unsigned char iv[8]
|
, iv // iv[8]
|
||||||
, mix // const unsigned char *input
|
, mix // input
|
||||||
, divkey // unsigned char *output
|
, divkey // output
|
||||||
);
|
);
|
||||||
|
|
||||||
PrintAndLog("3DES version");
|
PrintAndLog("3DES version");
|
||||||
|
|||||||
Reference in New Issue
Block a user