Searched refs:aad_size (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.1/drivers/crypto/keembay/ |
D | ocs-aes.c | 602 dma_addr_t aad_dma_list, u32 aad_size, in ocs_aes_validate_inputs() argument 715 if (aad_size && aad_dma_list == DMA_MAPPING_ERROR) in ocs_aes_validate_inputs() 739 if (aad_size && aad_dma_list == DMA_MAPPING_ERROR) in ocs_aes_validate_inputs() 933 u32 aad_size, in ocs_aes_gcm_op() argument 943 aad_size, out_tag, tag_size, cipher, in ocs_aes_gcm_op() 968 bit_len = (u64)aad_size * 8; in ocs_aes_gcm_op() 978 if (aad_size) { in ocs_aes_gcm_op()
|
D | ocs-aes.h | 104 u32 aad_size,
|
/Linux-v6.1/crypto/ |
D | tcrypt.c | 104 unsigned int aad_size) in sg_init_aead() argument 118 sg_set_buf(&sg[0], assoc, aad_size); in sg_init_aead() 243 unsigned int aad_size, u8 *keysize, u32 num_mb) in test_mb_aead_speed() argument 256 if (aad_size >= PAGE_SIZE) { in test_mb_aead_speed() 257 pr_err("associate data length (%u) too big\n", aad_size); in test_mb_aead_speed() 376 memset(assoc, 0xff, aad_size); in test_mb_aead_speed() 380 assoc, aad_size); in test_mb_aead_speed() 384 assoc, aad_size); in test_mb_aead_speed() 386 aead_request_set_ad(cur->req, aad_size); in test_mb_aead_speed() 518 unsigned int aad_size, u8 *keysize) in test_aead_speed() argument [all …]
|
/Linux-v6.1/net/tls/ |
D | tls_sw.c | 235 aead_request_set_ad(aead_req, prot->aad_size); in tls_do_decryption() 332 sg_set_buf(&rec->sg_aead_in[0], rec->aad_space, prot->aad_size); in tls_get_rec() 336 sg_set_buf(&rec->sg_aead_out[0], rec->aad_space, prot->aad_size); in tls_get_rec() 517 aead_request_set_ad(aead_req, prot->aad_size); in tls_do_encryption() 1533 sg_set_buf(&sgin[0], dctx->aad, prot->aad_size); in tls_decrypt_sg() 1542 sg_set_buf(&sgout[0], dctx->aad, prot->aad_size); in tls_decrypt_sg() 1550 sg_set_buf(&sgout[0], dctx->aad, prot->aad_size); in tls_decrypt_sg() 2673 prot->aad_size = TLS_HEADER_SIZE; in tls_set_sw_offload() 2676 prot->aad_size = TLS_AAD_SPACE_SIZE; in tls_set_sw_offload() 2683 prot->aad_size > TLS_MAX_AAD_SIZE) { in tls_set_sw_offload()
|
/Linux-v6.1/include/net/ |
D | tls.h | 231 u16 aad_size; member
|
/Linux-v6.1/drivers/crypto/caam/ |
D | regs.h | 955 u32 aad_size; /* CxAADSZR - Current AAD Size */ member
|