BALTECH SDK wrapper functions reference

§ brp_Ultralight_AuthE2()

brp_errcode brp_Ultralight_AuthE2 ( brp_Ultralight_AuthE2_t  params)

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).

Parameters
[in]paramsStruct with the following fields:
  • protocol used to execute the command
  • DivMode (in) Specifies diversification algorithm.
  • HasExtIdx (in)
  • KeyIdx (in) Index
  • DivData (in) Diversification data.
  • DivData_len (in) Length of DivData (in bytes).
  • KeyExtIdx (in) Crypto memory index (SAM or crypto memory) of authentication key * SAM: key version (0..0xFF) * Crypto memory: page (0..15)