IBM 2 Computer Hardware User Manual


 
CCA Release 2.54
External DES Key-Token
CCA implementations generally use a version X'00' external key-token. See
Figure B-4. The IBM 4758 Version 2 CCA Support Program also uses a version
X'01' external key-token to hold a double-length DATA key that is associated with
a null (all-zero bits) control vector. See Figure B-5.
Figure B-4. External DES Key-Token Format, Version X'00'
Offset Length Meaning
00 1 X'02' (a flag that indicates an external key-token)
01 3 Reserved, binary zero
04 1 The version number (X'00')
05 1 Reserved, binary zero
06 1 Flag byte 1; for more information, see Figure B-6 on page B-6
07 1 Flag byte 2; for more information, see Figure B-7 on page B-6
Reserved, generally X'00', except X'02' will be tolerated.
08-15 8 Reserved, binary zero
16-23 8 The single-length key or the left half of a double-length key
24-31 8 Null, or the right half of a double-length key
32-39 8 The control-vector base
40-47 8 Null, or the control vector base for the right half of a double-length key
48-59 12 Reserved, binary zero
60-63 4 The token-validation value
Figure B-5. External DES Key-Token Format, Version X'01'
Offset Length Meaning
00 1 X'02' (a flag that indicates an external key-token)
01 3 Reserved, binary zero
04 1 The version number (X'01')
05 1 Reserved, binary zero
06 1 Flag byte 1; for more information, see Figure B-6 on page B-6
07 1 Reserved, binary zero
08-15 8 Reserved, binary zero
16-23 8 The left half of a double-length key
24-31 8 The right half of a double-length key
32-47 16 Null control vector, binary zero
48-58 11 Reserved, binary zero
59 1 Key length flag, double, X'10'
60-63 4 The token-validation value
Appendix B. Data Structures B-5