mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
test: reverse the "check reader mac" in iclass sim3
This commit is contained in:
parent
b134753a08
commit
33b2b1e8b9
1 changed files with 2 additions and 0 deletions
|
@ -673,6 +673,7 @@ int do_iclass_simulation(int simulationMode, uint8_t *reader_mac_buf) {
|
||||||
// NR, from reader, is in receivedCmd +1
|
// NR, from reader, is in receivedCmd +1
|
||||||
opt_doTagMAC_2(*cipher_state, receivedCmd + 1, data_generic_trace, diversified_key);
|
opt_doTagMAC_2(*cipher_state, receivedCmd + 1, data_generic_trace, diversified_key);
|
||||||
|
|
||||||
|
/*
|
||||||
uint8_t _mac[4] = {0};
|
uint8_t _mac[4] = {0};
|
||||||
opt_doReaderMAC_2(*cipher_state, receivedCmd + 1, _mac, diversified_key);
|
opt_doReaderMAC_2(*cipher_state, receivedCmd + 1, _mac, diversified_key);
|
||||||
|
|
||||||
|
@ -688,6 +689,7 @@ int do_iclass_simulation(int simulationMode, uint8_t *reader_mac_buf) {
|
||||||
|
|
||||||
goto send;
|
goto send;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
trace_data = data_generic_trace;
|
trace_data = data_generic_trace;
|
||||||
trace_data_size = 4;
|
trace_data_size = 4;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue