Home
last modified time | relevance | path

Searched refs:aad_size (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/crypto/
Dtcrypt.c115 unsigned int aad_size) in sg_init_aead() argument
129 sg_set_buf(&sg[0], assoc, aad_size); in sg_init_aead()
254 unsigned int aad_size, u8 *keysize, u32 num_mb) in test_mb_aead_speed() argument
267 if (aad_size >= PAGE_SIZE) { in test_mb_aead_speed()
268 pr_err("associate data length (%u) too big\n", aad_size); in test_mb_aead_speed()
380 memset(assoc, 0xff, aad_size); in test_mb_aead_speed()
384 assoc, aad_size); in test_mb_aead_speed()
388 assoc, aad_size); in test_mb_aead_speed()
390 aead_request_set_ad(cur->req, aad_size); in test_mb_aead_speed()
522 unsigned int aad_size, u8 *keysize) in test_aead_speed() argument
[all …]
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0003_linux_crypto.patch80 memset(assoc, 0xff, aad_size);
82 + memset(assoc_out, 0xff, aad_size);
90 - assoc, aad_size);
91 + assoc_out, aad_size);
93 aead_request_set_ad(cur->req, aad_size);
100 + memset(assoc, 0xff, aad_size);
101 + memset(assoc_out, 0xff, aad_size);
117 memset(assoc, 0xff, aad_size);
119 + memset(assoc_out, 0xff, aad_size);
124 assoc, aad_size);
[all …]
/kernel/linux/linux-5.10/net/tls/
Dtls_sw.c242 aead_request_set_ad(aead_req, prot->aad_size); in tls_do_decryption()
348 sg_set_buf(&rec->sg_aead_in[0], rec->aad_space, prot->aad_size); in tls_get_rec()
352 sg_set_buf(&rec->sg_aead_out[0], rec->aad_space, prot->aad_size); in tls_get_rec()
526 aead_request_set_ad(aead_req, prot->aad_size); in tls_do_encryption()
1454 mem_size = mem_size + prot->aad_size; in decrypt_internal()
1470 iv = aad + prot->aad_size; in decrypt_internal()
1502 sg_set_buf(&sgin[0], aad, prot->aad_size); in decrypt_internal()
1514 sg_set_buf(&sgout[0], aad, prot->aad_size); in decrypt_internal()
2434 prot->aad_size = TLS_HEADER_SIZE; in tls_set_sw_offload()
2437 prot->aad_size = TLS_AAD_SPACE_SIZE; in tls_set_sw_offload()
/kernel/linux/linux-5.10/include/net/
Dtls.h236 u16 aad_size; member
/kernel/linux/linux-5.10/drivers/crypto/caam/
Dregs.h953 u32 aad_size; /* CxAADSZR - Current AAD Size */ member