Lines Matching refs:caam_ctx
102 struct caam_ctx { struct
120 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_null_set_sh_desc() argument
173 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_set_sh_desc()
319 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in aead_setauthsize()
329 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_set_sh_desc()
379 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in gcm_setauthsize()
389 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4106_set_sh_desc()
442 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in rfc4106_setauthsize()
452 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4543_set_sh_desc()
505 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in rfc4543_setauthsize()
516 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_setkey()
584 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_setkey()
602 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4106_setkey()
628 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4543_setkey()
654 struct caam_ctx *ctx = crypto_ablkcipher_ctx(ablkcipher); in ablkcipher_setkey()
719 struct caam_ctx *ctx = crypto_ablkcipher_ctx(ablkcipher); in xts_ablkcipher_setkey()
975 struct caam_ctx *ctx = crypto_aead_ctx(aead); in init_aead_job()
1031 struct caam_ctx *ctx = crypto_aead_ctx(aead); in init_gcm_job()
1064 struct caam_ctx *ctx = crypto_aead_ctx(aead); in init_authenc_job()
1200 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_edesc_alloc()
1320 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_encrypt()
1363 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_encrypt()
1399 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_decrypt()
1442 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_decrypt()
1485 struct caam_ctx *ctx = crypto_ablkcipher_ctx(ablkcipher); in ablkcipher_edesc_alloc()
1606 struct caam_ctx *ctx = crypto_ablkcipher_ctx(ablkcipher); in ablkcipher_encrypt()
1640 struct caam_ctx *ctx = crypto_ablkcipher_ctx(ablkcipher); in ablkcipher_decrypt()
1688 struct caam_ctx *ctx = crypto_ablkcipher_ctx(ablkcipher); in ablkcipher_giv_edesc_alloc()
1809 struct caam_ctx *ctx = crypto_ablkcipher_ctx(ablkcipher); in ablkcipher_givencrypt()
3248 static int caam_init_common(struct caam_ctx *ctx, struct caam_alg_entry *caam, in caam_init_common()
3267 offsetof(struct caam_ctx, in caam_init_common()
3277 ctx->sh_desc_dec_dma = dma_addr + offsetof(struct caam_ctx, in caam_init_common()
3279 ctx->sh_desc_givenc_dma = dma_addr + offsetof(struct caam_ctx, in caam_init_common()
3281 ctx->key_dma = dma_addr + offsetof(struct caam_ctx, key); in caam_init_common()
3295 struct caam_ctx *ctx = crypto_tfm_ctx(tfm); in caam_cra_init()
3305 struct caam_ctx *ctx = crypto_aead_ctx(tfm); in caam_aead_init()
3311 static void caam_exit_common(struct caam_ctx *ctx) in caam_exit_common()
3314 offsetof(struct caam_ctx, sh_desc_enc_dma), in caam_exit_common()
3375 alg->cra_ctxsize = sizeof(struct caam_ctx); in caam_alg_alloc()
3401 alg->base.cra_ctxsize = sizeof(struct caam_ctx); in caam_aead_alg_init()