Home
last modified time | relevance | path

Searched refs:AES_KEYSIZE_256 (Results 1 – 25 of 56) sorted by relevance

123

/Linux-v6.6/include/crypto/
Daes.h16 #define AES_KEYSIZE_256 32 macro
42 case AES_KEYSIZE_256: in aes_check_keylen()
/Linux-v6.6/arch/arm64/crypto/
Daes-ce-glue.c90 key_len != AES_KEYSIZE_256) in ce_aes_expandkey()
112 } else if (key_len == AES_KEYSIZE_256) { in ce_aes_expandkey()
/Linux-v6.6/drivers/crypto/ccp/
Dccp-crypto-aes-xts.c93 case AES_KEYSIZE_256 * 2: in ccp_aes_xts_setkey()
145 (ctx->u.aes.key_len != AES_KEYSIZE_256)) in ccp_aes_xts_crypt()
Dccp-crypto-aes-galois.c41 case AES_KEYSIZE_256: in ccp_aes_gcm_setkey()
Dccp-crypto-aes.c51 case AES_KEYSIZE_256: in ccp_aes_setkey()
/Linux-v6.6/drivers/crypto/qce/
Dcommon.h21 #define QCE_MAX_CIPHER_KEY_SIZE AES_KEYSIZE_256
Dskcipher.c196 case AES_KEYSIZE_256: in qce_skcipher_setkey()
291 ((keylen != AES_KEYSIZE_128 && keylen != AES_KEYSIZE_256) || in qce_skcipher_crypt()
Dcommon.c114 else if (key_size == AES_KEYSIZE_256) in qce_auth_cfg()
240 else if (aes_key_size == AES_KEYSIZE_256) in qce_encr_cfg()
/Linux-v6.6/arch/powerpc/crypto/
Daes-spe-glue.c106 case AES_KEYSIZE_256: in ppc_aes_setkey()
148 case AES_KEYSIZE_256: in ppc_xts_setkey()
151 ppc_expand_key_256(ctx->key_twk, in_key + AES_KEYSIZE_256); in ppc_xts_setkey()
/Linux-v6.6/drivers/crypto/nx/
Dnx-aes-ecb.c39 case AES_KEYSIZE_256: in ecb_aes_nx_set_key()
Dnx-aes-cbc.c39 case AES_KEYSIZE_256: in cbc_aes_nx_set_key()
Dnx-aes-ctr.c40 case AES_KEYSIZE_256: in ctr_aes_nx_set_key()
/Linux-v6.6/drivers/crypto/
Dgeode-aes.c122 if (len != AES_KEYSIZE_192 && len != AES_KEYSIZE_256) in geode_setkey_cip()
148 if (len != AES_KEYSIZE_192 && len != AES_KEYSIZE_256) in geode_setkey_skcipher()
Dsa2ul.h313 u32 key[AES_KEYSIZE_256 / sizeof(u32)];
Domap-aes.h96 u32 key[AES_KEYSIZE_256 / sizeof(u32)];
/Linux-v6.6/drivers/crypto/hisilicon/sec/
Dsec_algs.c265 case AES_KEYSIZE_256: in sec_alg_skcipher_setkey_aes_ecb()
287 case AES_KEYSIZE_256: in sec_alg_skcipher_setkey_aes_cbc()
309 case AES_KEYSIZE_256: in sec_alg_skcipher_setkey_aes_ctr()
333 case AES_KEYSIZE_256 * 2: in sec_alg_skcipher_setkey_aes_xts()
/Linux-v6.6/drivers/crypto/starfive/
Djh7110-aes.c196 if (ctx->keylen >= AES_KEYSIZE_256) { in starfive_aes_write_key()
257 case AES_KEYSIZE_256: in starfive_aes_hw_init()
708 keylen != AES_KEYSIZE_256) in starfive_aes_setkey()
727 keylen != AES_KEYSIZE_256) in starfive_aes_aead_setkey()
/Linux-v6.6/drivers/crypto/marvell/octeontx/
Dotx_cptvf_algs.c412 case 2 * AES_KEYSIZE_256: in otx_cpt_skcipher_xts_setkey()
450 case AES_KEYSIZE_256: in cpt_aes_setkey()
876 case AES_KEYSIZE_256: in otx_cpt_aead_cbc_aes_sha_setkey()
951 case AES_KEYSIZE_256 + AES_GCM_SALT_SIZE: in otx_cpt_aead_gcm_aes_setkey()
953 ctx->enc_key_len = AES_KEYSIZE_256; in otx_cpt_aead_gcm_aes_setkey()
/Linux-v6.6/drivers/crypto/marvell/octeontx2/
Dotx2_cptvf_algs.c430 case 2 * AES_KEYSIZE_256: in otx2_cpt_skcipher_xts_setkey()
468 case AES_KEYSIZE_256: in cpt_aes_setkey()
930 case AES_KEYSIZE_256: in otx2_cpt_aead_cbc_aes_sha_setkey()
998 case AES_KEYSIZE_256 + AES_GCM_SALT_SIZE: in otx2_cpt_aead_gcm_aes_setkey()
1000 ctx->enc_key_len = AES_KEYSIZE_256; in otx2_cpt_aead_gcm_aes_setkey()
/Linux-v6.6/drivers/crypto/rockchip/
Drk3288_crypto_skcipher.c115 keylen != AES_KEYSIZE_256) in rk_aes_setkey()
276 else if (ctx->keylen == AES_KEYSIZE_256) in rk_cipher_hw_init()
/Linux-v6.6/lib/crypto/
Daes.c215 } else if (key_len == AES_KEYSIZE_256) { in aes_expandkey()
/Linux-v6.6/arch/arm/crypto/
Daes-ce-glue.c85 key_len != AES_KEYSIZE_256) in ce_aes_expandkey()
108 } else if (key_len == AES_KEYSIZE_256) { in ce_aes_expandkey()
/Linux-v6.6/drivers/crypto/cavium/nitrox/
Dnitrox_req.h545 case AES_KEYSIZE_256: in flexi_aes_keylen()
/Linux-v6.6/drivers/crypto/xilinx/
Dzynqmp-aes-gcm.c23 #define ZYNQMP_AES_KEY_SIZE AES_KEYSIZE_256
/Linux-v6.6/drivers/crypto/stm32/
Dstm32-cryp.c163 __be32 key[AES_KEYSIZE_256 / sizeof(u32)];
722 case AES_KEYSIZE_256: in stm32_cryp_hw_init()
890 keylen != AES_KEYSIZE_256) in stm32_cryp_aes_setkey()
916 keylen != AES_KEYSIZE_256) in stm32_cryp_aes_aead_setkey()

123