bctx 310 crypto/blowfish_common.c static void encrypt_block(struct bf_ctx *bctx, u32 *dst, u32 *src) bctx 312 crypto/blowfish_common.c const u32 *P = bctx->p; bctx 313 crypto/blowfish_common.c const u32 *S = bctx->s; bctx 359 drivers/crypto/mediatek/mtk-sha.c struct mtk_sha_hmac_ctx *bctx = tctx->base; bctx 362 drivers/crypto/mediatek/mtk-sha.c SHASH_DESC_ON_STACK(shash, bctx->shash); bctx 364 drivers/crypto/mediatek/mtk-sha.c shash->tfm = bctx->shash; bctx 367 drivers/crypto/mediatek/mtk-sha.c crypto_shash_update(shash, bctx->opad, ctx->bs) ?: bctx 411 drivers/crypto/mediatek/mtk-sha.c struct mtk_sha_hmac_ctx *bctx = tctx->base; bctx 413 drivers/crypto/mediatek/mtk-sha.c memcpy(ctx->buffer, bctx->ipad, ctx->bs); bctx 803 drivers/crypto/mediatek/mtk-sha.c struct mtk_sha_hmac_ctx *bctx = tctx->base; bctx 804 drivers/crypto/mediatek/mtk-sha.c size_t bs = crypto_shash_blocksize(bctx->shash); bctx 805 drivers/crypto/mediatek/mtk-sha.c size_t ds = crypto_shash_digestsize(bctx->shash); bctx 808 drivers/crypto/mediatek/mtk-sha.c SHASH_DESC_ON_STACK(shash, bctx->shash); bctx 810 drivers/crypto/mediatek/mtk-sha.c shash->tfm = bctx->shash; bctx 813 drivers/crypto/mediatek/mtk-sha.c err = crypto_shash_digest(shash, key, keylen, bctx->ipad); bctx 818 drivers/crypto/mediatek/mtk-sha.c memcpy(bctx->ipad, key, keylen); bctx 821 drivers/crypto/mediatek/mtk-sha.c memset(bctx->ipad + keylen, 0, bs - keylen); bctx 822 drivers/crypto/mediatek/mtk-sha.c memcpy(bctx->opad, bctx->ipad, bs); bctx 825 drivers/crypto/mediatek/mtk-sha.c bctx->ipad[i] ^= HMAC_IPAD_VALUE; bctx 826 drivers/crypto/mediatek/mtk-sha.c bctx->opad[i] ^= HMAC_OPAD_VALUE; bctx 862 drivers/crypto/mediatek/mtk-sha.c struct mtk_sha_hmac_ctx *bctx = tctx->base; bctx 865 drivers/crypto/mediatek/mtk-sha.c bctx->shash = crypto_alloc_shash(alg_base, 0, bctx 867 drivers/crypto/mediatek/mtk-sha.c if (IS_ERR(bctx->shash)) { bctx 871 drivers/crypto/mediatek/mtk-sha.c return PTR_ERR(bctx->shash); bctx 912 drivers/crypto/mediatek/mtk-sha.c struct mtk_sha_hmac_ctx *bctx = tctx->base; bctx 914 drivers/crypto/mediatek/mtk-sha.c crypto_free_shash(bctx->shash); bctx 305 drivers/crypto/omap-sham.c struct omap_sham_hmac_ctx *bctx = tctx->base; bctx 306 drivers/crypto/omap-sham.c u32 *opad = (u32 *)bctx->opad; bctx 467 drivers/crypto/omap-sham.c struct omap_sham_hmac_ctx *bctx = tctx->base; bctx 477 drivers/crypto/omap-sham.c (u32 *)bctx->ipad, nr_dr); bctx 479 drivers/crypto/omap-sham.c (u32 *)bctx->ipad + nr_dr, nr_dr); bctx 983 drivers/crypto/omap-sham.c struct omap_sham_hmac_ctx *bctx = tctx->base; bctx 985 drivers/crypto/omap-sham.c memcpy(ctx->buffer, bctx->ipad, bs); bctx 1049 drivers/crypto/omap-sham.c struct omap_sham_hmac_ctx *bctx = tctx->base; bctx 1050 drivers/crypto/omap-sham.c int bs = crypto_shash_blocksize(bctx->shash); bctx 1051 drivers/crypto/omap-sham.c int ds = crypto_shash_digestsize(bctx->shash); bctx 1052 drivers/crypto/omap-sham.c SHASH_DESC_ON_STACK(shash, bctx->shash); bctx 1054 drivers/crypto/omap-sham.c shash->tfm = bctx->shash; bctx 1057 drivers/crypto/omap-sham.c crypto_shash_update(shash, bctx->opad, bs) ?: bctx 1302 drivers/crypto/omap-sham.c struct omap_sham_hmac_ctx *bctx = tctx->base; bctx 1303 drivers/crypto/omap-sham.c int bs = crypto_shash_blocksize(bctx->shash); bctx 1304 drivers/crypto/omap-sham.c int ds = crypto_shash_digestsize(bctx->shash); bctx 1325 drivers/crypto/omap-sham.c err = omap_sham_shash_digest(bctx->shash, bctx 1326 drivers/crypto/omap-sham.c crypto_shash_get_flags(bctx->shash), bctx 1327 drivers/crypto/omap-sham.c key, keylen, bctx->ipad); bctx 1332 drivers/crypto/omap-sham.c memcpy(bctx->ipad, key, keylen); bctx 1335 drivers/crypto/omap-sham.c memset(bctx->ipad + keylen, 0, bs - keylen); bctx 1338 drivers/crypto/omap-sham.c memcpy(bctx->opad, bctx->ipad, bs); bctx 1341 drivers/crypto/omap-sham.c bctx->ipad[i] ^= HMAC_IPAD_VALUE; bctx 1342 drivers/crypto/omap-sham.c bctx->opad[i] ^= HMAC_OPAD_VALUE; bctx 1367 drivers/crypto/omap-sham.c struct omap_sham_hmac_ctx *bctx = tctx->base; bctx 1369 drivers/crypto/omap-sham.c bctx->shash = crypto_alloc_shash(alg_base, 0, bctx 1371 drivers/crypto/omap-sham.c if (IS_ERR(bctx->shash)) { bctx 1375 drivers/crypto/omap-sham.c return PTR_ERR(bctx->shash); bctx 1426 drivers/crypto/omap-sham.c struct omap_sham_hmac_ctx *bctx = tctx->base; bctx 1427 drivers/crypto/omap-sham.c crypto_free_shash(bctx->shash); bctx 1236 fs/btrfs/send.c struct backref_ctx *bctx = ctx_; bctx 1240 fs/btrfs/send.c found = bsearch((void *)(uintptr_t)root, bctx->sctx->clone_roots, bctx 1241 fs/btrfs/send.c bctx->sctx->clone_roots_cnt, bctx 1247 fs/btrfs/send.c if (found->root == bctx->sctx->send_root && bctx 1248 fs/btrfs/send.c ino == bctx->cur_objectid && bctx 1249 fs/btrfs/send.c offset == bctx->cur_offset) { bctx 1250 fs/btrfs/send.c bctx->found_itself = 1; bctx 1257 fs/btrfs/send.c if (found->root == bctx->sctx->send_root) { bctx 1264 fs/btrfs/send.c if (ino >= bctx->cur_objectid) bctx 1268 fs/btrfs/send.c bctx->found++; bctx 1277 fs/btrfs/send.c if (found->offset > offset + bctx->extent_len)