Lines Matching defs:ctx
71 struct lrw_tfm_ctx *ctx = crypto_skcipher_ctx(parent);
72 struct crypto_skcipher *child = ctx->child;
85 if (ctx->table)
86 gf128mul_free_64k(ctx->table);
89 ctx->table = gf128mul_init_64k_bbe((be128 *)tweak);
90 if (!ctx->table)
96 ctx->mulinc[i] = tmp;
97 gf128mul_64k_bbe(&ctx->mulinc[i], ctx->table);
144 const struct lrw_tfm_ctx *ctx = crypto_skcipher_ctx(tfm);
182 &ctx->mulinc[lrw_next_index(counter)]);
224 const struct lrw_tfm_ctx *ctx =
229 skcipher_request_set_tfm(subreq, ctx->child);
240 gf128mul_64k_bbe(&rctx->t, ctx->table);
269 struct lrw_tfm_ctx *ctx = crypto_skcipher_ctx(tfm);
276 ctx->child = cipher;
286 struct lrw_tfm_ctx *ctx = crypto_skcipher_ctx(tfm);
288 if (ctx->table)
289 gf128mul_free_64k(ctx->table);
290 crypto_free_skcipher(ctx->child);