Lines Matching refs:ctx
347 data = creq->base.chain.last->op->ctx.hash.hash;
436 struct mv_cesa_hash_ctx *ctx = crypto_tfm_ctx(tfm);
438 ctx->base.ops = &mv_cesa_ahash_req_ops;
1238 struct mv_cesa_hmac_ctx *ctx = crypto_tfm_ctx(tfm);
1240 ctx->base.ops = &mv_cesa_ahash_req_ops;
1249 struct mv_cesa_hmac_ctx *ctx = crypto_tfm_ctx(req->base.tfm);
1253 memcpy(tmpl.ctx.hash.iv, ctx->iv, sizeof(ctx->iv));
1263 struct mv_cesa_hmac_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm));
1272 ctx->iv[i] = cpu_to_be32(istate.hash[i]);
1275 ctx->iv[i + 8] = cpu_to_be32(ostate.hash[i]);
1320 struct mv_cesa_hmac_ctx *ctx = crypto_tfm_ctx(req->base.tfm);
1324 memcpy(tmpl.ctx.hash.iv, ctx->iv, sizeof(ctx->iv));
1334 struct mv_cesa_hmac_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm));
1343 ctx->iv[i] = cpu_to_be32(istate.state[i]);
1346 ctx->iv[i + 8] = cpu_to_be32(ostate.state[i]);
1392 struct mv_cesa_hmac_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm));
1401 ctx->iv[i] = cpu_to_be32(istate.state[i]);
1404 ctx->iv[i + 8] = cpu_to_be32(ostate.state[i]);
1411 struct mv_cesa_hmac_ctx *ctx = crypto_tfm_ctx(req->base.tfm);
1415 memcpy(tmpl.ctx.hash.iv, ctx->iv, sizeof(ctx->iv));