Lines Matching refs:caam_ctx
181 struct caam_ctx { struct
200 static void append_key_aead(u32 *desc, struct caam_ctx *ctx, in append_key_aead() argument
242 static void init_sh_desc_key_aead(u32 *desc, struct caam_ctx *ctx, in init_sh_desc_key_aead()
262 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_null_set_sh_desc()
453 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_set_sh_desc()
731 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in aead_setauthsize()
742 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_set_sh_desc()
961 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in gcm_setauthsize()
972 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4106_set_sh_desc()
1242 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in rfc4106_setauthsize()
1253 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4543_set_sh_desc()
1637 struct caam_ctx *ctx = crypto_aead_ctx(authenc); in rfc4543_setauthsize()
1645 static u32 gen_split_aead_key(struct caam_ctx *ctx, const u8 *key_in, in gen_split_aead_key()
1658 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_setkey()
1721 struct caam_ctx *ctx = crypto_aead_ctx(aead); in gcm_setkey()
1751 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4106_setkey()
1790 struct caam_ctx *ctx = crypto_aead_ctx(aead); in rfc4543_setkey()
1829 struct caam_ctx *ctx = crypto_ablkcipher_ctx(ablkcipher); in ablkcipher_setkey()
2189 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_encrypt_done()
2228 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_decrypt_done()
2351 struct caam_ctx *ctx = crypto_aead_ctx(aead); in init_aead_job()
2436 struct caam_ctx *ctx = crypto_aead_ctx(aead); in init_aead_giv_job()
2616 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_edesc_alloc()
2759 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_encrypt()
2796 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_decrypt()
2844 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_giv_edesc_alloc()
3007 struct caam_ctx *ctx = crypto_aead_ctx(aead); in aead_givencrypt()
3060 struct caam_ctx *ctx = crypto_ablkcipher_ctx(ablkcipher); in ablkcipher_edesc_alloc()
3158 struct caam_ctx *ctx = crypto_ablkcipher_ctx(ablkcipher); in ablkcipher_encrypt()
3195 struct caam_ctx *ctx = crypto_ablkcipher_ctx(ablkcipher); in ablkcipher_decrypt()
3239 struct caam_ctx *ctx = crypto_ablkcipher_ctx(ablkcipher); in ablkcipher_giv_edesc_alloc()
3339 struct caam_ctx *ctx = crypto_ablkcipher_ctx(ablkcipher); in ablkcipher_givencrypt()
4140 struct caam_ctx *ctx = crypto_tfm_ctx(tfm); in caam_cra_init()
4158 struct caam_ctx *ctx = crypto_tfm_ctx(tfm); in caam_cra_exit()
4220 alg->cra_ctxsize = sizeof(struct caam_ctx); in caam_alg_alloc()