Searched refs:aad_size (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/crypto/intel/keembay/ |
| H A D | ocs-aes.c | 603 dma_addr_t aad_dma_list, u32 aad_size, in ocs_aes_validate_inputs() argument 716 if (aad_size && aad_dma_list == DMA_MAPPING_ERROR) in ocs_aes_validate_inputs() 740 if (aad_size && aad_dma_list == DMA_MAPPING_ERROR) in ocs_aes_validate_inputs() 934 u32 aad_size, in ocs_aes_gcm_op() argument 944 aad_size, out_tag, tag_size, cipher, in ocs_aes_gcm_op() 969 bit_len = (u64)aad_size * 8; in ocs_aes_gcm_op() 979 if (aad_size) { in ocs_aes_gcm_op()
|
| H A D | ocs-aes.h | 104 u32 aad_size,
|
| /linux/crypto/ |
| H A 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/net/tls/ |
| H A D | tls_sw.c | 267 aead_request_set_ad(aead_req, prot->aad_size); in tls_do_decryption() 377 sg_set_buf(&rec->sg_aead_in[0], rec->aad_space, prot->aad_size); in tls_get_rec() 381 sg_set_buf(&rec->sg_aead_out[0], rec->aad_space, prot->aad_size); in tls_get_rec() 570 aead_request_set_ad(aead_req, prot->aad_size); in tls_do_encryption() 1619 sg_set_buf(&sgin[0], dctx->aad, prot->aad_size); in tls_decrypt_sg() 1628 sg_set_buf(&sgout[0], dctx->aad, prot->aad_size); in tls_decrypt_sg() 1636 sg_set_buf(&sgout[0], dctx->aad, prot->aad_size); in tls_decrypt_sg() 2756 prot->aad_size = TLS_HEADER_SIZE; in init_prot_info() 2759 prot->aad_size = TLS_AAD_SPACE_SIZE; in init_prot_info() 2764 if (nonce_size > TLS_MAX_IV_SIZE || prot->aad_size > TLS_MAX_AAD_SIZE) in init_prot_info()
|
| /linux/include/net/ |
| H A D | tls.h | 219 u16 aad_size; member
|
| /linux/drivers/crypto/caam/ |
| H A D | regs.h | 961 u32 aad_size; /* CxAADSZR - Current AAD Size */ member
|