IBM 2 Computer Hardware User Manual


 
Encrypted_PIN_Generate CCA Release 2.54
PIN_profile
The PIN_profile parameter is a pointer to a string variable containing the PIN
profile including the PIN-block format. See “PIN Profile” on page 8-10.
PAN_data
The PAN_data parameter is a pointer to a string variable containing 12 digits of
Personal Account Number (PAN) data. The verb uses this parameter if the PIN
profile specifies ISO-0 for the PIN-block format. Otherwise, ensure that this
parameter is a pointer to a four-byte variable in application storage. The
information in this variable is ignored, but this variable must be declared.
Note: When using the ISO-0 keyword, use the 12 rightmost digits of the PAN
data, excluding the check digit.
sequence_number
The sequence_number parameter is a pointer to a string variable containing the
sequence number used by certain PIN-block formats. Ensure that this
parameter is a pointer to a four-byte variable in application storage.
encrypted_PIN_block
The encrypted_PIN_block parameter is a pointer to a string variable containing
the encrypted PIN-block returned by the verb.
Required Commands
The Encrypted_PIN_Generate verb requires the following commands to be enabled
in the cryptographic engine based on the keyword specified for the PIN-calculation
methods.
PIN-Calculation Method Command Offset Command
IBM-PIN X'00B0' Generate Formatted and
Encrypted 3624 PIN
GBP-PIN X'00B1' Generate Formatted and
Encrypted German Bank Pool
PIN
INBK-PIN X'00B2' Generate Formatted and
Encrypted Interbank PIN
8-36 IBM 4758 CCA Basic Services, Release 2.54, February 2005