/linux-6.3-rc2/include/crypto/ |
A D | aes.h | 14 #define AES_KEYSIZE_128 16 macro 40 case AES_KEYSIZE_128: in aes_check_keylen()
|
/linux-6.3-rc2/drivers/crypto/ |
A D | geode-aes.c | 117 if (len == AES_KEYSIZE_128) { in geode_setkey_cip() 143 if (len == AES_KEYSIZE_128) { in geode_setkey_skcipher() 168 if (unlikely(tctx->keylen != AES_KEYSIZE_128)) { in geode_encrypt() 183 if (unlikely(tctx->keylen != AES_KEYSIZE_128)) { in geode_decrypt() 271 if (unlikely(tctx->keylen != AES_KEYSIZE_128)) { in geode_skcipher_crypt()
|
A D | mxs-dcp.c | 65 uint8_t aes_key[2 * AES_KEYSIZE_128]; 103 uint8_t key[AES_KEYSIZE_128]; 230 2 * AES_KEYSIZE_128, DMA_TO_DEVICE); in mxs_dcp_run_aes() 287 dma_unmap_single(sdcp->dev, key_phys, 2 * AES_KEYSIZE_128, in mxs_dcp_run_aes() 327 memcpy(key + AES_KEYSIZE_128, req->iv, AES_KEYSIZE_128); in mxs_dcp_aes_block_crypt() 331 memset(key + AES_KEYSIZE_128, 0, AES_KEYSIZE_128); in mxs_dcp_aes_block_crypt() 456 if (unlikely(actx->key_len != AES_KEYSIZE_128)) in mxs_dcp_aes_enqueue() 503 if (len == AES_KEYSIZE_128) { in mxs_dcp_aes_setkey()
|
A D | geode-aes.h | 50 u8 key[AES_KEYSIZE_128];
|
A D | sahara.c | 149 u8 key[AES_KEYSIZE_128]; 576 memcpy(dev->iv_base, req->iv, AES_KEYSIZE_128); in sahara_aes_process() 610 if (keylen == AES_KEYSIZE_128) { in sahara_aes_setkey() 660 if (unlikely(ctx->keylen != AES_KEYSIZE_128)) { in sahara_aes_ecb_encrypt() 680 if (unlikely(ctx->keylen != AES_KEYSIZE_128)) { in sahara_aes_ecb_decrypt() 700 if (unlikely(ctx->keylen != AES_KEYSIZE_128)) { in sahara_aes_cbc_encrypt() 720 if (unlikely(ctx->keylen != AES_KEYSIZE_128)) { in sahara_aes_cbc_decrypt() 1418 dev->key_base = dmam_alloc_coherent(&pdev->dev, 2 * AES_KEYSIZE_128, in sahara_probe() 1424 dev->iv_base = dev->key_base + AES_KEYSIZE_128; in sahara_probe() 1425 dev->iv_phys_base = dev->key_phys_base + AES_KEYSIZE_128; in sahara_probe()
|
/linux-6.3-rc2/drivers/crypto/ccp/ |
A D | ccp-crypto-aes-xts.c | 90 case AES_KEYSIZE_128 * 2: in ccp_aes_xts_setkey() 142 (ctx->u.aes.key_len != AES_KEYSIZE_128)) in ccp_aes_xts_crypt() 144 if ((ctx->u.aes.key_len != AES_KEYSIZE_128) && in ccp_aes_xts_crypt()
|
A D | ccp-crypto-aes-galois.c | 35 case AES_KEYSIZE_128: in ccp_aes_gcm_setkey()
|
A D | ccp-crypto-aes.c | 45 case AES_KEYSIZE_128: in ccp_aes_setkey()
|
A D | ccp-ops.c | 482 if (!((aes->key_len == AES_KEYSIZE_128) || in ccp_run_aes_cmac_cmd() 652 if (!((aes->key_len == AES_KEYSIZE_128) || in ccp_run_aes_gcm_cmd() 923 if (!((aes->key_len == AES_KEYSIZE_128) || in ccp_run_aes_cmd() 1123 if (xts->key_len == AES_KEYSIZE_128) in ccp_run_xts_aes_cmd() 1172 dm_offset = CCP_SB_BYTES - AES_KEYSIZE_128; in ccp_run_xts_aes_cmd()
|
/linux-6.3-rc2/arch/powerpc/crypto/ |
A D | aes-spe-glue.c | 98 case AES_KEYSIZE_128: in ppc_aes_setkey() 138 case AES_KEYSIZE_128: in ppc_xts_setkey() 141 ppc_expand_key_128(ctx->key_twk, in_key + AES_KEYSIZE_128); in ppc_xts_setkey()
|
/linux-6.3-rc2/drivers/crypto/ccree/ |
A D | cc_aead.c | 273 AES_KEYSIZE_128, NS_BIT, 0); in xcbc_setkey() 279 + AES_KEYSIZE_128), in xcbc_setkey() 280 AES_KEYSIZE_128, NS_BIT, 0); in xcbc_setkey() 286 + 2 * AES_KEYSIZE_128), in xcbc_setkey() 287 AES_KEYSIZE_128, NS_BIT, 0); in xcbc_setkey() 374 if (ctx->auth_keylen != AES_KEYSIZE_128 && in validate_keys_sizes() 395 if (ctx->enc_keylen != AES_KEYSIZE_128 && in validate_keys_sizes() 1043 AES_KEYSIZE_128, NS_BIT); in cc_set_xcbc_desc() 1056 AES_KEYSIZE_128), AES_KEYSIZE_128, NS_BIT); in cc_set_xcbc_desc() 1069 2 * AES_KEYSIZE_128), AES_KEYSIZE_128, NS_BIT); in cc_set_xcbc_desc()
|
/linux-6.3-rc2/drivers/crypto/nx/ |
A D | nx-aes-ecb.c | 31 case AES_KEYSIZE_128: in ecb_aes_nx_set_key()
|
A D | nx-aes-cbc.c | 31 case AES_KEYSIZE_128: in cbc_aes_nx_set_key()
|
A D | nx-aes-ctr.c | 32 case AES_KEYSIZE_128: in ctr_aes_nx_set_key()
|
A D | nx-aes-xcbc.c | 36 case AES_KEYSIZE_128: in nx_xcbc_set_key()
|
/linux-6.3-rc2/arch/arm64/crypto/ |
A D | aes-ce-glue.c | 88 if (key_len != AES_KEYSIZE_128 && in ce_aes_expandkey()
|
/linux-6.3-rc2/drivers/crypto/hisilicon/sec/ |
A D | sec_algs.c | 259 case AES_KEYSIZE_128: in sec_alg_skcipher_setkey_aes_ecb() 281 case AES_KEYSIZE_128: in sec_alg_skcipher_setkey_aes_cbc() 303 case AES_KEYSIZE_128: in sec_alg_skcipher_setkey_aes_ctr() 330 case AES_KEYSIZE_128 * 2: in sec_alg_skcipher_setkey_aes_xts()
|
/linux-6.3-rc2/drivers/crypto/qce/ |
A D | skcipher.c | 195 case AES_KEYSIZE_128: in qce_skcipher_setkey() 291 ((keylen != AES_KEYSIZE_128 && keylen != AES_KEYSIZE_256) || in qce_skcipher_crypt()
|
A D | common.c | 112 if (key_size == AES_KEYSIZE_128) in qce_auth_cfg() 238 if (aes_key_size == AES_KEYSIZE_128) in qce_encr_cfg()
|
A D | aead.c | 578 if (keylen != AES_KEYSIZE_128 && keylen != AES_KEYSIZE_256 && keylen != AES_KEYSIZE_192) in qce_aead_ccm_setkey() 632 if (authenc_keys.enckeylen != AES_KEYSIZE_128 && in qce_aead_setkey()
|
/linux-6.3-rc2/drivers/crypto/marvell/octeontx/ |
A D | otx_cptvf_algs.c | 409 case 2 * AES_KEYSIZE_128: in otx_cpt_skcipher_xts_setkey() 444 case AES_KEYSIZE_128: in cpt_aes_setkey() 870 case AES_KEYSIZE_128: in otx_cpt_aead_cbc_aes_sha_setkey() 943 case AES_KEYSIZE_128 + AES_GCM_SALT_SIZE: in otx_cpt_aead_gcm_aes_setkey() 945 ctx->enc_key_len = AES_KEYSIZE_128; in otx_cpt_aead_gcm_aes_setkey()
|
/linux-6.3-rc2/drivers/crypto/marvell/octeontx2/ |
A D | otx2_cptvf_algs.c | 424 case 2 * AES_KEYSIZE_128: in otx2_cpt_skcipher_xts_setkey() 462 case AES_KEYSIZE_128: in cpt_aes_setkey() 924 case AES_KEYSIZE_128: in otx2_cpt_aead_cbc_aes_sha_setkey() 990 case AES_KEYSIZE_128 + AES_GCM_SALT_SIZE: in otx2_cpt_aead_gcm_aes_setkey() 992 ctx->enc_key_len = AES_KEYSIZE_128; in otx2_cpt_aead_gcm_aes_setkey()
|
/linux-6.3-rc2/arch/x86/crypto/ |
A D | aesni-intel_glue.c | 238 if (key_len != AES_KEYSIZE_128 && key_len != AES_KEYSIZE_192 && in aes_set_key_common() 502 if (ctx->key_length == AES_KEYSIZE_128) in aesni_ctr_enc_avx_tfm() 548 if (ctx->key_length == AES_KEYSIZE_128) in aesni_xctr_enc_avx_tfm()
|
/linux-6.3-rc2/drivers/crypto/cavium/nitrox/ |
A D | nitrox_req.h | 539 case AES_KEYSIZE_128: in flexi_aes_keylen()
|
/linux-6.3-rc2/drivers/crypto/qat/qat_common/ |
A D | qat_algs.c | 473 if (keylen == AES_KEYSIZE_128) { in qat_alg_xts_reverse_key() 520 case AES_KEYSIZE_128: in qat_alg_validate_key() 534 case AES_KEYSIZE_128 << 1: in qat_alg_validate_key()
|