[in] | protocol | used to execute the command |
[in] | ForceVcsAuthentication | Forces authentication to a virtual card. A card without encryption returns BRP_Desfire_VcsAndProxCheckError |
[in] | UseExtVcSelectKeys | Authenticates to a virtual card. A MAC and a encryption key has to be specified. Use (external) Virtual Card keys given as command parameter. |
[in] | DiversifyMacKey | Diversifies VC Mac key. Remarks for use of divinput: VC-UID is obtained by decryption of the card response. If VC-UID is concatenated with divinput the input wil be limited to 31 bytes. |
[in] | DiversifyEncKey | Diversifies VC Encryption key |
[in] | UseVcSelectKeys | Authenticates to a virtual card. A MAC and a encryption key has to be specified. Use Keys stored in CryptoMemory or SAM. |
[in] | IID | Virtual Card Identifier. |
[in] | IID_len | |
[in] | EncKeyIdx | Crypto Memory Index (SAM or CryptoMemory) of virtual card select key * SAM: MSByte: Key version / LSByte: KeyIdx * Crypto Memory: MSByte: Page (0..15) / LSByte: KeyIdx (0x80-0xBF) |
[in] | MacKeyIdx | Crypto Memory Index (SAM or CryptoMemory) of MAC key * SAM: MSByte: Key version / LSByte: KeyIdx * Crypto Memory: MSByte: Page (0..15) / LSByte: KeyIdx (0x80-0xBF) |
[in] | DivData | Key diversification according to NXP AN10922. |
[in] | DivData_len | |
[in] | EncKey | VC encryption key |
[in] | EncKey_len | |
[in] | MacKey | VC MAC key |
[in] | MacKey_len | |
[out] | FciType | 0: raw data 1: uid_len(1) and card type(1) 2: uid_len(1), card type(1) and memory size(1) |
[out] | Fci | File control information |
[out] | Fci_len | |
[in] | mempool | is used to store response data. Maybe NULL to use an internal mempool, in this case the data is only available until another command uses the internal mempool |