Home
last modified time | relevance | path

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

/linux/crypto/
H A Dtcrypt.c107 unsigned int aad_size) in sg_init_aead() argument
121 sg_set_buf(&sg[0], assoc, aad_size); in sg_init_aead()
246 unsigned int aad_size, u8 *keysize, u32 num_mb) in test_mb_aead_speed() argument
259 if (aad_size >= PAGE_SIZE) { in test_mb_aead_speed()
260 pr_err("associate data length (%u) too big\n", aad_size); in test_mb_aead_speed()
379 memset(assoc, 0xff, aad_size); in test_mb_aead_speed()
383 assoc, aad_size); in test_mb_aead_speed()
387 assoc, aad_size); in test_mb_aead_speed()
389 aead_request_set_ad(cur->req, aad_size); in test_mb_aead_speed()
521 unsigned int aad_size, u8 *keysize) in test_aead_speed() argument
[all …]
/linux/drivers/crypto/intel/keembay/
H A Docs-aes.h104 u32 aad_size,
/linux/net/tls/
H A Dtls_sw.c266 aead_request_set_ad(aead_req, prot->aad_size); in tls_do_decryption()
376 sg_set_buf(&rec->sg_aead_in[0], rec->aad_space, prot->aad_size); in tls_get_rec()
380 sg_set_buf(&rec->sg_aead_out[0], rec->aad_space, prot->aad_size); in tls_get_rec()
569 aead_request_set_ad(aead_req, prot->aad_size); in tls_do_encryption()
1608 sg_set_buf(&sgin[0], dctx->aad, prot->aad_size); in tls_decrypt_sg()
1617 sg_set_buf(&sgout[0], dctx->aad, prot->aad_size); in tls_decrypt_sg()
1625 sg_set_buf(&sgout[0], dctx->aad, prot->aad_size); in tls_decrypt_sg()
2746 prot->aad_size = TLS_HEADER_SIZE; in init_prot_info()
2749 prot->aad_size = TLS_AAD_SPACE_SIZE; in init_prot_info()
2754 if (nonce_size > TLS_MAX_IV_SIZE || prot->aad_size > TLS_MAX_AAD_SIZE) in init_prot_info()
/linux/include/net/
H A Dtls.h219 u16 aad_size; member
/linux/drivers/crypto/caam/
H A Dregs.h961 u32 aad_size; /* CxAADSZR - Current AAD Size */ member