nfc - DESfire EV1 AES authentication no reply -


i'm trying authenticate desfire ev1 card, card doesn't reply. before trying authenticate, i've formatted card , created new application, selected new application , need authenticate before creating file.

here's communcation format fail:

format card start on bsp_mifare --> 0b 01 90 fc 00 00 00 (tranceive, 56 bits) bsp_mifare <-- fa 01 01 (24 bits) bsp_mifare --> fa 01 01 (tranceive, 24 bits) bsp_mifare <-- fa 01 01 (24 bits) bsp_mifare --> fa 01 01 (tranceive, 24 bits) bsp_mifare <-- fa 01 01 (24 bits) bsp_mifare --> fa 01 01 (tranceive, 24 bits) bsp_mifare <-- fa 01 01 (24 bits) bsp_mifare --> fa 01 01 (tranceive, 24 bits) bsp_mifare <-- fa 01 01 (24 bits) bsp_mifare --> fa 01 01 (tranceive, 24 bits) bsp_mifare <-- 0b 01 91 00 (32 bits) bsp_mifare --> 0a 01 90 0a 00 00 01 00 00 (tranceive, 72 bits) bsp_mifare <-- 0a 01 ad 51 73 29 dc 6e 33 cf 91 af (96 bits) bsp_mifare --> 0b 01 90 af 00 00 10 2e 4a 13 9c a9 d4 23 61 25 28 48 ce 2c 73 2c 70 00 (tranceive, 192 bits) bsp_mifare <-- 0b 01 fc 25 2e 4f 00 c3 86 e8 91 00 (96 bits) create application default aes key bsp_mifare --> 0a 01 90 ca 00 00 05 33 22 11 0b 84 00 (tranceive, 104 bits) bsp_mifare <-- 0a 01 91 00 (32 bits) select application... bsp_mifare --> 0b 01 90 5a 00 00 03 33 22 11 00 (tranceive, 88 bits) bsp_mifare <-- 0b 01 91 00 (32 bits) authenticate... bsp_mifare --> 0a 01 90 aa 00 00 01 00 00 (tranceive, 72 bits) bsp_mifare <-- (0 bits) bsp_mifare --> 0a 01 90 aa 00 00 01 00 00 (tranceive, 72 bits) bsp_mifare <-- (0 bits) failed authenticate null aes key: 0x00 

if try authenticate invalid key number (e.g. 6 when num_keys 4), "no such key" reply, card @ least partly understanding request.

so question is, what's wrong "start of authentication" command:

bsp_mifare --> 0a 01 90 aa 00 00 01 00 00 (tranceive, 72 bits) 

(the data shown raw data, including wrapping. actual native command "aa 00").

turns out hardware failure: aes commands need more power des/crypto1 ones (50% more), antenna failed deliver @ reading range testing with. moving card closer fixed problem.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -