Lines Matching refs:tfm
116 static inline struct rsa_mpi_key *rsa_get_key(struct crypto_akcipher *tfm)
118 return akcipher_tfm_ctx(tfm);
123 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
124 const struct rsa_mpi_key *pkey = rsa_get_key(tfm);
162 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
163 const struct rsa_mpi_key *pkey = rsa_get_key(tfm);
264 static int rsa_set_pub_key(struct crypto_akcipher *tfm, const void *key,
267 struct rsa_mpi_key *mpi_key = akcipher_tfm_ctx(tfm);
303 static int rsa_set_priv_key(struct crypto_akcipher *tfm, const void *key,
306 struct rsa_mpi_key *mpi_key = akcipher_tfm_ctx(tfm);
366 static unsigned int rsa_max_size(struct crypto_akcipher *tfm)
368 struct rsa_mpi_key *pkey = akcipher_tfm_ctx(tfm);
373 static void rsa_exit_tfm(struct crypto_akcipher *tfm)
375 struct rsa_mpi_key *pkey = akcipher_tfm_ctx(tfm);