![]() |
BALTECH Docs |
C API for BALTECH SDK
|
| brp_errcode brp_Ultralight_AuthE2 | ( | brp_protocol | protocol, |
| brp_Ultralight_AuthE2_DivMode | DivMode, | ||
| bool | HasExtIdx, | ||
| unsigned | KeyIdx, | ||
| brp_buf | DivData, | ||
| size_t | DivData_len, | ||
| unsigned | KeyExtIdx | ||
| ) |
Authenticates to a Ultralight-c card.
The key used for authentication is specified in the Device / CryptoKey key of the reader's configuration. Key has to be of type 3DES (16 bytes).
| [in] | protocol | used to execute the command |
| [in] | DivMode | Specifies diversification algorithm. |
| [in] | HasExtIdx | |
| [in] | KeyIdx | Index |
| [in] | DivData | Diversification data. |
| [in] | DivData_len | |
| [in] | KeyExtIdx | Crypto memory index (SAM or crypto memory) of authentication key * SAM: key version (0..0xFF) * Crypto memory: page (0..15) |