IBM 2 Computer Hardware User Manual


 
CCA Release 2.54
ISO-0 PIN-Block Format
An ISO-0 PIN-block format is equivalent to the ANSI X9.8, VISA-1, and ECI-1
PIN-block formats. The ISO-0 PIN-block format supports a PIN from 4 to 12 digits
in length. A PIN that is longer than 12 digits is truncated on the right.
The following are the formats of the intermediate PIN-block, the PAN block, and the
ISO-0 PIN-block:
1 2 3 4 5 6 7 8 9 1 11 12 13 14 15 16
┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
│  │ L │ P │ P │ P │ P │P/F│P/F│P/F│P/F│P/F│P/F│P/F│P/F│ F │ F │
└───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┘
Intermediate PIN-Block = IPB
┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
│  │  │  │  │PAN│PAN│PAN│PAN│PAN│PAN│PAN│PAN│PAN│PAN│PAN│PAN│
└───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┘
PAN Block
┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
│P│P│P/F│P/F│P/F│P/F│P/F│P/F│P/F│P/F│F│F│
│  │ L │ P │ P │XOR│XOR│XOR│XOR│XOR│XOR│XOR│XOR│XOR│XOR│XOR│XOR│
│ │ │ │ │PAN│PAN│PAN│PAN│PAN│PAN│PAN│PAN│PAN│PAN│PAN│PAN│
└───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┘
PIN Block = IPB XOR PAN Block
Figure E-3. ISO-0 PIN-Block Format
where:
0 Is the value X'0'.
L Is the length of the PIN, which is a 4-bit value from X'4' to X'C'.
P Is a PIN digit, which is a 4-bit value from X'0' to X'9'. The values of
the PIN digits are independent.
P/F Is a PIN digit or pad value. A PIN digit has a 4-bit value from
X'0' to X'9'. A pad value has a 4-bit value of X'F'. The number of
pad values in the intermediate PIN block (IPB) is from 2 to 10.
F Is the value X'F' for the pad value.
PAN Is twelve 4-bit digits that represent one of the following:
The rightmost 12 digits of the primary account-number (excluding
the check digit) if the format of the PIN block is ISO-0, ANSI X9.8,
VISA-1, or ECI-1
Each PAN digit has a value from X'0' to X'9'.
The PIN block is the result of exclusive-ORing the 64-bit IPB with the 64-bit PAN
block.
Example:
L= 6, PIN = 123456, Personal Account Number = 111222333444555
6123456FFFFFFFF : IPB
222333444555 : PAN block for ISO- (ANSI X9.8, VISA-1, ECI-1) format
6121675CCBBBAAA : PIN block for ISO- (ANSI X9.8, VISA-1, ECI-1) format.
E-10 IBM 4758 CCA Basic Services, Release 2.54, February 2005