Home
last modified time | relevance | path

Searched refs:cipher_cfg (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/crypto/intel/ixp4xx/
H A Dixp4xx_crypto.c815 u32 cipher_cfg; in setup_cipher() local
825 cipher_cfg = cipher_cfg_enc(tfm); in setup_cipher()
828 cipher_cfg = cipher_cfg_dec(tfm); in setup_cipher()
830 if (cipher_cfg & MOD_AES) { in setup_cipher()
844 cipher_cfg |= keylen_cfg; in setup_cipher()
851 *(__be32 *)cinfo = cpu_to_be32(cipher_cfg); in setup_cipher()
852 cinfo += sizeof(cipher_cfg); in setup_cipher()
857 if (key_len < DES3_EDE_KEY_SIZE && !(cipher_cfg & MOD_AES)) { in setup_cipher()
861 dir->npe_ctx_idx = sizeof(cipher_cfg) + key_len; in setup_cipher()
863 if ((cipher_cfg & MOD_AES) && !encrypt) in setup_cipher()