Home
last modified time | relevance | path

Searched refs:bctx (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/crypto/aspeed/
Daspeed-hace-hash.c353 struct aspeed_sha_hmac_ctx *bctx = tctx->base; in aspeed_ahash_hmac_resume() local
365 memcpy(rctx->buffer, bctx->opad, rctx->block_size); in aspeed_ahash_hmac_resume()
667 struct aspeed_sha_hmac_ctx *bctx = tctx->base; in aspeed_sham_init() local
739 memcpy(rctx->buffer, bctx->ipad, rctx->block_size); in aspeed_sham_init()
756 struct aspeed_sha_hmac_ctx *bctx = tctx->base; in aspeed_sham_setkey() local
757 int ds = crypto_shash_digestsize(bctx->shash); in aspeed_sham_setkey()
758 int bs = crypto_shash_blocksize(bctx->shash); in aspeed_sham_setkey()
766 err = aspeed_sham_shash_digest(bctx->shash, in aspeed_sham_setkey()
767 crypto_shash_get_flags(bctx->shash), in aspeed_sham_setkey()
768 key, keylen, bctx->ipad); in aspeed_sham_setkey()
[all …]
/linux-6.12.1/drivers/crypto/
Domap-sham.c305 struct omap_sham_hmac_ctx *bctx = tctx->base; in omap_sham_copy_hash_omap4() local
306 u32 *opad = (u32 *)bctx->opad; in omap_sham_copy_hash_omap4()
452 struct omap_sham_hmac_ctx *bctx = tctx->base; in omap_sham_write_ctrl_omap4() local
462 (u32 *)bctx->ipad, nr_dr); in omap_sham_write_ctrl_omap4()
464 (u32 *)bctx->ipad + nr_dr, nr_dr); in omap_sham_write_ctrl_omap4()
992 struct omap_sham_hmac_ctx *bctx = tctx->base; in omap_sham_init() local
994 memcpy(ctx->buffer, bctx->ipad, bs); in omap_sham_init()
1102 struct omap_sham_hmac_ctx *bctx = tctx->base; in omap_sham_finish_hmac() local
1103 int bs = crypto_shash_blocksize(bctx->shash); in omap_sham_finish_hmac()
1104 int ds = crypto_shash_digestsize(bctx->shash); in omap_sham_finish_hmac()
[all …]
/linux-6.12.1/crypto/
Dblowfish_common.c311 static void encrypt_block(struct bf_ctx *bctx, u32 *dst, u32 *src) in encrypt_block() argument
313 const u32 *P = bctx->p; in encrypt_block()
314 const u32 *S = bctx->s; in encrypt_block()
/linux-6.12.1/fs/btrfs/
Dsend.c1346 struct backref_ctx *bctx = ctx_; in iterate_backrefs() local
1350 clone_root = bsearch((void *)(uintptr_t)root_id, bctx->sctx->clone_roots, in iterate_backrefs()
1351 bctx->sctx->clone_roots_cnt, in iterate_backrefs()
1358 if (clone_root->root == bctx->sctx->send_root && in iterate_backrefs()
1359 ino == bctx->cur_objectid && in iterate_backrefs()
1360 offset == bctx->cur_offset) in iterate_backrefs()
1367 if (clone_root->root == bctx->sctx->send_root) { in iterate_backrefs()
1373 if (ino > bctx->cur_objectid) in iterate_backrefs()
1381 if (ino == bctx->cur_objectid && in iterate_backrefs()
1382 offset + bctx->extent_len > in iterate_backrefs()
[all …]