CNO: length of field is 1 byte, can evaluate from 0x01~0x03, which can be used to
input component’s serial number of Master KEY/authentication KEY/fixed
KEY/DUKPT initial KEY. It respective denote the enter component’s first part,
second part and the third part. When PINPAD receive the 0x01 of CNO, it will
clean the old KEY component and re-start to save the new KEY component; the
command of enter component must make the CNO follow the order of 0x01,
0x02, 0x03, if the order is wrong, the PINPAD will clean the saved KEY
component. When the three KEY components have been entered follow the order,
PINPAD component will use the way of every bytes exclusive to buildup the
final KEY to save in the corresponding KEY zone.
Authcode (8 bytes): Using the authentication Code is calculated by subdirectory’s
authentication KEY. When Mode=0x83 is the subdirectory’s authentication KEY,
Authcode is not exist
Calculate method of authentication Code: using “random access command”, read the
RandomData of KEYPINPAD, using order data content (Data field divide
AuthCode field), random number, UID, filled 0x00 data to buildup the IData in
order taxis
See fig
:
Data field divide
AuthCode field
Random number(8 bits)
UID(16Bytes)
Filling 0x00(option)
IDATA(8n Bytes)
Divide IDATA into 8 bits groups, called IDATA
1
、
IDATA
2
、
IDATA
3
……IDATA,
representing groups of data block. ODATA
n
means a temporary data block; K
L
、
K
R
means the 8 bits to the left side of the authentication key and to the right side of the
authentication key; En(K) and De(K) represent DES encryption and description; Xor
means xor each bit; so the calculation for authentication code is described as the
following table.
Summary of Contents for NL-PP60
Page 1: ......