Home
last modified time | relevance | path

Searched refs:areq_ctx (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/crypto/ccree/
A Dcc_buffer_mgr.c324 areq_ctx->curr_sg = areq_ctx->buff_sg; in cc_set_hash_buf()
681 areq_ctx->src_sgl, areq_ctx->cryptlen, in cc_prepare_aead_data_mlli()
705 areq_ctx->icv_virt_addr = areq_ctx->mac_buf; in cc_prepare_aead_data_mlli()
721 areq_ctx->src_sgl, areq_ctx->cryptlen, in cc_prepare_aead_data_mlli()
725 areq_ctx->dst_sgl, areq_ctx->cryptlen, in cc_prepare_aead_data_mlli()
739 areq_ctx->icv_virt_addr = areq_ctx->backup_mac; in cc_prepare_aead_data_mlli()
753 areq_ctx->dst_sgl, areq_ctx->cryptlen, in cc_prepare_aead_data_mlli()
757 areq_ctx->src_sgl, areq_ctx->cryptlen, in cc_prepare_aead_data_mlli()
774 areq_ctx->icv_virt_addr = areq_ctx->mac_buf; in cc_prepare_aead_data_mlli()
1177 areq_ctx->curr_sg = areq_ctx->buff_sg; in cc_map_hash_request_final()
[all …]
A Dcc_aead.c777 areq_ctx->dst_sgl : areq_ctx->src_sgl; in cc_proc_authen_desc()
781 areq_ctx->dst_offset : areq_ctx->src_offset; in cc_proc_authen_desc()
845 areq_ctx->src_offset), areq_ctx->cryptlen, in cc_proc_cipher_desc()
2025 memset(areq_ctx, 0, sizeof(*areq_ctx)); in cc_aead_encrypt()
2049 memset(areq_ctx, 0, sizeof(*areq_ctx)); in cc_rfc4309_ccm_encrypt()
2069 memset(areq_ctx, 0, sizeof(*areq_ctx)); in cc_aead_decrypt()
2091 memset(areq_ctx, 0, sizeof(*areq_ctx)); in cc_rfc4309_ccm_decrypt()
2203 memset(areq_ctx, 0, sizeof(*areq_ctx)); in cc_rfc4106_gcm_encrypt()
2227 memset(areq_ctx, 0, sizeof(*areq_ctx)); in cc_rfc4543_gcm_encrypt()
2254 memset(areq_ctx, 0, sizeof(*areq_ctx)); in cc_rfc4106_gcm_decrypt()
[all …]
A Dcc_hash.c103 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, in cc_set_desc() argument
2170 if (areq_ctx->data_dma_buf_type == CC_DMA_BUF_DLLI) { in cc_set_desc()
2173 sg_dma_address(areq_ctx->curr_sg), in cc_set_desc()
2174 areq_ctx->curr_sg->length, NS_BIT); in cc_set_desc()
2178 if (areq_ctx->data_dma_buf_type == CC_DMA_BUF_NULL) { in cc_set_desc()
2186 areq_ctx->mlli_params.mlli_dma_addr, in cc_set_desc()
2187 areq_ctx->mlli_params.mlli_len, NS_BIT); in cc_set_desc()
2189 areq_ctx->mlli_params.mlli_len); in cc_set_desc()
2196 areq_ctx->mlli_nents, NS_BIT); in cc_set_desc()
/linux/crypto/
A Dauthencesn.c93 u8 *hash = PTR_ALIGN((u8 *)areq_ctx->tail, in crypto_authenc_esn_genicv_tail()
126 u8 *hash = PTR_ALIGN((u8 *)areq_ctx->tail, in crypto_authenc_esn_genicv()
143 sg_init_table(areq_ctx->dst, 2); in crypto_authenc_esn_genicv()
144 dst = scatterwalk_ffwd(areq_ctx->dst, dst, 4); in crypto_authenc_esn_genicv()
194 sg_init_table(areq_ctx->src, 2); in crypto_authenc_esn_encrypt()
203 sg_init_table(areq_ctx->dst, 2); in crypto_authenc_esn_encrypt()
229 u8 *ohash = PTR_ALIGN((u8 *)areq_ctx->tail, in crypto_authenc_esn_decrypt_tail()
250 sg_init_table(areq_ctx->dst, 2); in crypto_authenc_esn_decrypt_tail()
278 u8 *ohash = PTR_ALIGN((u8 *)areq_ctx->tail, in crypto_authenc_esn_decrypt()
306 sg_init_table(areq_ctx->dst, 2); in crypto_authenc_esn_decrypt()
[all …]
A Dauthenc.c118 struct authenc_request_ctx *areq_ctx = aead_request_ctx(req); in authenc_geniv_ahash_done() local
139 struct authenc_request_ctx *areq_ctx = aead_request_ctx(req); in crypto_authenc_genicv() local
141 u8 *hash = areq_ctx->tail; in crypto_authenc_genicv()
198 struct authenc_request_ctx *areq_ctx = aead_request_ctx(req); in crypto_authenc_encrypt() local
201 struct skcipher_request *skreq = (void *)(areq_ctx->tail + in crypto_authenc_encrypt()
206 src = scatterwalk_ffwd(areq_ctx->src, req->src, req->assoclen); in crypto_authenc_encrypt()
236 struct authenc_request_ctx *areq_ctx = aead_request_ctx(req); in crypto_authenc_decrypt_tail() local
238 struct skcipher_request *skreq = (void *)(areq_ctx->tail + in crypto_authenc_decrypt_tail()
249 src = scatterwalk_ffwd(areq_ctx->src, req->src, req->assoclen); in crypto_authenc_decrypt_tail()
286 struct authenc_request_ctx *areq_ctx = aead_request_ctx(req); in crypto_authenc_decrypt() local
[all …]

Completed in 22 milliseconds