Searched refs:aad_size (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/drivers/crypto/intel/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-6.12.1/crypto/ |
D | tcrypt.c | 107 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-6.12.1/net/tls/ |
D | tls_sw.c | 266 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() 1562 sg_set_buf(&sgin[0], dctx->aad, prot->aad_size); in tls_decrypt_sg() 1571 sg_set_buf(&sgout[0], dctx->aad, prot->aad_size); in tls_decrypt_sg() 1579 sg_set_buf(&sgout[0], dctx->aad, prot->aad_size); in tls_decrypt_sg() 2664 prot->aad_size = TLS_HEADER_SIZE; in init_prot_info() 2667 prot->aad_size = TLS_AAD_SPACE_SIZE; in init_prot_info() 2672 if (nonce_size > TLS_MAX_IV_SIZE || prot->aad_size > TLS_MAX_AAD_SIZE) in init_prot_info()
|
/linux-6.12.1/include/net/ |
D | tls.h | 214 u16 aad_size; member
|
/linux-6.12.1/drivers/crypto/caam/ |
D | regs.h | 961 u32 aad_size; /* CxAADSZR - Current AAD Size */ member
|