Lines Matching defs:ctx
58 struct ghash_ctx *ctx = crypto_shash_ctx(tfm);
64 if (ctx->gf128)
65 gf128mul_free_4k(ctx->gf128);
69 ctx->gf128 = gf128mul_init_4k_lle(&k);
72 if (!ctx->gf128)
82 struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm);
96 gf128mul_4k_lle((be128 *)dst, ctx->gf128);
101 gf128mul_4k_lle((be128 *)dst, ctx->gf128);
115 static void ghash_flush(struct ghash_ctx *ctx, struct ghash_desc_ctx *dctx)
125 gf128mul_4k_lle((be128 *)dst, ctx->gf128);
134 struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm);
137 ghash_flush(ctx, dctx);
145 struct ghash_ctx *ctx = crypto_tfm_ctx(tfm);
146 if (ctx->gf128)
147 gf128mul_free_4k(ctx->gf128);