A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r
VERIFTY_PASSWORD
Command format
Header
Instruction
Data length
Data
LEN
CLA
INS
P1
P2
Lc
Data
01
H
A0
H
00
H
09
H
FF
H
20
H
00
H
00
H
04
H
RP
Pw(0)
Pw(1)
Pw(2)
Pw(0),Pw(1),Pw(2)
Passwords to be sent to memory card.
RP
= 0000 rp
2
p
1
p
0
b
where the four bits “rp
2
p
1
p
0
” indicate the password to compare:
r = 0: Write password,
r = 1: Read password,
p
2
p
1
p
0
: Password set number.
(rp
2
p
1
p
0
= 0111 for the secure code).
Response data format
Header
Status
Data length
ErrorCnt
SW1
SW2
LEN
01
H
00
H
03
H
ErrorCnt
= Error Counter, FF
H
if the verification is correct
SW1, SW2
= 90
H
00
H
if no error
INITIALIZE_AUTHENTICATION
Command format
Header
Instruction
Data length
Data
LEN
CLA
INS
P1
P2
Lc
Q(0)
Q(1)
…
Q(7)
01
H
A0
H
00
H
0D
H
FF
H
84
H
00
H
00
H
08
H
Byte Address
Memory address location of the memory card.
Q(0),Q(1)…Q(7)
Host random number, 8 bytes.
Response data format
Header
Status
Data length
SW1
SW2
LEN
01
H
SW1, SW2
= 90
H
00
H
if no error
ACR38 Reference Manual
Version 2.2 January 2008
Page
27
of 44