Lines Matching refs:tfm

65 	struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);  in rsa_pub_unmap()  local
66 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in rsa_pub_unmap()
77 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_priv_f1_unmap() local
78 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in rsa_priv_f1_unmap()
89 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_priv_f2_unmap() local
90 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in rsa_priv_f2_unmap()
106 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_priv_f3_unmap() local
107 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in rsa_priv_f3_unmap()
156 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_priv_f_done() local
158 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in rsa_priv_f_done()
252 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_edesc_alloc() local
253 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in rsa_edesc_alloc()
379 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in akcipher_do_one_req() local
381 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in akcipher_do_one_req()
407 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in set_rsa_pub_pdb() local
409 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in set_rsa_pub_pdb()
453 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in set_rsa_priv_f1_pdb() local
454 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in set_rsa_priv_f1_pdb()
500 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in set_rsa_priv_f2_pdb() local
501 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in set_rsa_priv_f2_pdb()
577 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in set_rsa_priv_f3_pdb() local
578 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in set_rsa_priv_f3_pdb()
673 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in akcipher_enqueue_req() local
674 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in akcipher_enqueue_req()
716 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in caam_rsa_enc() local
717 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in caam_rsa_enc()
755 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in caam_rsa_dec_priv_f1() local
756 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in caam_rsa_dec_priv_f1()
784 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in caam_rsa_dec_priv_f2() local
785 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in caam_rsa_dec_priv_f2()
813 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in caam_rsa_dec_priv_f3() local
814 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in caam_rsa_dec_priv_f3()
842 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in caam_rsa_dec() local
843 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in caam_rsa_dec()
943 static int caam_rsa_set_pub_key(struct crypto_akcipher *tfm, const void *key, in caam_rsa_set_pub_key() argument
946 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in caam_rsa_set_pub_key()
1048 static int caam_rsa_set_priv_key(struct crypto_akcipher *tfm, const void *key, in caam_rsa_set_priv_key() argument
1051 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in caam_rsa_set_priv_key()
1100 static unsigned int caam_rsa_max_size(struct crypto_akcipher *tfm) in caam_rsa_max_size() argument
1102 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in caam_rsa_max_size()
1108 static int caam_rsa_init_tfm(struct crypto_akcipher *tfm) in caam_rsa_init_tfm() argument
1110 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in caam_rsa_init_tfm()
1112 akcipher_set_reqsize(tfm, sizeof(struct caam_rsa_req_ctx)); in caam_rsa_init_tfm()
1134 static void caam_rsa_exit_tfm(struct crypto_akcipher *tfm) in caam_rsa_exit_tfm() argument
1136 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx_dma(tfm); in caam_rsa_exit_tfm()