Forum › MIFARE general topics and applications › 8-byte CMAC › Reply To: 8-byte CMAC
Hi Claudio,
With my sample above I use the same key as in the example on page 17. Here it is important that you always pad the message to a multiple of 16 bytes!
For instance, on the same page in step 11 I get:
CMAC(000102030405060708090A0B03000000) = 50F5BE520E30E261CD55463A38DDA0E0
With is reduced to:
F5523061553ADDE0
If you get other values, you should check your CMAC implementation.
Regards,
The TapLinx team
With my sample above I use the same key as in the example on page 17. Here it is important that you always pad the message to a multiple of 16 bytes!
For instance, on the same page in step 11 I get:
CMAC(000102030405060708090A0B03000000) = 50F5BE520E30E261CD55463A38DDA0E0
With is reduced to:
F5523061553ADDE0
If you get other values, you should check your CMAC implementation.
Regards,
The TapLinx team
+ 0
|
- 0