payShield 10K Installation and User Guide
©Thales Group
Page 400
All Rights Reserved
Generate a MAC on an IPB (MI)
Variant
Key Block
Online
Offline
Secure
Authorization:
Required
Activity:
misc.console
Command:
MI
Function:
To generate a MAC on the Cryptogram component of a CAP IPB.
Authorization:
The HSM must be either in the Authorized State, or the activity
misc.console
must be authorized, using the Authorizing Officer cards of the relevant LMK.
Inputs:
•
LMK identifier: indicates the LMK to use when generating the MAC.
•
8 byte IPB represented as 16 hex ASCII characters.
Outputs:
•
4 byte MAC over the plaintext IPB input data.
Errors:
•
Invalid LMK identifier - no LMK loaded or entered identifier out of range.
•
Command only allowed from Authorized - the HSM is not authorized to
perform this operation.
•
IPB is not 8 bytes. Please re-enter - the validation of the IPB failed.
•
Warning: Less than 16 '1'bits in IPB - the IPB contains less than 16 '1' bits.
Example:
Online-AUTH>
MI
<Return>
Enter LMK id:
00
<Return>
Enter IPB:
FFFFFFFF00000000
<Return>
MAC: FB1A 3C1A
Online-AUTH>
Note:
The result of the "MI" command gives no indication as to the LMK scheme or LMK identifier used in the
command. When this value is used with other (host) commands, the user must ensure that the correct LMK
is specified in the command.