From 33b2b1e8b9391fed3f191aab0dc0bed2296e9379 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Wed, 19 Aug 2020 22:37:37 +0200 Subject: [PATCH] test: reverse the "check reader mac" in iclass sim3 --- armsrc/iclass.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/armsrc/iclass.c b/armsrc/iclass.c index b543a268c..7f22b59cc 100644 --- a/armsrc/iclass.c +++ b/armsrc/iclass.c @@ -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;