AES authenticating DesFire EV1

Forum / MIFARE general topics and applications / AES authenticating DesFire EV1

  • 1. September 2017 at 14:57

    I am trying to perform AES authentication on a new DesFire EV1 card. I am using ISO 7816 commands but I do not get very far.

    My flow is:
    Selecting PIC application
    Transmit: 0x90, 0x5A, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00
    Receive: 0x91, 0x00
    Application selected successful - This seem to work

    Initializing AES authentication with master key
    Transmit: 0x90, 0xAA, 0x00, 0x00, 0x01, 0x00, 0x00
    Response: 0x91, 0xAE

    Current authentication status does not allow the requested command - Why am I getting an authentication error when trying to start authentication. Excepted an encrypted random number at this stage.

    What am i missing?


    + 0  |  - 0

    Re: AES authenticating DesFire EV1

    1. September 2017 at 16:49
    Hi Morton,

    If it is a blank new card, you used the wrong cipher. The default cipher is 2K3DES, not AES. You must change the cipher to AES if you want to use it (what is recommended).

    The TapLinx team

    + 0  |  - 0

    Re: AES authenticating DesFire EV1

    4. September 2017 at 7:59
    Thanks it will try that


    + 0  |  - 0
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.