C API for BALTECH SDK

§ brp_Mif_AuthUserExtended()

brp_errcode brp_Mif_AuthUserExtended ( brp_protocol  protocol,
unsigned  AuthLevel,
unsigned  EV1Mode,
unsigned  KeyB,
unsigned  Block,
brp_buf  Key,
size_t  Key_len 
)

This command is identical to the Mif.AuthUser command with the exception that it supports stronger authentication methods (MIFARE and AES), supported by MIFARE Pro cards.

Parameters
[in]protocolused to execute the command
[in]AuthLevelDesired authentication level * 0: AES SL1 authentication * 1: AES SL2 authentication * 2: AES SL3 authentication * 3: MIFARE authentication
[in]EV1ModeSwitches to EV1 secure messaging. (Only supported by MFP EV1 cards)
[in]KeyBKey B is used when this flag is set, whereas Key A is used when this flag is cleared.
[in]BlockBlock/Key address of MIFARE Pro card.
[in]KeyKey to use for authentication.
[in]Key_len