This command is identical to the brp_Mif_AuthE2() command with the exception that it supports stronger authentication methods (MIFARE and AES), supported by MIFARE Pro cards.
MIFARE Plus SL2 support was deprecated and removed in firmware 2.12.00. It is unsupported in this and all later versions.
- Parameters
-
| [in] | params | Struct with the following fields:
- protocol used to execute the command
- AuthLevel (in) Desired authentication level.
- KeyHasExtIdx (in) Set this flag if extended crypto memory is used (using KeyExtIdx parameter).
- EV1Mode (in) Switches to EV1 secure messaging. (Only supported by MFP EV1 cards)
- IsKeyB (in) Key B is used when this flag is set, whereas Key A is used when this flag is cleared.
- Block (in) Block/Key address of MIFARE Pro card.
- KeyIdx (in) Crypto Memory Index (SAM or CryptoMemory) of MIFARE key * SAM: 0-7F * CrMem: 80-BF
- 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).
|