Lines Matching refs:rsa_mpi_key
16 struct rsa_mpi_key { struct
26 static int _rsa_enc(const struct rsa_mpi_key *key, MPI c, MPI m) in _rsa_enc() argument
40 static int _rsa_dec(const struct rsa_mpi_key *key, MPI m, MPI c) in _rsa_dec()
50 static inline struct rsa_mpi_key *rsa_get_key(struct crypto_akcipher *tfm) in rsa_get_key()
58 const struct rsa_mpi_key *pkey = rsa_get_key(tfm); in rsa_enc()
97 const struct rsa_mpi_key *pkey = rsa_get_key(tfm); in rsa_dec()
132 static void rsa_free_mpi_key(struct rsa_mpi_key *key) in rsa_free_mpi_key()
163 struct rsa_mpi_key *mpi_key = akcipher_tfm_ctx(tfm); in rsa_set_pub_key()
197 struct rsa_mpi_key *mpi_key = akcipher_tfm_ctx(tfm); in rsa_set_priv_key()
234 struct rsa_mpi_key *pkey = akcipher_tfm_ctx(tfm); in rsa_max_size()
241 struct rsa_mpi_key *pkey = akcipher_tfm_ctx(tfm); in rsa_exit_tfm()
258 .cra_ctxsize = sizeof(struct rsa_mpi_key),