IPP MS AND DUKPT COMMUNICATIONS PACKETS
MS-Specific Packets
M
X
800 SERIES PROGRAMMERS GUIDE 317
Packet 04: Check
Master Key
The master device sends this packet to check if the IPP has a master key stored
at a designated master key address. To avoid an overwrite, this packet must be
sent before sending packet 02 to check that a valid master key is already stored in
the designated address.
MS Packet 04 Length:
• MAX: 6 characters
• MIN: 6 characters
Table 56 Packet 02 GISKE Key Block Format Communication Protocol
Master Device
Transmit
Direction
IPP
<SI>02[r][hhh.hhh]<SO>{LRC}
• ACK if LRC
• NAK if LRC incorrect
• EOT after 3 NAKs
<SI>02[n]<SO>{LRC}
• ACK if LRC, no errors, and key
echo okay
• NAK if LRC incorrect
• EOT after 3 NAKs
• EOT if LRC correct, but key echo
incorrect
• IPP saves new key only on
receipt of ACK
• EOT terminates session
Table 57 MS Packet 04 Format
Data Element Characteristic Comments
<SI> 1H Shift In, Value: 0Fh
Packet Type 2AN Value: 04
[a] 1N Master Key address: 0–9
KLK: F
<SO> 1H Shift Out, Value: 0Eh
{LRC} 1H Error Check