Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/crypto/aspeed/
A Daspeed-hace-hash.c364 struct aspeed_sha_hmac_ctx *bctx = tctx->base; in aspeed_ahash_hmac_resume() local
829 err = aspeed_sham_shash_digest(bctx->shash, in aspeed_sham_setkey()
831 key, keylen, bctx->ipad); in aspeed_sham_setkey()
837 memcpy(bctx->ipad, key, keylen); in aspeed_sham_setkey()
840 memset(bctx->ipad + keylen, 0, bs - keylen); in aspeed_sham_setkey()
841 memcpy(bctx->opad, bctx->ipad, bs); in aspeed_sham_setkey()
844 bctx->ipad[i] ^= HMAC_IPAD_VALUE; in aspeed_sham_setkey()
845 bctx->opad[i] ^= HMAC_OPAD_VALUE; in aspeed_sham_setkey()
871 if (IS_ERR(bctx->shash)) { in aspeed_sham_cra_init()
875 return PTR_ERR(bctx->shash); in aspeed_sham_cra_init()
[all …]
/linux-6.3-rc2/drivers/crypto/
A Domap-sham.c311 u32 *opad = (u32 *)bctx->opad; in omap_sham_copy_hash_omap4()
467 (u32 *)bctx->ipad, nr_dr); in omap_sham_write_ctrl_omap4()
1108 shash->tfm = bctx->shash; in omap_sham_finish_hmac()
1299 bctx->ipad); in omap_sham_setkey()
1304 memcpy(bctx->ipad, key, keylen); in omap_sham_setkey()
1310 memcpy(bctx->opad, bctx->ipad, bs); in omap_sham_setkey()
1313 bctx->ipad[i] ^= HMAC_IPAD_VALUE; in omap_sham_setkey()
1314 bctx->opad[i] ^= HMAC_OPAD_VALUE; in omap_sham_setkey()
1343 if (IS_ERR(bctx->shash)) { in omap_sham_cra_init_alg()
1347 return PTR_ERR(bctx->shash); in omap_sham_cra_init_alg()
[all …]
/linux-6.3-rc2/crypto/
A 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.3-rc2/fs/btrfs/
A Dsend.c1333 struct backref_ctx *bctx = ctx_; in iterate_backrefs() local
1346 ino == bctx->cur_objectid && in iterate_backrefs()
1347 offset == bctx->cur_offset) 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()
1374 bctx->found++; in iterate_backrefs()
1402 struct backref_ctx *bctx = ctx; in lookup_backref_cache() local
1442 struct backref_ctx *bctx = ctx; in store_backref_cache() local
1518 if (bytenr == bctx->bytenr) { in check_extent_item()
[all …]

Completed in 33 milliseconds