Lines Matching defs:ctx

198 static void append_key_aead(u32 *desc, struct caam_ctx *ctx,  in append_key_aead()
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() local
434 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_set_sh_desc() local
717 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in aead_setauthsize() local
727 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_set_sh_desc() local
917 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in gcm_setauthsize() local
927 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4106_set_sh_desc() local
1090 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in rfc4106_setauthsize() local
1100 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4543_set_sh_desc() local
1267 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in rfc4543_setauthsize() local
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() local
1351 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_setkey() local
1381 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4106_setkey() local
1420 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4543_setkey() local
1459 struct caam_ctx *ctx = crypto_ablkcipher_ctx(ablkcipher); in ablkcipher_setkey() local
1711 struct caam_ctx *ctx = crypto_ablkcipher_ctx(ablkcipher); in xts_ablkcipher_setkey() local
2035 struct caam_ctx *ctx = crypto_aead_ctx(aead); in init_aead_job() local
2094 struct caam_ctx *ctx = crypto_aead_ctx(aead); in init_gcm_job() local
2126 struct caam_ctx *ctx = crypto_aead_ctx(aead); in init_authenc_job() local
2270 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_edesc_alloc() local
2377 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_encrypt() local
2420 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_encrypt() local
2456 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_decrypt() local
2499 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_decrypt() local
2559 struct caam_ctx *ctx = crypto_ablkcipher_ctx(ablkcipher); in ablkcipher_edesc_alloc() local
2654 struct caam_ctx *ctx = crypto_ablkcipher_ctx(ablkcipher); in ablkcipher_encrypt() local
2691 struct caam_ctx *ctx = crypto_ablkcipher_ctx(ablkcipher); in ablkcipher_decrypt() local
2735 struct caam_ctx *ctx = crypto_ablkcipher_ctx(ablkcipher); in ablkcipher_giv_edesc_alloc() local
2832 struct caam_ctx *ctx = crypto_ablkcipher_ctx(ablkcipher); in ablkcipher_givencrypt() local
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() local
4359 struct caam_ctx *ctx = crypto_aead_ctx(tfm); in caam_aead_init() local
4364 static void caam_exit_common(struct caam_ctx *ctx) in caam_exit_common()