/openbmc/linux/drivers/crypto/intel/keembay/ |
H A D | ocs-aes.c | 588 val = size % AES_BLOCK_SIZE; in ocs_aes_write_last_data_blk_len() 590 val = AES_BLOCK_SIZE; in ocs_aes_write_last_data_blk_len() 643 if (src_size % AES_BLOCK_SIZE != 0) in ocs_aes_validate_inputs() 655 if (src_size % AES_BLOCK_SIZE != 0) in ocs_aes_validate_inputs() 664 if (!iv || iv_size != AES_BLOCK_SIZE) in ocs_aes_validate_inputs() 680 if (!iv || iv_size != AES_BLOCK_SIZE) in ocs_aes_validate_inputs() 687 if (src_size < AES_BLOCK_SIZE) in ocs_aes_validate_inputs() 696 if (!iv || iv_size != AES_BLOCK_SIZE) in ocs_aes_validate_inputs() 730 if (!iv || iv_size != AES_BLOCK_SIZE) in ocs_aes_validate_inputs() 1324 AES_BLOCK_SIZE, adata_dma_list, adata_size, in ocs_aes_ccm_op()
|
/openbmc/linux/drivers/crypto/qce/ |
H A D | common.h | 24 #define QCE_AES_IV_LENGTH AES_BLOCK_SIZE 26 #define QCE_MAX_IV_SIZE AES_BLOCK_SIZE
|
/openbmc/linux/drivers/crypto/ |
H A D | omap-aes.h | 87 #define AES_BLOCK_WORDS (AES_BLOCK_SIZE >> 2) 109 u8 iv[AES_BLOCK_SIZE]; 110 u32 auth_tag[AES_BLOCK_SIZE / sizeof(u32)];
|
H A D | omap-aes.c | 448 ret = omap_crypto_align_sg(&dd->in_sg, dd->total, AES_BLOCK_SIZE, in omap_aes_prepare_req() 454 ret = omap_crypto_align_sg(&dd->out_sg, dd->total, AES_BLOCK_SIZE, in omap_aes_prepare_req() 537 if ((req->cryptlen % AES_BLOCK_SIZE) && !(mode & FLAGS_CTR)) in omap_aes_crypt() 665 .base.cra_blocksize = AES_BLOCK_SIZE, 687 .base.cra_blocksize = AES_BLOCK_SIZE, 693 .ivsize = AES_BLOCK_SIZE, 719 .ivsize = AES_BLOCK_SIZE, 753 .maxauthsize = AES_BLOCK_SIZE, 775 .maxauthsize = AES_BLOCK_SIZE, 927 dd->total -= min_t(size_t, AES_BLOCK_SIZE, dd->total); in omap_aes_irq()
|
H A D | mxs-dcp.c | 247 if (actx->fill % AES_BLOCK_SIZE) { in mxs_dcp_run_aes() 380 memcpy(req->iv, out_buf+(last_out_len-AES_BLOCK_SIZE), in mxs_dcp_aes_block_crypt() 381 AES_BLOCK_SIZE); in mxs_dcp_aes_block_crypt() 383 memcpy(req->iv, in_buf+(last_out_len-AES_BLOCK_SIZE), in mxs_dcp_aes_block_crypt() 384 AES_BLOCK_SIZE); in mxs_dcp_aes_block_crypt() 862 .base.cra_blocksize = AES_BLOCK_SIZE, 880 .base.cra_blocksize = AES_BLOCK_SIZE, 889 .ivsize = AES_BLOCK_SIZE,
|
H A D | talitos.c | 2275 .ivsize = AES_BLOCK_SIZE, 2297 .ivsize = AES_BLOCK_SIZE, 2367 .ivsize = AES_BLOCK_SIZE, 2389 .ivsize = AES_BLOCK_SIZE, 2459 .ivsize = AES_BLOCK_SIZE, 2481 .ivsize = AES_BLOCK_SIZE, 2551 .ivsize = AES_BLOCK_SIZE, 2596 .ivsize = AES_BLOCK_SIZE, 2641 .ivsize = AES_BLOCK_SIZE, 2663 .ivsize = AES_BLOCK_SIZE, [all …]
|
H A D | s5p-sss.c | 457 len = ALIGN(dev->req->cryptlen, AES_BLOCK_SIZE); in s5p_free_sg_cpy() 492 memcpy_fromio(req->iv, dev->aes_ioaddr + SSS_REG_AES_IV_DATA(0), AES_BLOCK_SIZE); in s5p_sg_done() 524 len = ALIGN(dev->req->cryptlen, AES_BLOCK_SIZE); in s5p_make_sg_cpy() 1816 AES_BLOCK_SIZE); in s5p_set_aes() 1820 AES_BLOCK_SIZE); in s5p_set_aes() 1835 if (!IS_ALIGNED(sg->length, AES_BLOCK_SIZE)) in s5p_is_sg_aligned() 2033 if (!IS_ALIGNED(req->cryptlen, AES_BLOCK_SIZE) && in s5p_aes_crypt() 2103 .base.cra_blocksize = AES_BLOCK_SIZE, 2121 .base.cra_blocksize = AES_BLOCK_SIZE, 2128 .ivsize = AES_BLOCK_SIZE, [all …]
|
/openbmc/linux/drivers/crypto/inside-secure/ |
H A D | safexcel_cipher.c | 1054 u8 input_iv[AES_BLOCK_SIZE]; in safexcel_skcipher_send() 1323 ctx->blocksz = AES_BLOCK_SIZE; in safexcel_skcipher_aes_cbc_cra_init() 1337 .ivsize = AES_BLOCK_SIZE, 1375 .ivsize = AES_BLOCK_SIZE, 1413 .ivsize = AES_BLOCK_SIZE, 1758 .ivsize = AES_BLOCK_SIZE, 1794 .ivsize = AES_BLOCK_SIZE, 1830 .ivsize = AES_BLOCK_SIZE, 1866 .ivsize = AES_BLOCK_SIZE, 1902 .ivsize = AES_BLOCK_SIZE, [all …]
|
/openbmc/linux/drivers/crypto/bcm/ |
H A D | cipher.h | 37 #define MAX_IV_SIZE AES_BLOCK_SIZE 132 u8 iv_ctr[ALIGN(2 * AES_BLOCK_SIZE, SPU_MSG_ALIGN)]; 167 u8 gcmpad[ALIGN(AES_BLOCK_SIZE, SPU_MSG_ALIGN)];
|
H A D | cipher.c | 3036 .maxauthsize = AES_BLOCK_SIZE, 3059 .maxauthsize = AES_BLOCK_SIZE, 3082 .maxauthsize = AES_BLOCK_SIZE, 3105 .maxauthsize = AES_BLOCK_SIZE, 3152 .ivsize = AES_BLOCK_SIZE, 3177 .ivsize = AES_BLOCK_SIZE, 3202 .ivsize = AES_BLOCK_SIZE, 3639 .ivsize = AES_BLOCK_SIZE, 3658 .ivsize = AES_BLOCK_SIZE, 3696 .ivsize = AES_BLOCK_SIZE, [all …]
|
/openbmc/linux/drivers/crypto/aspeed/ |
H A D | aspeed-hace-crypto.c | 60 !IS_ALIGNED(areq->cryptlen, AES_BLOCK_SIZE)) in aspeed_crypto_need_fallback() 117 AES_BLOCK_SIZE); in aspeed_sk_complete() 392 AES_BLOCK_SIZE); in aspeed_hace_skcipher_trigger() 593 if (!IS_ALIGNED(req->cryptlen, AES_BLOCK_SIZE)) in aspeed_aes_crypt() 756 .cra_blocksize = AES_BLOCK_SIZE, 768 .ivsize = AES_BLOCK_SIZE, 783 .cra_blocksize = AES_BLOCK_SIZE, 795 .ivsize = AES_BLOCK_SIZE, 822 .ivsize = AES_BLOCK_SIZE, 1066 .ivsize = AES_BLOCK_SIZE,
|
/openbmc/linux/drivers/crypto/marvell/octeontx/ |
H A D | otx_cptvf_algs.c | 1314 .ivsize = AES_BLOCK_SIZE, 1331 .ivsize = AES_BLOCK_SIZE, 1365 .ivsize = AES_BLOCK_SIZE, 1411 .cra_blocksize = AES_BLOCK_SIZE, 1424 .ivsize = AES_BLOCK_SIZE, 1430 .cra_blocksize = AES_BLOCK_SIZE, 1443 .ivsize = AES_BLOCK_SIZE, 1449 .cra_blocksize = AES_BLOCK_SIZE, 1462 .ivsize = AES_BLOCK_SIZE, 1468 .cra_blocksize = AES_BLOCK_SIZE, [all …]
|
/openbmc/linux/drivers/crypto/nx/ |
H A D | nx-aes-ctr.c | 102 memcpy(iv, csbcpb->cpb.aes_cbc.cv, AES_BLOCK_SIZE); in ctr_aes_nx_crypt() 144 .chunksize = AES_BLOCK_SIZE,
|
/openbmc/linux/arch/arm64/crypto/ |
H A D | aes-ce-glue.c | 24 u8 b[AES_BLOCK_SIZE]; 156 .cra_blocksize = AES_BLOCK_SIZE,
|
/openbmc/linux/drivers/crypto/axis/ |
H A D | artpec6_crypto.c | 336 __u8 J0[AES_BLOCK_SIZE]; 1185 AES_BLOCK_SIZE; in artpec6_crypto_ctr_crypt() 2018 if (authsize < AES_BLOCK_SIZE) { in artpec6_crypto_prepare_aead() 2163 AES_BLOCK_SIZE, 0); in artpec6_crypto_complete_cbc_decrypt() 2175 AES_BLOCK_SIZE, 0); in artpec6_crypto_complete_cbc_encrypt() 2190 u8 input_tag[AES_BLOCK_SIZE]; in artpec6_crypto_complete_aead() 2705 .cra_blocksize = AES_BLOCK_SIZE, 2734 .ivsize = AES_BLOCK_SIZE, 2749 .cra_blocksize = AES_BLOCK_SIZE, 2756 .ivsize = AES_BLOCK_SIZE, [all …]
|
/openbmc/qemu/include/crypto/ |
H A D | aes.h | 5 #define AES_BLOCK_SIZE 16 macro
|
/openbmc/linux/drivers/staging/rtl8723bs/core/ |
H A D | rtw_security.c | 1452 for (i = 0; i < AES_BLOCK_SIZE - 1; i++) in gf_mulx() 1455 pad[AES_BLOCK_SIZE - 1] <<= 1; in gf_mulx() 1457 pad[AES_BLOCK_SIZE - 1] ^= 0x87; in gf_mulx() 1477 u8 cbc[AES_BLOCK_SIZE], pad[AES_BLOCK_SIZE]; in omac1_aes_128_vector() 1485 memset(cbc, 0, AES_BLOCK_SIZE); in omac1_aes_128_vector() 1496 while (left >= AES_BLOCK_SIZE) { in omac1_aes_128_vector() 1497 for (i = 0; i < AES_BLOCK_SIZE; i++) { in omac1_aes_128_vector() 1505 if (left > AES_BLOCK_SIZE) in omac1_aes_128_vector() 1507 left -= AES_BLOCK_SIZE; in omac1_aes_128_vector() 1510 memset(pad, 0, AES_BLOCK_SIZE); in omac1_aes_128_vector() [all …]
|
/openbmc/linux/drivers/crypto/amlogic/ |
H A D | amlogic-gxl-core.c | 57 .cra_blocksize = AES_BLOCK_SIZE, 69 .ivsize = AES_BLOCK_SIZE, 86 .cra_blocksize = AES_BLOCK_SIZE,
|
/openbmc/linux/drivers/crypto/chelsio/ |
H A D | chcr_algo.c | 74 #define IV AES_BLOCK_SIZE 1050 bytes = c * AES_BLOCK_SIZE; in adjust_ctr_overflow() 1105 AES_BLOCK_SIZE)); in chcr_update_cipher_iv() 1109 AES_BLOCK_SIZE) + 1); in chcr_update_cipher_iv() 1139 AES_BLOCK_SIZE)); in chcr_final_cipher_iv() 4102 .ivsize = AES_BLOCK_SIZE, 4142 .ivsize = AES_BLOCK_SIZE, 4164 .ivsize = AES_BLOCK_SIZE, 4184 .ivsize = AES_BLOCK_SIZE, 4205 .ivsize = AES_BLOCK_SIZE, [all …]
|
/openbmc/linux/include/crypto/ |
H A D | aes.h | 17 #define AES_BLOCK_SIZE 16 macro
|
/openbmc/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | qat_crypto.h | 47 u8 iv[AES_BLOCK_SIZE];
|
/openbmc/linux/drivers/crypto/rockchip/ |
H A D | rk3288_crypto.h | 247 u8 iv[AES_BLOCK_SIZE]; 253 u8 backup_iv[AES_BLOCK_SIZE];
|
H A D | rk3288_crypto_skcipher.c | 308 u8 iv[AES_BLOCK_SIZE]; in rk_cipher_run() 309 u8 biv[AES_BLOCK_SIZE]; in rk_cipher_run() 469 .base.cra_blocksize = AES_BLOCK_SIZE, 494 .base.cra_blocksize = AES_BLOCK_SIZE, 503 .ivsize = AES_BLOCK_SIZE,
|
/openbmc/linux/drivers/crypto/starfive/ |
H A D | jh7110-cryp.h | 31 #define STARFIVE_AES_IV_LEN AES_BLOCK_SIZE 32 #define STARFIVE_AES_CTR_LEN AES_BLOCK_SIZE
|
/openbmc/linux/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cptvf_algs.c | 1368 .base.cra_blocksize = AES_BLOCK_SIZE, 1376 .ivsize = AES_BLOCK_SIZE, 1394 .ivsize = AES_BLOCK_SIZE, 1460 .cra_blocksize = AES_BLOCK_SIZE, 1473 .ivsize = AES_BLOCK_SIZE, 1479 .cra_blocksize = AES_BLOCK_SIZE, 1492 .ivsize = AES_BLOCK_SIZE, 1498 .cra_blocksize = AES_BLOCK_SIZE, 1511 .ivsize = AES_BLOCK_SIZE, 1517 .cra_blocksize = AES_BLOCK_SIZE, [all …]
|