MIFARE DesFire EV1 Work Flow — Authentication Method and Date

Forum / MIFARE general topics and applications / MIFARE DesFire EV1 Work Flow — Authentication Method and Date

  • 27. November 2013 at 16:09
    I'm new to the area PCSC programming.
    I use C++, WinAPI and APDU for data exchange with RFID card.

    for example, i had a programm for Mifare Classic 1K:
    // SCardEstablishContext
    // SCardListReaders (PICC)
    // SCardConnect
    // SCardTransmit

    i can get uid.
    i can set the session key.

    i can read or write from/in the card(1k classic) {// loop
    authentication with the 4th sector
    I read or write data from/in other 3 sector
    }// loop end

    today i had a new card, "MIFARE DesFire EV1".
    and i can get the uid.
    but i can't authentication.

    is the method to authentication the same?
    or do I have to change my work flow?

    another question:
    is the new card with 128 sectors, and each with 4 blocks?
    and the usable capacity 127x3x16=6096 Bytes?

    thanks in advance
    + 0  |  - 0

    Re: MIFARE DesFire EV1 Work Flow — Authentication Method and Date

    3. December 2013 at 18:36
    Hi,
    MIFARE Classic and DESFire EV1 are two different sort of cards. Classic is sectors-blocks oriented where as DESFire Ev1 is applications-files oriented.
    Authentication in EV1 is based on challenge - Response. Please refer to datasheet.
    There are also DESFire Application note describing the authentication procedure.
    The datasheet and Application notes are available at our docstore(http://docstore.nxp.com/).
    Br
    Adnan
    + 0  |  - 0

    Re: MIFARE DesFire EV1 Work Flow — Authentication Method and Date

    10. December 2013 at 13:44
    Thanks Adnan!

    I use the Desfire Card, because of the 8k capacity.
    I want to store only (one Application and only one) File for previously encrypted Data. plain text.
    Is it possible to do it without authentication process?

    H Dou
    + 0  |  - 0

    Re: MIFARE DesFire EV1 Work Flow — Authentication Method and Date

    18. December 2013 at 18:52
    Possible. Please refer to datasheet.
    + 0  |  - 0
Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.