Generate MAC in Mifare Plus EV1

Forum / MIFARE general topics and applications / Generate MAC in Mifare Plus EV1

  • 27. August 2019 at 0:56
    Hello,

    I´m not sure how to create the MAC for Mifare Plus EV1. I´m in the doubt if there´s need to follow all the steps of the "Recommendation for Block Cipher Modes of Operation" or there´s a simple way to do this process. I´ll apreciate if you can guide me in this process.

    Thank you
    + 0  |  - 0

    Re: Generate MAC in Mifare Plus EV1

    27. August 2019 at 14:21
    Hi Sebastián,

    Do you use TapLinx or a different library?

    The TapLinx team

    + 0  |  - 0

    Re: Generate MAC in Mifare Plus EV1

    27. August 2019 at 16:51
    Hi,

    I don´t use TapLinx. I´m working with a Pax terminal, with the API of Pax-Neptune.
    For that reason I use the commands that appears in the MF1P(H)x1y1 (3.2)

    I will apreacite any help you can give me.
    + 0  |  - 0

    Re: Generate MAC in Mifare Plus EV1

    12. September 2019 at 11:03
    Hi Sebastián,

    If you do not use TapLinx, you must implement the cipher algorithm by yourself. So, you need AES encryption and decryption and the AES-CMAC. The algorithm is explained in the NIST documentation. There is modification to this algorithm. The “MIFARE CMAC” uses an IV which might be not zero whereas the “NIST CMAC” uses an IV with always all bytes zero.

    The TapLinx team
    + 0  |  - 0
Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.