mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
Merge pull request #2621 from Antiklesys/master
Fixed keygen bug in legrec
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user