Lines Matching defs:caam_ctx

64  * struct caam_ctx - per-session context
75 struct caam_ctx {
171 struct caam_ctx *ctx = crypto_aead_ctx(aead);
276 struct caam_ctx *ctx = crypto_aead_ctx(authenc);
287 struct caam_ctx *ctx = crypto_aead_ctx(aead);
353 struct caam_ctx *ctx = crypto_aead_ctx(aead);
587 struct caam_ctx *ctx = crypto_aead_ctx(aead);
620 struct caam_ctx *ctx = crypto_aead_ctx(aead);
632 struct caam_ctx *ctx = crypto_aead_ctx(aead);
648 struct caam_ctx *ctx = crypto_aead_ctx(aead);
705 struct caam_ctx *ctx = crypto_aead_ctx(authenc);
721 struct caam_ctx *ctx = crypto_aead_ctx(aead);
740 struct caam_ctx *ctx = crypto_aead_ctx(aead);
800 struct caam_ctx *ctx = crypto_aead_ctx(authenc);
816 struct caam_ctx *ctx = crypto_aead_ctx(aead);
841 struct caam_ctx *ctx = crypto_aead_ctx(aead);
901 struct caam_ctx *ctx = crypto_aead_ctx(authenc);
915 struct caam_ctx *ctx = crypto_aead_ctx(aead);
941 struct caam_ctx *ctx = crypto_skcipher_ctx(skcipher);
1060 struct caam_ctx *ctx = crypto_skcipher_ctx(skcipher);
1113 struct caam_ctx *ctx = crypto_skcipher_ctx(skcipher);
1287 struct caam_ctx *ctx = crypto_aead_ctx(aead);
1308 struct caam_ctx *ctx = crypto_aead_ctx(aead);
1325 struct caam_ctx *ctx = crypto_aead_ctx(aead);
1353 struct caam_ctx *ctx = crypto_aead_ctx(aead);
1393 struct caam_ctx *ctx = crypto_skcipher_ctx(skcipher);
1431 struct caam_ctx *ctx = crypto_skcipher_ctx(skcipher);
1475 struct caam_ctx *ctx = crypto_skcipher_ctx(skcipher);
1525 struct caam_ctx *ctx = crypto_skcipher_ctx(skcipher);
1571 static int caam_cra_init(struct caam_ctx *ctx, struct caam_alg_entry *caam,
1585 offsetof(struct caam_ctx, flc_dma),
1604 struct caam_ctx *ctx = crypto_skcipher_ctx(tfm);
1646 static void caam_exit_common(struct caam_ctx *ctx)
1649 offsetof(struct caam_ctx, flc_dma), ctx->dir,
1655 struct caam_ctx *ctx = crypto_skcipher_ctx(tfm);
3009 alg->base.cra_ctxsize = sizeof(struct caam_ctx);
3023 alg->base.cra_ctxsize = sizeof(struct caam_ctx);
3075 u8 caam_ctx[MAX_CTX_LEN] ____cacheline_aligned;
3083 u8 caam_ctx[MAX_CTX_LEN];
3113 /* Map state->caam_ctx, and add it to link table */
3119 state->ctx_dma = dma_map_single(dev, state->caam_ctx, ctx_len, flag);
3403 memcpy(req->result, state->caam_ctx, digestsize);
3407 DUMP_PREFIX_ADDRESS, 16, 4, state->caam_ctx,
3441 DUMP_PREFIX_ADDRESS, 16, 4, state->caam_ctx,
3468 memcpy(req->result, state->caam_ctx, digestsize);
3472 DUMP_PREFIX_ADDRESS, 16, 4, state->caam_ctx,
3506 DUMP_PREFIX_ADDRESS, 16, 4, state->caam_ctx,
3865 state->ctx_dma = dma_map_single(ctx->dev, state->caam_ctx, digestsize,
3926 state->ctx_dma = dma_map_single(ctx->dev, state->caam_ctx, digestsize,
4039 state->ctx_dma = dma_map_single(ctx->dev, state->caam_ctx,
4150 state->ctx_dma = dma_map_single(ctx->dev, state->caam_ctx, digestsize,
4266 state->ctx_dma = dma_map_single(ctx->dev, state->caam_ctx,
4365 memcpy(export->caam_ctx, state->caam_ctx, sizeof(export->caam_ctx));
4381 memcpy(state->caam_ctx, export->caam_ctx, sizeof(state->caam_ctx));