Lines Matching defs:caam_ctx

115 struct caam_ctx {
142 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
196 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
324 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc);
334 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
384 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc);
399 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
452 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc);
467 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
520 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc);
533 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
559 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
571 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
588 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
669 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
690 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
716 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
742 struct caam_ctx *ctx = crypto_skcipher_ctx_dma(skcipher);
845 struct caam_ctx *ctx = crypto_skcipher_ctx_dma(skcipher);
1076 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
1137 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
1205 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
1254 struct caam_ctx *ctx = crypto_skcipher_ctx_dma(skcipher);
1310 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
1476 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
1510 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
1543 struct caam_ctx *ctx = crypto_aead_ctx_dma(crypto_aead_reqtfm(req));
1569 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
1616 struct caam_ctx *ctx = crypto_skcipher_ctx_dma(skcipher);
1780 struct caam_ctx *ctx = crypto_skcipher_ctx_dma(crypto_skcipher_reqtfm(req));
1814 struct caam_ctx *ctx = crypto_skcipher_ctx_dma(skcipher);
3575 static int caam_init_common(struct caam_ctx *ctx, struct caam_alg_entry *caam,
3580 const size_t sh_desc_enc_offset = offsetof(struct caam_ctx,
3596 offsetof(struct caam_ctx,
3607 ctx->sh_desc_dec_dma = dma_addr + offsetof(struct caam_ctx,
3610 ctx->key_dma = dma_addr + offsetof(struct caam_ctx, key) -
3625 struct caam_ctx *ctx = crypto_skcipher_ctx_dma(tfm);
3660 struct caam_ctx *ctx = crypto_aead_ctx_dma(tfm);
3667 static void caam_exit_common(struct caam_ctx *ctx)
3670 offsetof(struct caam_ctx, sh_desc_enc_dma) -
3671 offsetof(struct caam_ctx, sh_desc_enc),
3678 struct caam_ctx *ctx = crypto_skcipher_ctx_dma(tfm);
3715 alg->base.cra_ctxsize = sizeof(struct caam_ctx) + crypto_dma_padding();
3729 alg->base.cra_ctxsize = sizeof(struct caam_ctx) + crypto_dma_padding();