Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/crypto/
H A Dmxs-dcp.c170 static int mxs_dcp_start_dma(struct dcp_async_ctx *actx) in mxs_dcp_start_dma() argument
174 const int chan = actx->chan; in mxs_dcp_start_dma()
177 struct dcp_dma_desc *desc = &sdcp->coh->desc[actx->chan]; in mxs_dcp_start_dma()
219 static int mxs_dcp_run_aes(struct dcp_async_ctx *actx, in mxs_dcp_run_aes() argument
224 struct dcp_dma_desc *desc = &sdcp->coh->desc[actx->chan]; in mxs_dcp_run_aes()
246 if (actx->fill % AES_BLOCK_SIZE) { in mxs_dcp_run_aes()
275 desc->size = actx->fill; in mxs_dcp_run_aes()
279 ret = mxs_dcp_start_dma(actx); in mxs_dcp_run_aes()
297 struct dcp_async_ctx *actx = crypto_tfm_ctx(arq->tfm); in mxs_dcp_aes_block_crypt() local
319 actx->fill = 0; in mxs_dcp_aes_block_crypt()
[all …]
H A 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()
H A Domap-aes.h105 struct crypto_aes_ctx actx; member
/OK3568_Linux_fs/kernel/fs/ntfs/
H A 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 …]
H A 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()
/OK3568_Linux_fs/kernel/drivers/crypto/chelsio/
H A Dchcr_algo.c2446 struct chcr_authenc_ctx *actx = AUTHENC_CTX(aeadctx); in create_authenc_wr() local
2534 actx->auth_mode, aeadctx->hmac_ctrl, in create_authenc_wr()
2546 memcpy(chcr_req->key_ctx.key, actx->dec_rrkey, in create_authenc_wr()
2550 actx->h_iopad, kctx_len - roundup(aeadctx->enckey_len, 16)); in create_authenc_wr()
3554 struct chcr_authenc_ctx *actx = AUTHENC_CTX(aeadctx); in chcr_authenc_setkey() local
3610 get_aes_decrypt_key(actx->dec_rrkey, aeadctx->key, in chcr_authenc_setkey()
3624 o_ptr = actx->h_iopad + param.result_size + align; in chcr_authenc_setkey()
3644 if (chcr_compute_partial_hash(shash, pad, actx->h_iopad, in chcr_authenc_setkey()
3657 chcr_change_order(actx->h_iopad, param.result_size); in chcr_authenc_setkey()
3664 actx->auth_mode = param.auth_mode; in chcr_authenc_setkey()
[all …]