Lines Matching refs:caam_ctx
64 struct caam_ctx { struct
89 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead); in aead_set_sh_desc() argument
192 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); in aead_setauthsize()
203 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead); in aead_setkey()
307 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead); in gcm_set_sh_desc()
350 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); in gcm_setauthsize()
366 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead); in gcm_setkey()
410 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead); in rfc4106_set_sh_desc()
454 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); in rfc4106_setauthsize()
470 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead); in rfc4106_setkey()
518 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead); in rfc4543_set_sh_desc()
562 struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc); in rfc4543_setauthsize()
576 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead); in rfc4543_setkey()
625 struct caam_ctx *ctx = crypto_skcipher_ctx_dma(skcipher); in skcipher_setkey()
739 struct caam_ctx *ctx = crypto_skcipher_ctx_dma(skcipher); in xts_skcipher_setkey()
834 static struct caam_drv_ctx *get_drv_ctx(struct caam_ctx *ctx, in get_drv_ctx()
923 struct caam_ctx *caam_ctx = crypto_aead_ctx_dma(aead); in aead_done() local
926 qidev = caam_ctx->qidev; in aead_done()
945 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead); in aead_edesc_alloc()
1165 struct caam_ctx *ctx = crypto_aead_ctx_dma(aead); in aead_crypt()
1221 struct caam_ctx *caam_ctx = crypto_skcipher_ctx_dma(skcipher); in skcipher_done() local
1222 struct device *qidev = caam_ctx->qidev; in skcipher_done()
1258 struct caam_ctx *ctx = crypto_skcipher_ctx_dma(skcipher); in skcipher_edesc_alloc()
1424 struct caam_ctx *ctx = crypto_skcipher_ctx_dma(skcipher); in skcipher_crypt()
2461 static int caam_init_common(struct caam_ctx *ctx, struct caam_alg_entry *caam, in caam_init_common()
2510 struct caam_ctx *ctx = crypto_skcipher_ctx_dma(tfm); in caam_cra_init()
2543 struct caam_ctx *ctx = crypto_aead_ctx_dma(tfm); in caam_aead_init()
2548 static void caam_exit_common(struct caam_ctx *ctx) in caam_exit_common()
2561 struct caam_ctx *ctx = crypto_skcipher_ctx_dma(tfm); in caam_cra_exit()
2598 alg->base.cra_ctxsize = sizeof(struct caam_ctx) + crypto_dma_padding(); in caam_skcipher_alg_init()
2612 alg->base.cra_ctxsize = sizeof(struct caam_ctx) + crypto_dma_padding(); in caam_aead_alg_init()