System:
I am using an i.MX 6 Quad with Linux 5.10.190.
The CAAM has been enabled with the following config:
:/#zcat /proc/config.gz | grep CAAM
CONFIG_CRYPTO_DEV_FSL_CAAM_COMMON=y
CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API_DESC=y
CONFIG_CRYPTO_DEV_FSL_CAAM_AHASH_API_DESC=y
CONFIG_CRYPTO_DEV_FSL_CAAM=y
# CONFIG_CRYPTO_DEV_FSL_CAAM_DEBUG is not set
CONFIG_CRYPTO_DEV_FSL_CAAM_JR=y
CONFIG_CRYPTO_DEV_FSL_CAAM_RINGSIZE=9
# CONFIG_CRYPTO_DEV_FSL_CAAM_INTC is not set
CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API=y
CONFIG_CRYPTO_DEV_FSL_CAAM_AHASH_API=y
CONFIG_CRYPTO_DEV_FSL_CAAM_PKC_API=y
CONFIG_CRYPTO_DEV_FSL_CAAM_RNG_API=y
Problem:
I have read AN12554 and am trying to follow the instructions in AN12714.
Even with the config I showed above,
cat /proc/crypto | grep -B1 -A2 tk
does not return anything.
When calling
:/# find -name "caam-keygen"
I don't get anything back as well.
Question:
How do I make it so that the /dev/caam-keygen appears and that the cryptographic algorithms get supported? Is dm-crypt a necessity for the caam-keygen to work?