Searched refs:bctx (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.1/drivers/crypto/aspeed/ |
D | aspeed-hace-hash.c | 364 struct aspeed_sha_hmac_ctx *bctx = tctx->base; in aspeed_ahash_hmac_resume() local 376 memcpy(rctx->buffer, bctx->opad, rctx->block_size); in aspeed_ahash_hmac_resume() 674 struct aspeed_sha_hmac_ctx *bctx = tctx->base; in aspeed_sham_init() local 746 memcpy(rctx->buffer, bctx->ipad, rctx->block_size); in aspeed_sham_init() 759 struct aspeed_sha_hmac_ctx *bctx = tctx->base; in aspeed_sha512s_init() local 802 memcpy(rctx->buffer, bctx->ipad, rctx->block_size); in aspeed_sha512s_init() 819 struct aspeed_sha_hmac_ctx *bctx = tctx->base; in aspeed_sham_setkey() local 820 int ds = crypto_shash_digestsize(bctx->shash); in aspeed_sham_setkey() 821 int bs = crypto_shash_blocksize(bctx->shash); in aspeed_sham_setkey() 829 err = aspeed_sham_shash_digest(bctx->shash, in aspeed_sham_setkey() [all …]
|
/Linux-v6.1/drivers/crypto/ |
D | omap-sham.c | 310 struct omap_sham_hmac_ctx *bctx = tctx->base; in omap_sham_copy_hash_omap4() local 311 u32 *opad = (u32 *)bctx->opad; in omap_sham_copy_hash_omap4() 457 struct omap_sham_hmac_ctx *bctx = tctx->base; in omap_sham_write_ctrl_omap4() local 467 (u32 *)bctx->ipad, nr_dr); in omap_sham_write_ctrl_omap4() 469 (u32 *)bctx->ipad + nr_dr, nr_dr); in omap_sham_write_ctrl_omap4() 997 struct omap_sham_hmac_ctx *bctx = tctx->base; in omap_sham_init() local 999 memcpy(ctx->buffer, bctx->ipad, bs); in omap_sham_init() 1103 struct omap_sham_hmac_ctx *bctx = tctx->base; in omap_sham_finish_hmac() local 1104 int bs = crypto_shash_blocksize(bctx->shash); in omap_sham_finish_hmac() 1105 int ds = crypto_shash_digestsize(bctx->shash); in omap_sham_finish_hmac() [all …]
|
/Linux-v6.1/crypto/ |
D | blowfish_common.c | 310 static void encrypt_block(struct bf_ctx *bctx, u32 *dst, u32 *src) in encrypt_block() argument 312 const u32 *P = bctx->p; in encrypt_block() 313 const u32 *S = bctx->s; in encrypt_block()
|
/Linux-v6.1/fs/btrfs/ |
D | send.c | 1273 struct backref_ctx *bctx = ctx_; in __iterate_backrefs() local 1277 found = bsearch((void *)(uintptr_t)root, bctx->sctx->clone_roots, in __iterate_backrefs() 1278 bctx->sctx->clone_roots_cnt, in __iterate_backrefs() 1284 if (found->root == bctx->sctx->send_root && in __iterate_backrefs() 1285 ino == bctx->cur_objectid && in __iterate_backrefs() 1286 offset == bctx->cur_offset) { in __iterate_backrefs() 1287 bctx->found_itself = 1; in __iterate_backrefs() 1294 if (found->root == bctx->sctx->send_root) { in __iterate_backrefs() 1300 if (ino > bctx->cur_objectid) in __iterate_backrefs() 1308 if (ino == bctx->cur_objectid && in __iterate_backrefs() [all …]
|