Lines Matching refs:caam_ctx

57 struct caam_ctx {  struct
76 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_set_sh_desc() argument
179 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in aead_setauthsize()
190 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_setkey()
295 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_set_sh_desc()
338 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in gcm_setauthsize()
354 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_setkey()
400 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4106_set_sh_desc()
444 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in rfc4106_setauthsize()
460 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4106_setkey()
510 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4543_set_sh_desc()
554 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in rfc4543_setauthsize()
568 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4543_setkey()
619 struct caam_ctx *ctx = crypto_skcipher_ctx(skcipher); in skcipher_setkey()
745 struct caam_ctx *ctx = crypto_skcipher_ctx(skcipher); in xts_skcipher_setkey()
831 static struct caam_drv_ctx *get_drv_ctx(struct caam_ctx *ctx, in get_drv_ctx()
920 struct caam_ctx *caam_ctx = crypto_aead_ctx(aead); in aead_done() local
923 qidev = caam_ctx->qidev; in aead_done()
942 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_edesc_alloc()
1162 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_crypt()
1212 struct caam_ctx *caam_ctx = crypto_skcipher_ctx(skcipher); in skcipher_done() local
1213 struct device *qidev = caam_ctx->qidev; in skcipher_done()
1250 struct caam_ctx *ctx = crypto_skcipher_ctx(skcipher); in skcipher_edesc_alloc()
1402 struct caam_ctx *ctx = crypto_skcipher_ctx(skcipher); in skcipher_crypt()
2416 static int caam_init_common(struct caam_ctx *ctx, struct caam_alg_entry *caam, in caam_init_common()
2475 struct caam_ctx *ctx = crypto_aead_ctx(tfm); in caam_aead_init()
2480 static void caam_exit_common(struct caam_ctx *ctx) in caam_exit_common()
2526 alg->base.cra_ctxsize = sizeof(struct caam_ctx); in caam_skcipher_alg_init()
2539 alg->base.cra_ctxsize = sizeof(struct caam_ctx); in caam_aead_alg_init()