Confirming hardware support for cryptographic operations

6.10 LPAR mode z/VM guest KVM guest

Read /proc/crypto to confirm that cryptographic operations are performed with hardware support.

Procedure

Read the driver lines from the content of /proc/crypto.
Example:
# cat /proc/crypto | grep driver
driver       : sha512-s390
driver       : sha224-s390
driver       : sha256-s390
driver       : sha3-512-s390
driver       : sha3-256-s390
driver       : sha1-s390
driver       : chacha20-s390
driver       : ghash-s390
...
driver       : crc32c-vx
driver       : crc32be-vx
driver       : crc32-vx
Lines that end in -s390 indicate hardware-acceleration for a corresponding cryptographic algorithm or mode. Lines that end in -vx indicate hardware-acceleration for CRC32 checksums.