test: reverse the "check reader mac" in iclass sim3

This commit is contained in:
iceman1001 2020-08-19 22:37:37 +02:00
parent b134753a08
commit 33b2b1e8b9

View file

@ -673,6 +673,7 @@ int do_iclass_simulation(int simulationMode, uint8_t *reader_mac_buf) {
// NR, from reader, is in receivedCmd +1
opt_doTagMAC_2(*cipher_state, receivedCmd + 1, data_generic_trace, diversified_key);
/*
uint8_t _mac[4] = {0};
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;
}
*/
trace_data = data_generic_trace;
trace_data_size = 4;