Lines Matching defs:aead_req_ctx
46 struct aead_req_ctx { struct
51 u8 mac_buf[MAX_MAC_SIZE] ____cacheline_aligned;
52 u8 ctr_iv[AES_BLOCK_SIZE] ____cacheline_aligned;
55 u8 gcm_iv_inc1[AES_BLOCK_SIZE] ____cacheline_aligned;
56 u8 gcm_iv_inc2[AES_BLOCK_SIZE] ____cacheline_aligned;
57 u8 hkey[AES_BLOCK_SIZE] ____cacheline_aligned;
58 struct {
61 } gcm_len_block;
63 u8 ccm_config[CCM_CONFIG_BUF_SIZE] ____cacheline_aligned;
65 unsigned int hw_iv_size ____cacheline_aligned;
67 u8 backup_mac[MAX_MAC_SIZE];
68 u8 *backup_iv; /* store orig iv */
69 u32 assoclen; /* size of AAD buffer to authenticate */
70 dma_addr_t mac_buf_dma_addr; /* internal ICV DMA buffer */
72 dma_addr_t ccm_iv0_dma_addr;
73 dma_addr_t icv_dma_addr; /* Phys. address of ICV */
77 dma_addr_t gcm_iv_inc1_dma_addr;
79 dma_addr_t gcm_iv_inc2_dma_addr;
80 dma_addr_t hkey_dma_addr; /* Phys. address of hkey */
81 dma_addr_t gcm_block_len_dma_addr; /* Phys. address of gcm block len */
83 u8 *icv_virt_addr; /* Virt. address of ICV */
84 struct async_gen_req_ctx gen_ctx;
85 struct cc_mlli assoc;
86 struct cc_mlli src;
87 struct cc_mlli dst;
88 struct scatterlist *src_sgl;
89 struct scatterlist *dst_sgl;
90 unsigned int src_offset;
91 unsigned int dst_offset;
92 enum cc_req_dma_buf_type assoc_buff_type;
93 enum cc_req_dma_buf_type data_buff_type;
94 struct mlli_params mlli_params;
95 unsigned int cryptlen;
96 struct scatterlist ccm_adata_sg;
97 enum aead_ccm_header_size ccm_hdr_size;
98 unsigned int req_authsize;
99 enum drv_cipher_mode cipher_mode;
100 bool is_icv_fragmented;
101 bool is_single_pass;
102 bool plaintext_authenticate_only; //for gcm_rfc4543