Changed drastically Hitag S ARM code to remove state machines and ease way to build new commands, Fixed Hitag S crypto mode with key or NrAr, fixed lf hitag cc, fixed pwd dump in hitagS dump with LKP

This commit is contained in:
Philippe Teuwen 2022-01-02 01:02:08 +01:00
commit 0f9315391a
5 changed files with 452 additions and 977 deletions

View file

@ -1094,7 +1094,7 @@ static void PacketReceived(PacketCommandNG *packet) {
break;
}
case CMD_LF_HITAGS_TEST_TRACES: { // Tests every challenge within the given file
check_challenges((bool)packet->oldarg[0], packet->data.asBytes, true);
Hitag_check_challenges(packet->data.asBytes, packet->oldarg[0], true);
break;
}
case CMD_LF_HITAGS_READ: { //Reader for only Hitag S tags, args = key or challenge