SCR331-DI Product Technical Manual
4.5.7.1.3 ISO7816_VERIFY
Description
This APDU is an authentication command for Mifare 1K and 4K cards. All Mifare cards except Mifare
Ultra light support 3-Pass Authentication. Authentication for Mifare cards need 48 bit Mifare card Key.
This 6 byte key value is needed for 3-Pass authentication. This command writes Authentication key in
to Mifare EEPROM and check and enable 3-Pass authentication every time during transaction.
Format
Command
CLA
INS
P1
P2
P3
Data
ISO7816_VERIFY
0xFC
0x20
AUTH_KEY
RFU Key Length Lc bytes
Explanation of the Parameters
Field
Value
Meaning
P1 AUTH_KEY
(0x60/0x61/0xFF)
Mifare Type A memory cards support AUTH_A (0x60), AUTH_B (0x61), and
0xFF key values for three-pass authentication.
P3
Key length (0x06) This parameter contains 48 bit key value
Data
Key value
48 bit key
Response
Data
None
Status Words
SW1
SW2
Description
90 00
On success, NO ERROR, else error code is returned, see status words table
Example
Authenticate Type A Mifare card with AUTH_A Key 0xFFFFFFFFFFFF
CLA
INS
P1
P2
P3
Data
0xFC
0x20
0x60
0x00
0x06
0xFFFFFFFFFFFF
IND.SCR331-DI.MANUAL.VER.1.8
VER1.8
Page 21 of 36