Lines Matching refs:tfm
59 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_pub_unmap() local
60 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); in rsa_pub_unmap()
71 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_priv_f1_unmap() local
72 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); in rsa_priv_f1_unmap()
83 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_priv_f2_unmap() local
84 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); in rsa_priv_f2_unmap()
100 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_priv_f3_unmap() local
101 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); in rsa_priv_f3_unmap()
150 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_priv_f_done() local
152 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); in rsa_priv_f_done()
246 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in rsa_edesc_alloc() local
247 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); in rsa_edesc_alloc()
374 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in akcipher_do_one_req() local
376 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); in akcipher_do_one_req()
402 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in set_rsa_pub_pdb() local
404 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); in set_rsa_pub_pdb()
448 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in set_rsa_priv_f1_pdb() local
449 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); in set_rsa_priv_f1_pdb()
495 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in set_rsa_priv_f2_pdb() local
496 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); in set_rsa_priv_f2_pdb()
572 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in set_rsa_priv_f3_pdb() local
573 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); in set_rsa_priv_f3_pdb()
668 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in akcipher_enqueue_req() local
669 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); in akcipher_enqueue_req()
711 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in caam_rsa_enc() local
712 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); in caam_rsa_enc()
750 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in caam_rsa_dec_priv_f1() local
751 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); in caam_rsa_dec_priv_f1()
779 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in caam_rsa_dec_priv_f2() local
780 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); in caam_rsa_dec_priv_f2()
808 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in caam_rsa_dec_priv_f3() local
809 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); in caam_rsa_dec_priv_f3()
837 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in caam_rsa_dec() local
838 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); in caam_rsa_dec()
938 static int caam_rsa_set_pub_key(struct crypto_akcipher *tfm, const void *key, in caam_rsa_set_pub_key() argument
941 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); in caam_rsa_set_pub_key()
1040 static int caam_rsa_set_priv_key(struct crypto_akcipher *tfm, const void *key, in caam_rsa_set_priv_key() argument
1043 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); in caam_rsa_set_priv_key()
1092 static unsigned int caam_rsa_max_size(struct crypto_akcipher *tfm) in caam_rsa_max_size() argument
1094 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); in caam_rsa_max_size()
1100 static int caam_rsa_init_tfm(struct crypto_akcipher *tfm) in caam_rsa_init_tfm() argument
1102 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); in caam_rsa_init_tfm()
1126 static void caam_rsa_exit_tfm(struct crypto_akcipher *tfm) in caam_rsa_exit_tfm() argument
1128 struct caam_rsa_ctx *ctx = akcipher_tfm_ctx(tfm); in caam_rsa_exit_tfm()