Confirming your cryptographic devices

Use the lszcrypt command to display a list of available cryptographic devices and their online status.


CARD.DOMAIN TYPE  MODE        STATUS  REQUEST_CNT
-------------------------------------------------
04          CEX5C CCA-Coproc  online         2174
04.0013     CEX5C CCA-Coproc  online         2174
04.0014     CEX5C CCA-Coproc  offline           0
05          CEX5P EP11-Coproc online            0
05.0013     CEX5P EP11-Coproc online            0
05.0014     CEX5P EP11-Coproc online            0
0a          CEX6C CCA-Coproc  online        15420
0a.0013     CEX6C CCA-Coproc  online        15420
0a.0014     CEX6C CCA-Coproc  offline           0


In the example, you see one CEX5C device and one CEX6C device offline. All other devices are online.

You can use the chzcrypt command to set a cryptographic device online. For example, to set a cryptographic domain X'0014' on device X'0a' online, issue:
chzcrypt -e 0a.0014

For more details about the lszcrypt and chzcrypt commands, see the man pages. If your distribution does not include these commands, see the version of Device Drivers, Features, and Commands that applies to your distribution about how to use the sysfs interface to find out this information and to set devices online.