Home
last modified time | relevance | path

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

/linux-6.15/drivers/crypto/ccree/
H A Dcc_buffer_mgr.c331 areq_ctx->curr_sg = areq_ctx->buff_sg; in cc_set_hash_buf()
690 areq_ctx->src_sgl, areq_ctx->cryptlen, in cc_prepare_aead_data_mlli()
714 areq_ctx->icv_virt_addr = areq_ctx->mac_buf; in cc_prepare_aead_data_mlli()
730 areq_ctx->src_sgl, areq_ctx->cryptlen, in cc_prepare_aead_data_mlli()
734 areq_ctx->dst_sgl, areq_ctx->cryptlen, in cc_prepare_aead_data_mlli()
748 areq_ctx->icv_virt_addr = areq_ctx->backup_mac; in cc_prepare_aead_data_mlli()
762 areq_ctx->dst_sgl, areq_ctx->cryptlen, in cc_prepare_aead_data_mlli()
766 areq_ctx->src_sgl, areq_ctx->cryptlen, in cc_prepare_aead_data_mlli()
783 areq_ctx->icv_virt_addr = areq_ctx->mac_buf; in cc_prepare_aead_data_mlli()
1187 areq_ctx->curr_sg = areq_ctx->buff_sg; in cc_map_hash_request_final()
[all …]
H 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 …]
H 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-6.15/crypto/
H A Dauthencesn.c91 u8 *hash = areq_ctx->tail; in crypto_authenc_esn_genicv_tail()
122 u8 *hash = areq_ctx->tail; in crypto_authenc_esn_genicv()
138 sg_init_table(areq_ctx->dst, 2); in crypto_authenc_esn_genicv()
139 dst = scatterwalk_ffwd(areq_ctx->dst, dst, 4); in crypto_authenc_esn_genicv()
188 sg_init_table(areq_ctx->src, 2); in crypto_authenc_esn_encrypt()
197 sg_init_table(areq_ctx->dst, 2); in crypto_authenc_esn_encrypt()
223 u8 *ohash = areq_ctx->tail; in crypto_authenc_esn_decrypt_tail()
243 sg_init_table(areq_ctx->dst, 2); in crypto_authenc_esn_decrypt_tail()
270 u8 *ohash = areq_ctx->tail; in crypto_authenc_esn_decrypt()
297 sg_init_table(areq_ctx->dst, 2); in crypto_authenc_esn_decrypt()
[all …]
H A Dkrb5enc.c144 struct krb5enc_request_ctx *areq_ctx = aead_request_ctx(req); in krb5enc_dispatch_encrypt() local
146 struct skcipher_request *skreq = (void *)(areq_ctx->tail + in krb5enc_dispatch_encrypt()
187 struct krb5enc_request_ctx *areq_ctx = aead_request_ctx(req); in krb5enc_encrypt_ahash_done() local
212 struct krb5enc_request_ctx *areq_ctx = aead_request_ctx(req); in krb5enc_dispatch_encrypt_hash() local
214 u8 *hash = areq_ctx->tail; in krb5enc_dispatch_encrypt_hash()
250 struct krb5enc_request_ctx *areq_ctx = aead_request_ctx(req); in krb5enc_verify_hash() local
253 u8 *calc_hash = areq_ctx->tail; in krb5enc_verify_hash()
254 u8 *msg_hash = areq_ctx->tail + authsize; in krb5enc_verify_hash()
283 struct krb5enc_request_ctx *areq_ctx = aead_request_ctx(req); in krb5enc_dispatch_decrypt_hash() local
287 u8 *hash = areq_ctx->tail; in krb5enc_dispatch_decrypt_hash()
[all …]
H 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()
194 struct authenc_request_ctx *areq_ctx = aead_request_ctx(req); in crypto_authenc_encrypt() local
197 struct skcipher_request *skreq = (void *)(areq_ctx->tail + in crypto_authenc_encrypt()
202 src = scatterwalk_ffwd(areq_ctx->src, req->src, req->assoclen); in crypto_authenc_encrypt()
232 struct authenc_request_ctx *areq_ctx = aead_request_ctx(req); in crypto_authenc_decrypt_tail() local
234 struct skcipher_request *skreq = (void *)(areq_ctx->tail + in crypto_authenc_decrypt_tail()
245 src = scatterwalk_ffwd(areq_ctx->src, req->src, req->assoclen); in crypto_authenc_decrypt_tail()
281 struct authenc_request_ctx *areq_ctx = aead_request_ctx(req); in crypto_authenc_decrypt() local
[all …]