Searched refs:cipher_cfg (Results 1 – 1 of 1) sorted by relevance
724 u32 cipher_cfg; in setup_cipher() local734 cipher_cfg = cipher_cfg_enc(tfm); in setup_cipher()737 cipher_cfg = cipher_cfg_dec(tfm); in setup_cipher()739 if (cipher_cfg & MOD_AES) { in setup_cipher()748 cipher_cfg |= keylen_cfg; in setup_cipher()749 } else if (cipher_cfg & MOD_3DES) { in setup_cipher()764 *(u32*)cinfo = cpu_to_be32(cipher_cfg); in setup_cipher()765 cinfo += sizeof(cipher_cfg); in setup_cipher()770 if (key_len < DES3_EDE_KEY_SIZE && !(cipher_cfg & MOD_AES)) { in setup_cipher()774 dir->npe_ctx_idx = sizeof(cipher_cfg) + key_len; in setup_cipher()[all …]