| /linux/drivers/crypto/xilinx/ |
| H A D | zynqmp-aes-gcm.c | 450 if (keylen == AES_KEYSIZE_256) { in zynqmp_aes_aead_setkey() 453 AES_KEYSIZE_256, in zynqmp_aes_aead_setkey() 520 if (keylen == AES_KEYSIZE_256 || keylen == AES_KEYSIZE_128) { in versal_aes_aead_setkey() 524 AES_KEYSIZE_256, in versal_aes_aead_setkey() 735 tfm_ctx->key = kmalloc(AES_KEYSIZE_256, GFP_KERNEL); in xilinx_aes_aead_init() 741 AES_KEYSIZE_256, in xilinx_aes_aead_init() 769 dma_unmap_single(tfm_ctx->dev, tfm_ctx->key_dma_addr, AES_KEYSIZE_256, DMA_TO_DEVICE); in xilinx_aes_aead_exit()
|
| /linux/drivers/crypto/ti/ |
| H A D | dthev2-aes.c | 132 if (keylen != AES_KEYSIZE_128 && keylen != AES_KEYSIZE_192 && keylen != AES_KEYSIZE_256) in dthe_aes_setkey() 165 keylen != 2 * AES_KEYSIZE_256) in dthe_aes_xts_setkey() 197 if (ctx->keylen == AES_KEYSIZE_256) { in dthe_aes_set_ctrl_key() 214 if (ctx->keylen == AES_KEYSIZE_256) { in dthe_aes_set_ctrl_key()
|
| /linux/arch/powerpc/crypto/ |
| H A D | aes-spe-glue.c | 82 case AES_KEYSIZE_256: in ppc_aes_setkey_skcipher() 118 case AES_KEYSIZE_256: in ppc_xts_setkey() 121 ppc_expand_key_256(ctx->key_twk, in_key + AES_KEYSIZE_256); in ppc_xts_setkey()
|
| /linux/drivers/crypto/ccp/ |
| H A D | ccp-crypto-aes-xts.c | 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()
|
| H A D | ccp-crypto-aes-galois.c | 41 case AES_KEYSIZE_256: in ccp_aes_gcm_setkey()
|
| /linux/include/crypto/ |
| H A D | aes.h | 16 #define AES_KEYSIZE_256 32 macro 136 case AES_KEYSIZE_256: in aes_check_keylen()
|
| /linux/lib/crypto/x86/ |
| H A D | aes.h | 15 const u8 in_key[AES_KEYSIZE_256]);
|
| /linux/lib/crypto/s390/ |
| H A D | aes.h | 36 memcpy(k->raw_key, in_key, AES_KEYSIZE_256); in aes_preparekey_arch()
|
| /linux/drivers/crypto/qce/ |
| H A D | common.h | 21 #define QCE_MAX_CIPHER_KEY_SIZE AES_KEYSIZE_256
|
| H A D | skcipher.c | 196 case AES_KEYSIZE_256: in qce_skcipher_setkey() 291 ((keylen != AES_KEYSIZE_128 && keylen != AES_KEYSIZE_256) || in qce_skcipher_crypt()
|
| H A D | common.c | 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()
|
| /linux/drivers/crypto/nx/ |
| H A D | nx-aes-ecb.c | 41 case AES_KEYSIZE_256: in ecb_aes_nx_set_key()
|
| H A D | nx-aes-cbc.c | 41 case AES_KEYSIZE_256: in cbc_aes_nx_set_key()
|
| H A D | nx-aes-ctr.c | 42 case AES_KEYSIZE_256: in ctr_aes_nx_set_key()
|
| /linux/drivers/crypto/ |
| H A D | geode-aes.c | 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()
|
| H A D | sa2ul.h | 313 u32 key[AES_KEYSIZE_256 / sizeof(u32)];
|
| H A D | omap-aes.h | 94 u32 key[AES_KEYSIZE_256 / sizeof(u32)];
|
| /linux/drivers/crypto/hisilicon/sec/ |
| H A D | sec_algs.c | 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()
|
| /linux/lib/crypto/arm64/ |
| H A D | aes.h | 76 } else if (key_len == AES_KEYSIZE_256) { in aes_expandkey_arm64()
|
| /linux/drivers/crypto/starfive/ |
| H A D | jh7110-aes.c | 186 if (ctx->keylen >= AES_KEYSIZE_256) { in starfive_aes_write_key() 247 case AES_KEYSIZE_256: in starfive_aes_hw_init() 865 keylen != AES_KEYSIZE_256) in starfive_aes_setkey() 884 keylen != AES_KEYSIZE_256) in starfive_aes_aead_setkey()
|
| /linux/drivers/crypto/marvell/octeontx/ |
| H A D | otx_cptvf_algs.c | 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()
|
| /linux/drivers/crypto/marvell/octeontx2/ |
| H A D | otx2_cptvf_algs.c | 436 case 2 * AES_KEYSIZE_256: in otx2_cpt_skcipher_xts_setkey() 474 case AES_KEYSIZE_256: in cpt_aes_setkey() 872 case AES_KEYSIZE_256: in aead_hmac_init() 953 case AES_KEYSIZE_256 + AES_GCM_SALT_SIZE: in otx2_cpt_aead_gcm_aes_setkey() 955 ctx->enc_key_len = AES_KEYSIZE_256; in otx2_cpt_aead_gcm_aes_setkey()
|
| /linux/drivers/crypto/rockchip/ |
| H A D | rk3288_crypto_skcipher.c | 115 keylen != AES_KEYSIZE_256) in rk_aes_setkey() 276 else if (ctx->keylen == AES_KEYSIZE_256) in rk_cipher_hw_init()
|
| /linux/arch/arm/crypto/ |
| H A D | aes-ce-glue.c | 83 key_len != AES_KEYSIZE_256) in ce_aes_expandkey() 106 } else if (key_len == AES_KEYSIZE_256) { in ce_aes_expandkey()
|
| /linux/arch/sparc/crypto/ |
| H A D | aes_glue.c | 102 case AES_KEYSIZE_256: in aes_set_key_skcipher()
|