/kernel/linux/linux-5.10/drivers/crypto/ |
H A D | mxs-dcp.c | 170 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 in mxs_dcp_aes_block_crypt() 451 struct dcp_async_ctx *actx = crypto_tfm_ctx(arq->tfm); mxs_dcp_aes_enqueue() local 494 struct dcp_async_ctx *actx = crypto_skcipher_ctx(tfm); mxs_dcp_aes_setkey() local 521 struct dcp_async_ctx *actx = crypto_skcipher_ctx(tfm); mxs_dcp_aes_fallback_init_tfm() local 536 struct dcp_async_ctx *actx = crypto_skcipher_ctx(tfm); mxs_dcp_aes_fallback_exit_tfm() local 550 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); mxs_dcp_run_sha() local 620 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); dcp_sha_req_to_buf() local 725 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); dcp_sha_init() local 755 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); dcp_sha_update_fx() local 817 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); dcp_sha_import() local [all...] |
H A D | omap-aes-gcm.c | 178 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 D | omap-aes.h | 105 struct crypto_aes_ctx actx; member
|
/kernel/linux/linux-6.6/drivers/crypto/ |
H A D | mxs-dcp.c | 171 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 in mxs_dcp_aes_block_crypt() 452 struct dcp_async_ctx *actx = crypto_tfm_ctx(arq->tfm); mxs_dcp_aes_enqueue() local 495 struct dcp_async_ctx *actx = crypto_skcipher_ctx(tfm); mxs_dcp_aes_setkey() local 522 struct dcp_async_ctx *actx = crypto_skcipher_ctx(tfm); mxs_dcp_aes_fallback_init_tfm() local 537 struct dcp_async_ctx *actx = crypto_skcipher_ctx(tfm); mxs_dcp_aes_fallback_exit_tfm() local 551 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); mxs_dcp_run_sha() local 621 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); dcp_sha_req_to_buf() local 726 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); dcp_sha_init() local 756 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); dcp_sha_update_fx() local 818 struct dcp_async_ctx *actx = crypto_ahash_ctx(tfm); dcp_sha_import() local [all...] |
H A D | omap-aes-gcm.c | 181 aes_encrypt(&ctx->actx, (u8 *)tag, (u8 *)iv); in do_encrypt_iv() 318 ret = aes_expandkey(&ctx->actx, key, keylen); in omap_aes_gcm_setkey() 338 ret = aes_expandkey(&ctx->actx, key, keylen); in omap_aes_4106gcm_setkey()
|
H A D | omap-aes.h | 103 struct crypto_aes_ctx actx; member
|
/kernel/linux/linux-5.10/fs/ntfs/ |
H A D | index.c | 47 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 in ntfs_index_lookup() [all...] |
H A D | index.h | 28 * @actx: attribute search context if @is_in_root and NULL otherwise 40 * by the attribute search context @actx and the base inode @base_ni. @ia and 45 * is in, respectively. @ir, @actx and @base_ni are NULL in this case. 68 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()
|
/kernel/linux/linux-6.6/fs/ntfs/ |
H A D | index.c | 47 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 in ntfs_index_lookup() [all...] |
H A D | index.h | 28 * @actx: attribute search context if @is_in_root and NULL otherwise 40 * by the attribute search context @actx and the base inode @base_ni. @ia and 45 * is in, respectively. @ir, @actx and @base_ni are NULL in this case. 68 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()
|
/kernel/linux/linux-5.10/drivers/crypto/chelsio/ |
H A D | chcr_algo.c | 2446 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 in chcr_authenc_setkey() 3682 struct chcr_authenc_ctx *actx = AUTHENC_CTX(aeadctx); chcr_aead_digest_null_setkey() local [all...] |
/kernel/linux/linux-6.6/drivers/crypto/chelsio/ |
H A D | chcr_algo.c | 2441 struct chcr_authenc_ctx *actx = AUTHENC_CTX(aeadctx); in create_authenc_wr() local 2529 actx->auth_mode, aeadctx->hmac_ctrl, in create_authenc_wr() 2541 memcpy(chcr_req->key_ctx.key, actx->dec_rrkey, in create_authenc_wr() 2545 actx->h_iopad, kctx_len - roundup(aeadctx->enckey_len, 16)); in create_authenc_wr() 3550 struct chcr_authenc_ctx *actx = AUTHENC_CTX(aeadctx); in chcr_authenc_setkey() local 3606 get_aes_decrypt_key(actx->dec_rrkey, aeadctx->key, in chcr_authenc_setkey() 3620 o_ptr = actx->h_iopad + param.result_size + align; in chcr_authenc_setkey() 3640 if (chcr_compute_partial_hash(shash, pad, actx->h_iopad, in chcr_authenc_setkey() 3653 chcr_change_order(actx->h_iopad, param.result_size); in chcr_authenc_setkey() 3660 actx in chcr_authenc_setkey() 3678 struct chcr_authenc_ctx *actx = AUTHENC_CTX(aeadctx); chcr_aead_digest_null_setkey() local [all...] |