Lines Matching refs:ctx
371 data = creq->base.chain.last->op->ctx.hash.hash;
460 struct mv_cesa_hash_ctx *ctx = crypto_tfm_ctx(tfm);
462 ctx->base.ops = &mv_cesa_ahash_req_ops;
1237 struct mv_cesa_hmac_ctx *ctx = crypto_tfm_ctx(tfm);
1239 ctx->base.ops = &mv_cesa_ahash_req_ops;
1248 struct mv_cesa_hmac_ctx *ctx = crypto_tfm_ctx(req->base.tfm);
1252 memcpy(tmpl.ctx.hash.iv, ctx->iv, sizeof(ctx->iv));
1262 struct mv_cesa_hmac_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm));
1271 ctx->iv[i] = cpu_to_be32(istate.hash[i]);
1274 ctx->iv[i + 8] = cpu_to_be32(ostate.hash[i]);
1319 struct mv_cesa_hmac_ctx *ctx = crypto_tfm_ctx(req->base.tfm);
1323 memcpy(tmpl.ctx.hash.iv, ctx->iv, sizeof(ctx->iv));
1333 struct mv_cesa_hmac_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm));
1342 ctx->iv[i] = cpu_to_be32(istate.state[i]);
1345 ctx->iv[i + 8] = cpu_to_be32(ostate.state[i]);
1391 struct mv_cesa_hmac_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm));
1400 ctx->iv[i] = cpu_to_be32(istate.state[i]);
1403 ctx->iv[i + 8] = cpu_to_be32(ostate.state[i]);
1410 struct mv_cesa_hmac_ctx *ctx = crypto_tfm_ctx(req->base.tfm);
1414 memcpy(tmpl.ctx.hash.iv, ctx->iv, sizeof(ctx->iv));