Searched refs:areq_ctx (Results 1 - 5 of 5) sorted by relevance
/linux-master/drivers/crypto/ccree/ |
H A D | cc_buffer_mgr.c | 55 struct aead_req_ctx *areq_ctx = aead_request_ctx_dma(req); local 58 cc_copy_sg_portion(dev, areq_ctx->backup_mac, req->src, 59 (skip - areq_ctx->req_authsize), skip, dir); 289 cc_set_aead_conf_buf(struct device *dev, struct aead_req_ctx *areq_ctx, argument 295 sg_init_one(&areq_ctx->ccm_adata_sg, config_data, 296 AES_BLOCK_SIZE + areq_ctx->ccm_hdr_size); 297 if (dma_map_sg(dev, &areq_ctx->ccm_adata_sg, 1, DMA_TO_DEVICE) != 1) { 302 &sg_dma_address(&areq_ctx->ccm_adata_sg), 303 sg_page(&areq_ctx->ccm_adata_sg), 304 sg_virt(&areq_ctx 315 cc_set_hash_buf(struct device *dev, struct ahash_req_ctx *areq_ctx, u8 *curr_buff, u32 curr_buff_cnt, struct buffer_array *sg_data) argument 459 struct aead_req_ctx *areq_ctx = aead_request_ctx_dma(req); local 549 struct aead_req_ctx *areq_ctx = aead_request_ctx_dma(req); local 589 struct aead_req_ctx *areq_ctx = aead_request_ctx_dma(req); local 655 struct aead_req_ctx *areq_ctx = aead_request_ctx_dma(req); local 681 struct aead_req_ctx *areq_ctx = aead_request_ctx_dma(req); local 793 struct aead_req_ctx *areq_ctx = aead_request_ctx_dma(req); local 898 struct aead_req_ctx *areq_ctx = aead_request_ctx_dma(req); local 948 struct aead_req_ctx *areq_ctx = aead_request_ctx_dma(req); local 1145 struct ahash_req_ctx *areq_ctx = (struct ahash_req_ctx *)ctx; local 1224 struct ahash_req_ctx *areq_ctx = (struct ahash_req_ctx *)ctx; local 1334 struct ahash_req_ctx *areq_ctx = (struct ahash_req_ctx *)ctx; local [all...] |
H A D | cc_aead.c | 211 struct aead_req_ctx *areq_ctx = aead_request_ctx_dma(areq); local 222 areq->iv = areq_ctx->backup_iv; 227 if (areq_ctx->gen_ctx.op_type == DRV_CRYPTO_DIRECTION_DECRYPT) { 228 if (memcmp(areq_ctx->mac_buf, areq_ctx->icv_virt_addr, 240 } else if (areq_ctx->is_icv_fragmented) { 241 u32 skip = areq->cryptlen + areq_ctx->dst_offset; 243 cc_copy_sg_portion(dev, areq_ctx->mac_buf, areq_ctx->dst_sgl, 726 struct aead_req_ctx *areq_ctx local 765 struct aead_req_ctx *areq_ctx = aead_request_ctx_dma(areq); local 830 struct aead_req_ctx *areq_ctx = aead_request_ctx_dma(areq); local 1085 struct aead_req_ctx *areq_ctx = aead_request_ctx_dma(req); local 1315 struct aead_req_ctx *areq_ctx = aead_request_ctx_dma(req); local 1594 struct aead_req_ctx *areq_ctx = aead_request_ctx_dma(req); local 1882 struct aead_req_ctx *areq_ctx = aead_request_ctx_dma(req); local 1899 struct aead_req_ctx *areq_ctx = aead_request_ctx_dma(req); local 2022 struct aead_req_ctx *areq_ctx = aead_request_ctx_dma(req); local 2042 struct aead_req_ctx *areq_ctx = aead_request_ctx_dma(req); local 2066 struct aead_req_ctx *areq_ctx = aead_request_ctx_dma(req); local 2084 struct aead_req_ctx *areq_ctx = aead_request_ctx_dma(req); local 2196 struct aead_req_ctx *areq_ctx = aead_request_ctx_dma(req); local 2220 struct aead_req_ctx *areq_ctx = aead_request_ctx_dma(req); local 2247 struct aead_req_ctx *areq_ctx = aead_request_ctx_dma(req); local 2271 struct aead_req_ctx *areq_ctx = aead_request_ctx_dma(req); local [all...] |
H A D | cc_hash.c | 103 static void cc_set_desc(struct ahash_req_ctx *areq_ctx, struct cc_hash_ctx *ctx, 2162 static void cc_set_desc(struct ahash_req_ctx *areq_ctx, argument 2170 if (areq_ctx->data_dma_buf_type == CC_DMA_BUF_DLLI) { 2173 sg_dma_address(areq_ctx->curr_sg), 2174 areq_ctx->curr_sg->length, NS_BIT); 2178 if (areq_ctx->data_dma_buf_type == CC_DMA_BUF_NULL) { 2186 areq_ctx->mlli_params.mlli_dma_addr, 2187 areq_ctx->mlli_params.mlli_len, NS_BIT); 2189 areq_ctx->mlli_params.mlli_len); 2196 areq_ctx [all...] |
/linux-master/crypto/ |
H A D | authencesn.c | 90 struct authenc_esn_request_ctx *areq_ctx = aead_request_ctx(req); local 91 u8 *hash = areq_ctx->tail; 119 struct authenc_esn_request_ctx *areq_ctx = aead_request_ctx(req); local 122 u8 *hash = areq_ctx->tail; 123 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ctx->reqoff); 138 sg_init_table(areq_ctx->dst, 2); 139 dst = scatterwalk_ffwd(areq_ctx->dst, dst, 4); 178 struct authenc_esn_request_ctx *areq_ctx = aead_request_ctx(req); local 180 struct skcipher_request *skreq = (void *)(areq_ctx->tail + 188 sg_init_table(areq_ctx 218 struct authenc_esn_request_ctx *areq_ctx = aead_request_ctx(req); local 265 struct authenc_esn_request_ctx *areq_ctx = aead_request_ctx(req); local [all...] |
H A D | authenc.c | 118 struct authenc_request_ctx *areq_ctx = aead_request_ctx(req); local 119 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ictx->reqoff); 139 struct authenc_request_ctx *areq_ctx = aead_request_ctx(req); local 140 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ictx->reqoff); 141 u8 *hash = areq_ctx->tail; 194 struct authenc_request_ctx *areq_ctx = aead_request_ctx(req); local 197 struct skcipher_request *skreq = (void *)(areq_ctx->tail + 202 src = scatterwalk_ffwd(areq_ctx->src, req->src, req->assoclen); 210 dst = scatterwalk_ffwd(areq_ctx->dst, req->dst, req->assoclen); 232 struct authenc_request_ctx *areq_ctx local 281 struct authenc_request_ctx *areq_ctx = aead_request_ctx(req); local [all...] |
Completed in 170 milliseconds