Change AES Keys in SL3

Forum / MIFARE SmartCard IC`s / MIFARE Plus / Change AES Keys in SL3

  • 16. July 2013 at 11:52

    I have a Mifare Plus S 2K Card in Security Level 3 with AES Key set to (16 * 0xFF)

    I can authenticate with this card and read/ write into blocks.

    Now I want to change the AES Keys to (16*0x00)

    But after trying to write the new key; I have this Error 0Bh !!!

    In my code, I well authenticate (with firstAuthenticate) and I compute all that I need (TI ; Kenc; Kmac) I can after read and write

    Then I try to write new AES Key (with A1 command) of the sector 1 KeyA (refKey=02 40h). I encrypt new AES Keys with Kenc and the good Init Vector, and I well compute the MAC for this command, but after sending the command I have 0Bh error !!!

    Can you explain to me what is missing ?

    Thank you.
    + 0  |  - 0

    Re: Change AES Keys in SL3

    16. July 2013 at 12:11
    Please do not share any details under NDA (e.g. from NDA related documents) in such a forum, otherwise you violate the NDA.
    Please address this topic with your local NXP support to get help here.
    + 0  |  - 0

    Re: Change AES Keys in SL3

    16. July 2013 at 12:24

    I update now the first message
    I already sent an email to but they reply to me to post my query to support forum
    + 0  |  - 0
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.