PCI Cryptographic coprocessor TKE

Table 1. Subtype 16 PCI Cryptographic Coprocessor TKE
Offsets Name Length Format Description
0 0 SMF82PFL 4 binary Flag bytes
Bit
Meaning When Set
0
Request command.
1
Reply response.
2-7
Reserved.
8
Always on.
9
Coprocessor is a PCIXCC. (This has been deprecated; see SMF82PAP.)
10
Coprocessor is a CEX2C. (This has been deprecated; see SMF82PAP.)
11
Coprocessor is a CEX3C. (This has been deprecated; see SMF82PAP.)
12
Coprocessor is a CEX4 or higher. (This has been deprecated; see SMF82PAP.)
13-29
Reserved
30
Coprocessor is configured for CCA.
31
Coprocessor is configured for PKCS #11.
4 4 SMF82PPN 1 binary Cryptographic Coprocessor number.
5 5 SMF82PSN 8 EBCDIC Cryptographic Coprocessor serial number.
13 D SMF82PDM 1 binary Cryptographic Coprocessor domain.
14 E SMF82PAP 1 binary Coprocessor type:
X'05'
Coprocessor is a PCIXCC.
X'07'
Coprocessor is a CEX2C.
X'09'
Coprocessor is a CEX3C.
X'0A'
Coprocessor is a CEX4C.
X'0B'
Coprocessor is a CEX5 or higher.
Note: For CEX4 and higher, bits 30 and 31 at offset 0 indicate whether the coprocessor is configured as a CCA or PKCS #11 coprocessor.
15 F   1   Reserved.
16 10 SMF82PBL 4 binary Parameter block length, "xxx".
20 14 SMF82PDL 4 binary Parameter data block length, "yyy".
24 18 SMF82PBK     Parameter block of length "xxx" followed by parameter data block of length "yyy".

Fixed length audit data – begins at offset 24 + xxx + yyy.

Table 2. Subtype 16 PCI Cryptographic Coprocessor TKE audit data
Offsets Name Length Format Description
0 0 SMF82P16   structure Fixed length audit data
0 0 SMF82PAL 4 binary Length of fixed audit data
4 4 SMF82PAD 4 binary PKCS #11 Admin request ID. All zeros if not applicable
8 8 SMF82PFI 2 binary Function ID
10 A SMF82PFR 4 binary
Function Return code
0
Success
4
Not authorized
8
Error
14 E SMF82PDE 256 EBCDIC Function description
270 10E SMF82PUS 20 binary Transaction Sequence Number (TSN) for commands or, for CCA coprocessor requests only, User ID Nonce (random number) for queries. All blanks if not applicable
290 122 SMP82PTA 8 EBCDIC TKE Authority for CCA coprocessor requests. Blanks for PKCS #11 coprocessor requests