Initialize_authentication, Verify_authentication – ACS ACR33U-A1 SmartDuo Smart Card Reader User Manual
Page 34

ACR33U-A1 – Reference Manual
Version 1.02
www.acs.com.hk
Page 34 of 60
P2 =
0000
00rp
b
where the two bits “rp” indicate the password to compare
r = 0: Write password,
r = 1: Read password,
p = Password set number,
rp = 01 for the secure code
Response data format (abData field in the RDR_to_PC_DataBlock)
SW1
SW2
ErrorCnt
90h
Where:
SW1
= 90h
SW2 (ErrorCnt) = Error Counter. FFh indicates the verification is correct. 00h indicates the
password is locked (exceeded the maximum number of retries). Other
values indicate the current verification has failed.
8.3.3.5. INITIALIZE_AUTHENTICATION
Command format (abData field in the PC_to_RDR_XfrBlock)
Pseudo-APDU
CLA INS P1 P2 Lc Q(0) Q(1) … Q(7)
FFh 84h 00h 00h 08h
Where:
Q(0),Q(1)…Q(7): Host random number, 8 bytes
Response data format (abData field in the RDR_to_PC_DataBlock)
SW1 SW2
Where:
SW1, SW2 = 90 00h if no error
8.3.3.6. VERIFY_AUTHENTICATION
Command format (abData field in the PC_to_RDR_XfrBlock)
Pseudo-APDU
CLA INS P1 P2 Lc Ch(0) Ch(1) … Ch(7)
FFh 82h 00h 00h 08h