Searched refs:AES_KEYSIZE_256 (Results 1 – 25 of 58) sorted by relevance
123
16 #define AES_KEYSIZE_256 32 macro42 case AES_KEYSIZE_256: in aes_check_keylen()
90 key_len != AES_KEYSIZE_256) in ce_aes_expandkey()112 } else if (key_len == AES_KEYSIZE_256) { in ce_aes_expandkey()
93 case AES_KEYSIZE_256 * 2: in ccp_aes_xts_setkey()145 (ctx->u.aes.key_len != AES_KEYSIZE_256)) in ccp_aes_xts_crypt()
41 case AES_KEYSIZE_256: in ccp_aes_gcm_setkey()
51 case AES_KEYSIZE_256: in ccp_aes_setkey()
21 #define QCE_MAX_CIPHER_KEY_SIZE AES_KEYSIZE_256
196 case AES_KEYSIZE_256: in qce_skcipher_setkey()291 ((keylen != AES_KEYSIZE_128 && keylen != AES_KEYSIZE_256) || in qce_skcipher_crypt()
114 else if (key_size == AES_KEYSIZE_256) in qce_auth_cfg()240 else if (aes_key_size == AES_KEYSIZE_256) in qce_encr_cfg()
106 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()
39 case AES_KEYSIZE_256: in ecb_aes_nx_set_key()
39 case AES_KEYSIZE_256: in cbc_aes_nx_set_key()
40 case AES_KEYSIZE_256: in ctr_aes_nx_set_key()
122 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()
313 u32 key[AES_KEYSIZE_256 / sizeof(u32)];
96 u32 key[AES_KEYSIZE_256 / sizeof(u32)];
265 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()
186 if (ctx->keylen >= AES_KEYSIZE_256) { in starfive_aes_write_key()247 case AES_KEYSIZE_256: in starfive_aes_hw_init()864 keylen != AES_KEYSIZE_256) in starfive_aes_setkey()883 keylen != AES_KEYSIZE_256) in starfive_aes_aead_setkey()
413 case 2 * AES_KEYSIZE_256: in otx_cpt_skcipher_xts_setkey()451 case AES_KEYSIZE_256: in cpt_aes_setkey()782 case AES_KEYSIZE_256: in aead_hmac_init()870 case AES_KEYSIZE_256 + AES_GCM_SALT_SIZE: in otx_cpt_aead_gcm_aes_setkey()872 ctx->enc_key_len = AES_KEYSIZE_256; in otx_cpt_aead_gcm_aes_setkey()
435 case 2 * AES_KEYSIZE_256: in otx2_cpt_skcipher_xts_setkey()473 case AES_KEYSIZE_256: in cpt_aes_setkey()871 case AES_KEYSIZE_256: in aead_hmac_init()952 case AES_KEYSIZE_256 + AES_GCM_SALT_SIZE: in otx2_cpt_aead_gcm_aes_setkey()954 ctx->enc_key_len = AES_KEYSIZE_256; in otx2_cpt_aead_gcm_aes_setkey()
115 keylen != AES_KEYSIZE_256) in rk_aes_setkey()276 else if (ctx->keylen == AES_KEYSIZE_256) in rk_cipher_hw_init()
215 } else if (key_len == AES_KEYSIZE_256) { in aes_expandkey()
85 key_len != AES_KEYSIZE_256) in ce_aes_expandkey()108 } else if (key_len == AES_KEYSIZE_256) { in ce_aes_expandkey()
562 case AES_KEYSIZE_256: in aspeed_aes_crypt()584 keylen != AES_KEYSIZE_256) in aspeed_aes_setkey()
23 #define ZYNQMP_AES_KEY_SIZE AES_KEYSIZE_256
545 case AES_KEYSIZE_256: in flexi_aes_keylen()