BALTECH SDK wrapper functions reference

§ brp_Mif_AuthE2()

brp_errcode brp_Mif_AuthE2 ( brp_Mif_AuthE2_t  params)

This command authenticates a certain sector of a card using a key from the secure EEPROM of the Baltech reader chip.

Depending on the value of the AuthMode variable, either key A or key B of the sector specified by the Block variable will be compared to the key specified in KeyIdx.

It is only possible to authenticate one sector at a time.

Parameters
[in]paramsStruct with the following fields:
  • protocol used to execute the command
  • AuthMode (in) Authentication Mode.
  • Block (in) Block to authenticate.
  • KeyIdx (in) Index of key in EEPROM which shall be used for authentication (range: 0 to 31).