Lines Matching refs:rsa_mpi_key
15 struct rsa_mpi_key { struct
25 static int _rsa_enc(const struct rsa_mpi_key *key, MPI c, MPI m) in _rsa_enc() argument
39 static int _rsa_dec(const struct rsa_mpi_key *key, MPI m, MPI c) in _rsa_dec()
49 static inline struct rsa_mpi_key *rsa_get_key(struct crypto_akcipher *tfm) in rsa_get_key()
57 const struct rsa_mpi_key *pkey = rsa_get_key(tfm); in rsa_enc()
96 const struct rsa_mpi_key *pkey = rsa_get_key(tfm); in rsa_dec()
131 static void rsa_free_mpi_key(struct rsa_mpi_key *key) in rsa_free_mpi_key()
159 struct rsa_mpi_key *mpi_key = akcipher_tfm_ctx(tfm); in rsa_set_pub_key()
193 struct rsa_mpi_key *mpi_key = akcipher_tfm_ctx(tfm); in rsa_set_priv_key()
230 struct rsa_mpi_key *pkey = akcipher_tfm_ctx(tfm); in rsa_max_size()
237 struct rsa_mpi_key *pkey = akcipher_tfm_ctx(tfm); in rsa_exit_tfm()
254 .cra_ctxsize = sizeof(struct rsa_mpi_key),