User's Manual

Table Of Contents
SDI011 REFERENCE MANUAL 40
6.2.4. STORAGE_CARD_CMDS_AUTHENTICATE
6.2.4.1. Description
This command enables to perform authentication for user tokens based on MIFARE Classic 1K
or 4K. Before this command can be successfully executed, the
STORAGE_CARD_CMDS_LOAD_KEY command must have been executed.
6.2.4.2. Format
CLA
INS
P1
P2
Lc
Data in
0xFF
0x86
0x00
0x00
0x05
Data
Where the data field is structured as follow
Byte #
Value
Description
B0
0x01
Version
B1
Address MSB
B2
Address LSB
B3
0x60
Key A
0x61
Key B
B4
Number of the key to be used for authentication
Information about memory structure of MIFARE Classic must be requested from NXP
Semiconductors.
6.2.4.3. Response
Data Out
SW1 + SW2
6.2.4.4. Status Words
SW1
SW2
Description
0x90
0x00
NO ERROR
0x63
0x00
WARNING no further info
0x69
0x82
Security status not satisfied
0x84
Referenced key not usable
0x86
Key type not known