Reply To: 8-byte CMAC

Forum MIFARE general topics and applications 8-byte CMAC Reply To: 8-byte CMAC

Re: 8-byte CMAC

2. August 2017 at 15:48
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:

If you get other values, you should check your CMAC implementation.

The TapLinx team

+ 0  |  - 0