EasyManua.ls Logo

Identiv uTrust 4711F - Papdu_Mifare_Authenticate

Identiv uTrust 4711F
92 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Document Version 1.2
Last revised on
2017-09-26
Page 32 of 92
Reference Manual for uTrust 4701F and uTrust 4711F Readers
Examples
Load Keys Card Non-Secure
The command to load Mifare key A FF FFFFFFFFFF” is
FF82006006 FFFFFFFFFFFF
Load Keys Card Secure:
If the default AES128 reader is key is 00010203 05060708 0A0B0C0D 0F101112 then the
following explains the steps needed to calculate the key for secure mode.
Default reader key : 00010203 05060708 0A0B0C0D 0F101112
Mifare Key to be loaded : FFFFFFFF FFFF
Mifare key after padding : FFFFFFFF FFFF0A0A 0A0A0A0A 0A0A0A0A
AES128 Encrypted : 10229E33 189403FD A9C14110 B1BB02B4
Load keys command : FF82406010 10229E33 189403FD A9C14110 B1BB02B4
Load Keys Reader Secure
If the default AES128 reader is key is 00010203 05060708 0A0B0C0D 0F101112 then the
following explains the steps needed to change the reader key to 10111213 15161718 1A1B1C1D
1F202122.
Reader old-key : A: 00010203 05060708 0A0B0C0D 0F101112
Reader new-key : B: 10111213 15161718 1A1B1C1D 1F202122
C = XOR (A,B) : C: 10101010 10101010 10101010 10303030
D = CRC16(C) : D: 1C5F
E = 0x00 - D : E: E3A1 (should be appended in LSB order)
F = AES-Encrypt (C) : F: 886B0872 7BDA4996 D296FB46 09D2C75F
Load-Keys Command : G: FF82E00012 886B0872 7BDA4996 D296FB46 09D2C75F A1E3
6.2.4. PAPDU_MIFARE_AUTHENTICATE
This command is used to authenticate using the key number. Refer to section 3.2.2.1.6 of [PCSC3] for
further details.
Command APDU:
Command
CLA
INS
P1
P2
Lc
Data
Le
General Authenticate
0xFF
0x86
0x00
0x00
0x05
data
xx
The data structure is defined as follows:
Byte #
Value
Description
B0
0x01
Version
B1
Block Number MSB (always 0x00 for Mifare
Classic cards)
B2
Block Number LSB
B3
0x60
Mifare Classic Key A
0x61
Mifare Classic Key B
B4
Key number shall be set to 0x01
Response APDU:
Data
Status Word
-
SW1, SW2

Table of Contents

Related product manuals