Skip to content

Commit

Permalink
Merge pull request #2621 from Antiklesys/master
Browse files Browse the repository at this point in the history
Fixed keygen bug in legrec
  • Loading branch information
iceman1001 authored Nov 7, 2024
2 parents cf7431c + 0b7d76d commit 917427c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion armsrc/iclass.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 917427c

Please sign in to comment.