7.6.5.6.2 Key Code Format

The key code includes a 128-bit header carrying a unique value and the context provided during the wrap or Wrap Generated Random operation, a payload and a 32-bit checksum checked for transfer errors.

The header (big-endian format) is 0x37 followed by word 0 to 3 of the provided context (See Context Specification for Key Operations).

The length of the key code for the accepted key length is provided in the following table.

Table 7-13. Key Code Length Versus Key Length
Key Length (bits)Key Code Length (bytes)
6460
12868
19276
25684
32092
384100
448124
512132
576140
640148
704156
768164
832188
896196
960204
1024212
2048388
3072548
4096724