Hi to all,
I tried to use the code suggested by NXP TechSupport @jimmychan to authenticate a Mifare Ultralight C with an Android smartphone.
Here the the data between the the app and the tag:
My Key is: 42 52 45 41 4B 4D 45 49 46 59 4F 55 43 41 4E 21
I start communication TAG : 1A 00
The TAG answer with (encoded) RndB: AF 69 EC C8 F7 CA DC 1A C8
so the the IV for next communication become: 69 EC C8 F7 CA DC 1A C8
the RndB (decoded) is: CB 0C AC EE F2 76 F1 7E
the RndB' (rotate) is: 0C AC EE F2 76 F1 7E CB
the RndA is: C9 60 0A DC EB 08 FD C4
The value sent to the tag is: AF encoded (RndA + RndB')
AF 90 79 9A 6D 73 E9 51 49 C7 AA 66 D9 0C 08 BE C5
When I sent this I have an exception Transceive failed (like the data sent is not correct)
I check on this site http://tripledes.online-domain-tools.com/
And the value sent is correct
I hope You can help me
Best Regards
Marco