Mif.ChangeAESKey
This command changes an AES key on a MIFARE Plus card.
Properties
- Command code: 0x1015
- Command timeout: 100 ms
- Possible status codes: General status codes, Mif.ErrNoTag, Mif.ErrBitcount, Mif.ErrBytecount, Mif.ErrAuth, Mif.ErrKey, Mif.ErrCode
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 | Boolean (bit 0x01) | - | ||||
| Block | Integer (16 bits) | Key block number. | ||||
| KeyIdx | Integer (8 bits) |
Crypto Memory Index of secure reader chip key
|
||||
Optional field, condition: KeyHasExtIdx
|
||||||
| Length of DivData | Integer (8 bits) |
Length of DivData in bytes |
||||
| DivData | Raw data | Key diversification according to NXP AN10922 will be done if diversification data bytes are specified. | ||||
Returned values (response frame)
None