Determining if a card is a CEX4C, CEX5C, CEX6C, CEX7C, or CEX8C

Using the Cryptographic Facility Query, the output rule_array for option STATCCA is the most accurate way to determine the cryptographic coprocessor type.

An updated device driver might not be available yet for all distributions where the current RPM is usable. The CCA host library uses this mechanism to determine card version, and we recommend that the application developer also use this method. Where this Cryptographic Facility Query output from the rule_array for option STATCCA and the device driver disagree about the version of a particular card, it is the device driver that will be out of date because the Cryptographic Facility Query data is not interpreted in any way. It comes directly from the adapter.

  • If first character of the CCA application version field is the number 4, then this card is a CEX3C or CEX4C.
  • If the first character of the CCA application version field is the number 5, then this card is a CEX5C.
  • If the first character of the CCA application version field is the number 6, then this card is a CEX6C.
  • If the first character of the CCA application version field is the number 7, then this card is a CEX7C.
  • If the first character of the CCA application version field is the number 8, then this card is a CEX8C.

The commands ivp.e and panel.exe -x also tell you the cryptographic coprocessor type, by calling the Cryptographic Facility Query verb for all available adapters.

For details about panel.exe, see The panel.exe utility.