mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-05 07:36:14 +08:00
BUG: fixed a bug with the initialization of IV in cmdhfmfu.c CmdHF14AMfucAuth
This commit is contained in:
parent
149aeadaa6
commit
db297e69e1
1 changed files with 4 additions and 1 deletions
|
@ -471,10 +471,13 @@ int CmdHF14AMfucAuth(const char *Cmd){
|
|||
unsigned char RndARndB[16] = {0x00};
|
||||
uint8_t key[16] = {0x00};
|
||||
DES_cblock RndA, RndB;
|
||||
DES_cblock iv[8] = {0x00};
|
||||
DES_cblock iv;
|
||||
DES_key_schedule ks1,ks2;
|
||||
DES_cblock key1,key2;
|
||||
|
||||
//
|
||||
memset(iv, 0, 8);
|
||||
|
||||
if (strlen(Cmd)<1) {
|
||||
PrintAndLog("Usage: hf mfu auth k <key number>");
|
||||
PrintAndLog(" sample: hf mfu auth k 0");
|
||||
|
|
Loading…
Reference in a new issue