Reply To: ChangeKey Command Example in AES Mode

Forum MIFARE SmartCard IC`s ChangeKey Command Example in AES Mode Reply To: ChangeKey Command Example in AES Mode

Re: ChangeKey Command Example in AES Mode

31. January 2018 at 10:25
Hi Cales,

In step 15 the CMAC is calculated over the status byte, in this case only 00, therefore CMAC(00,IV). Take in mind, you have to use the current IV in CMAC calculation and update the IV with the last CMAC result. The card send only the upper 8 bytes of the CMAC for verifying.

The TapLinx team

+ 0  |  - 0