Searched refs:aad_size (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.15/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-v5.15/crypto/ |
D | tcrypt.c | 115 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() 387 memset(assoc, 0xff, aad_size); in test_mb_aead_speed() 391 assoc, aad_size); in test_mb_aead_speed() 395 assoc, aad_size); in test_mb_aead_speed() 397 aead_request_set_ad(cur->req, aad_size); in test_mb_aead_speed() 529 unsigned int aad_size, u8 *keysize) in test_aead_speed() argument [all …]
|
/Linux-v5.15/net/tls/ |
D | tls_sw.c | 242 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() 1451 mem_size = mem_size + prot->aad_size; in decrypt_internal() 1467 iv = aad + prot->aad_size; in decrypt_internal() 1499 sg_set_buf(&sgin[0], aad, prot->aad_size); in decrypt_internal() 1511 sg_set_buf(&sgout[0], aad, prot->aad_size); in decrypt_internal() 2450 prot->aad_size = TLS_HEADER_SIZE; in tls_set_sw_offload() 2453 prot->aad_size = TLS_AAD_SPACE_SIZE; in tls_set_sw_offload()
|
/Linux-v5.15/include/net/ |
D | tls.h | 235 u16 aad_size; member
|
/Linux-v5.15/drivers/crypto/caam/ |
D | regs.h | 950 u32 aad_size; /* CxAADSZR - Current AAD Size */ member
|