Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/crypto/
Dmxs-dcp.c171 static int mxs_dcp_start_dma(struct dcp_async_ctx *actx) in mxs_dcp_start_dma() argument
175 const int chan = actx->chan; in mxs_dcp_start_dma()
178 struct dcp_dma_desc *desc = &sdcp->coh->desc[actx->chan]; in mxs_dcp_start_dma()
220 static int mxs_dcp_run_aes(struct dcp_async_ctx *actx, in mxs_dcp_run_aes() argument
225 struct dcp_dma_desc *desc = &sdcp->coh->desc[actx->chan]; in mxs_dcp_run_aes()
247 if (actx->fill % AES_BLOCK_SIZE) { in mxs_dcp_run_aes()
276 desc->size = actx->fill; in mxs_dcp_run_aes()
280 ret = mxs_dcp_start_dma(actx); in mxs_dcp_run_aes()
298 struct dcp_async_ctx *actx = crypto_tfm_ctx(arq->tfm); in mxs_dcp_aes_block_crypt() local
320 actx->fill = 0; in mxs_dcp_aes_block_crypt()
[all …]
Domap-aes-gcm.c178 aes_encrypt(&ctx->actx, (u8 *)tag, (u8 *)iv); in do_encrypt_iv()
317 ret = aes_expandkey(&ctx->actx, key, keylen); in omap_aes_gcm_setkey()
337 ret = aes_expandkey(&ctx->actx, key, keylen); in omap_aes_4106gcm_setkey()
Domap-aes.h105 struct crypto_aes_ctx actx; member
/linux-6.1.9/fs/ntfs/
Dindex.c47 if (ictx->actx) in ntfs_index_ctx_put()
48 ntfs_attr_put_search_ctx(ictx->actx); in ntfs_index_ctx_put()
118 ntfs_attr_search_ctx *actx; in ntfs_index_lookup() local
144 actx = ntfs_attr_get_search_ctx(base_ni, m); in ntfs_index_lookup()
145 if (unlikely(!actx)) { in ntfs_index_lookup()
151 CASE_SENSITIVE, 0, NULL, 0, actx); in ntfs_index_lookup()
161 ir = (INDEX_ROOT*)((u8*)actx->attr + in ntfs_index_lookup()
162 le16_to_cpu(actx->attr->data.resident.value_offset)); in ntfs_index_lookup()
173 if ((u8*)ie < (u8*)actx->mrec || (u8*)ie + in ntfs_index_lookup()
197 ictx->actx = actx; in ntfs_index_lookup()
[all …]
Dindex.h68 ntfs_attr_search_ctx *actx; member
100 flush_dcache_mft_record_page(ictx->actx->ntfs_ino); in ntfs_index_entry_flush_dcache_page()
126 mark_mft_record_dirty(ictx->actx->ntfs_ino); in ntfs_index_entry_mark_dirty()
/linux-6.1.9/drivers/crypto/chelsio/
Dchcr_algo.c2440 struct chcr_authenc_ctx *actx = AUTHENC_CTX(aeadctx); in create_authenc_wr() local
2528 actx->auth_mode, aeadctx->hmac_ctrl, in create_authenc_wr()
2540 memcpy(chcr_req->key_ctx.key, actx->dec_rrkey, in create_authenc_wr()
2544 actx->h_iopad, kctx_len - roundup(aeadctx->enckey_len, 16)); in create_authenc_wr()
3548 struct chcr_authenc_ctx *actx = AUTHENC_CTX(aeadctx); in chcr_authenc_setkey() local
3604 get_aes_decrypt_key(actx->dec_rrkey, aeadctx->key, in chcr_authenc_setkey()
3618 o_ptr = actx->h_iopad + param.result_size + align; in chcr_authenc_setkey()
3638 if (chcr_compute_partial_hash(shash, pad, actx->h_iopad, in chcr_authenc_setkey()
3651 chcr_change_order(actx->h_iopad, param.result_size); in chcr_authenc_setkey()
3658 actx->auth_mode = param.auth_mode; in chcr_authenc_setkey()
[all …]