This command changes an AES key on a MIFARE Plus card.
- Parameters
-
| [in] | params | Struct with the following fields:
- protocol used to execute the command
- KeyHasExtIdx (in) Set this flag if extended crypto memory is used (using KeyExtIdx parameter).
- NoMacOnResp (in)
- Block (in) Key block number.
- KeyIdx (in) Crypto Memory Index of secure reader chip key * SAM: 0-7F * CrMem: 80-FC
- KeyExtIdx (in) Crypto Memory Index (SAM or CryptoMemory) of authentication key * SAM: SAM: Key version (0..0xFF) * Crypto Memory: Page (0..15)
- DivData (in) Key diversification according to NXP AN10922 will be done if diversification data bytes are specified.
- DivData_len (in) Length of DivData (in bytes).
|