mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
Fixed keygen bug in legrec
Fixed legrec bug that was generating blank keys after misalignment in commit: 110dfab668
This commit is contained in:
parent
cf7431c98d
commit
0b7d76d7cd
1 changed files with 1 additions and 1 deletions
|
@ -2314,9 +2314,9 @@ void iClass_Recover(iclass_recover_req_t *msg) {
|
|||
}
|
||||
}
|
||||
|
||||
if (msg->test) {
|
||||
//Step3 Calculate New Key (Optimised Algo V2)
|
||||
generate_single_key_block_inverted_opt(zero_key, index, genkeyblock);
|
||||
if (msg->test) {
|
||||
memcpy(genkeyblock, zero_key, PICOPASS_BLOCK_SIZE);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue