Lines Matching refs:caam_ctx

103 struct caam_ctx {  struct
119 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_null_set_sh_desc() argument
172 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_set_sh_desc()
300 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in aead_setauthsize()
310 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_set_sh_desc()
360 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in gcm_setauthsize()
375 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4106_set_sh_desc()
428 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in rfc4106_setauthsize()
443 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4543_set_sh_desc()
496 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in rfc4543_setauthsize()
509 struct caam_ctx *ctx = crypto_aead_ctx(aead); in chachapoly_set_sh_desc()
535 struct caam_ctx *ctx = crypto_aead_ctx(aead); in chachapoly_setauthsize()
547 struct caam_ctx *ctx = crypto_aead_ctx(aead); in chachapoly_setkey()
565 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_setkey()
647 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_setkey()
670 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4106_setkey()
698 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4543_setkey()
726 struct caam_ctx *ctx = crypto_skcipher_ctx(skcipher); in skcipher_setkey()
844 struct caam_ctx *ctx = crypto_skcipher_ctx(skcipher); in xts_skcipher_setkey()
1093 struct caam_ctx *ctx = crypto_aead_ctx(aead); in init_aead_job()
1154 struct caam_ctx *ctx = crypto_aead_ctx(aead); in init_gcm_job()
1221 struct caam_ctx *ctx = crypto_aead_ctx(aead); in init_authenc_job()
1270 struct caam_ctx *ctx = crypto_skcipher_ctx(skcipher); in init_skcipher_job()
1326 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_edesc_alloc()
1462 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_encrypt()
1496 struct caam_ctx *ctx = crypto_aead_ctx(aead); in chachapoly_encrypt()
1529 struct caam_ctx *ctx = crypto_aead_ctx(aead); in chachapoly_decrypt()
1567 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_encrypt()
1602 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_decrypt()
1641 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_decrypt()
1683 struct caam_ctx *ctx = crypto_skcipher_ctx(skcipher); in skcipher_edesc_alloc()
1841 struct caam_ctx *ctx = crypto_skcipher_ctx(skcipher); in skcipher_encrypt()
1878 struct caam_ctx *ctx = crypto_skcipher_ctx(skcipher); in skcipher_decrypt()
3408 static int caam_init_common(struct caam_ctx *ctx, struct caam_alg_entry *caam, in caam_init_common()
3427 offsetof(struct caam_ctx, in caam_init_common()
3437 ctx->sh_desc_dec_dma = dma_addr + offsetof(struct caam_ctx, in caam_init_common()
3439 ctx->key_dma = dma_addr + offsetof(struct caam_ctx, key); in caam_init_common()
3463 struct caam_ctx *ctx = crypto_aead_ctx(tfm); in caam_aead_init()
3468 static void caam_exit_common(struct caam_ctx *ctx) in caam_exit_common()
3471 offsetof(struct caam_ctx, sh_desc_enc_dma), in caam_exit_common()
3511 alg->base.cra_ctxsize = sizeof(struct caam_ctx); in caam_skcipher_alg_init()
3524 alg->base.cra_ctxsize = sizeof(struct caam_ctx); in caam_aead_alg_init()