This command changes an AES key on a MIFARE Plus card.


Parameters (request frame)

Name Type/Size Description
- Bit mask (8 bits) -
RFU Integer (bit mask area 0xF0) Zero padding
KeyHasExtIdx Boolean (bit 0x08) Set this flag if extended crypto memory is used (using KeyExtIdx parameter).
RFU Integer (bit mask area 0x06) Zero padding
NoMacOnResp Integer (bit 0x01) -
Block Integer (16 bits) Key block number.
KeyIdx Integer (8 bits)

Crypto Memory Index of secure reader chip key

  • SAM: 0-7F
  • CrMem: 80-FC
Optional field, condition: KeyHasExtIdx
KeyExtIdx Integer (8 bits)

Crypto Memory Index (SAM or CryptoMemory) of authentication key

  • SAM: SAM: Key version (0..0xFF)
  • Crypto Memory: Page (0..15)
Length of DivData Integer (8 bits) Length of DivData in byte
DivData Raw data Key diversification according to NXP AN10922 will be done if diversification data bytes are specified.

Returned values (response frame)