Searched refs:bctx (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/drivers/crypto/aspeed/ |
D | aspeed-hace-hash.c | 353 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-v6.6/drivers/crypto/ |
D | omap-sham.c | 305 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-v6.6/crypto/ |
D | blowfish_common.c | 311 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-v6.6/fs/btrfs/ |
D | send.c | 1333 struct backref_ctx *bctx = ctx_; in iterate_backrefs() local 1337 clone_root = bsearch((void *)(uintptr_t)root_id, bctx->sctx->clone_roots, in iterate_backrefs() 1338 bctx->sctx->clone_roots_cnt, in iterate_backrefs() 1345 if (clone_root->root == bctx->sctx->send_root && in iterate_backrefs() 1346 ino == bctx->cur_objectid && in iterate_backrefs() 1347 offset == bctx->cur_offset) in iterate_backrefs() 1354 if (clone_root->root == bctx->sctx->send_root) { in iterate_backrefs() 1360 if (ino > bctx->cur_objectid) in iterate_backrefs() 1368 if (ino == bctx->cur_objectid && in iterate_backrefs() 1369 offset + bctx->extent_len > in iterate_backrefs() [all …]
|