Lines Matching refs:caam_ctx

179 struct caam_ctx {  struct
198 static void append_key_aead(u32 *desc, struct caam_ctx *ctx, in append_key_aead() argument
240 static void init_sh_desc_key_aead(u32 *desc, struct caam_ctx *ctx, in init_sh_desc_key_aead()
259 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_null_set_sh_desc()
434 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_set_sh_desc()
717 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in aead_setauthsize()
727 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_set_sh_desc()
917 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in gcm_setauthsize()
927 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4106_set_sh_desc()
1090 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in rfc4106_setauthsize()
1100 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4543_set_sh_desc()
1267 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in rfc4543_setauthsize()
1275 static u32 gen_split_aead_key(struct caam_ctx *ctx, const u8 *key_in, in gen_split_aead_key()
1288 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_setkey()
1351 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_setkey()
1381 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4106_setkey()
1420 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4543_setkey()
1459 struct caam_ctx *ctx = crypto_ablkcipher_ctx(ablkcipher); in ablkcipher_setkey()
1711 struct caam_ctx *ctx = crypto_ablkcipher_ctx(ablkcipher); in xts_ablkcipher_setkey()
2035 struct caam_ctx *ctx = crypto_aead_ctx(aead); in init_aead_job()
2094 struct caam_ctx *ctx = crypto_aead_ctx(aead); in init_gcm_job()
2126 struct caam_ctx *ctx = crypto_aead_ctx(aead); in init_authenc_job()
2270 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_edesc_alloc()
2377 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_encrypt()
2420 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_encrypt()
2456 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_decrypt()
2499 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_decrypt()
2559 struct caam_ctx *ctx = crypto_ablkcipher_ctx(ablkcipher); in ablkcipher_edesc_alloc()
2654 struct caam_ctx *ctx = crypto_ablkcipher_ctx(ablkcipher); in ablkcipher_encrypt()
2691 struct caam_ctx *ctx = crypto_ablkcipher_ctx(ablkcipher); in ablkcipher_decrypt()
2735 struct caam_ctx *ctx = crypto_ablkcipher_ctx(ablkcipher); in ablkcipher_giv_edesc_alloc()
2832 struct caam_ctx *ctx = crypto_ablkcipher_ctx(ablkcipher); in ablkcipher_givencrypt()
4328 static int caam_init_common(struct caam_ctx *ctx, struct caam_alg_entry *caam) in caam_init_common()
4349 struct caam_ctx *ctx = crypto_tfm_ctx(tfm); in caam_cra_init()
4359 struct caam_ctx *ctx = crypto_aead_ctx(tfm); in caam_aead_init()
4364 static void caam_exit_common(struct caam_ctx *ctx) in caam_exit_common()
4444 alg->cra_ctxsize = sizeof(struct caam_ctx); in caam_alg_alloc()
4471 alg->base.cra_ctxsize = sizeof(struct caam_ctx); in caam_aead_alg_init()