rsa_mpi_key
static inline struct rsa_mpi_key *rsa_get_key(struct crypto_akcipher *tfm)
const struct rsa_mpi_key *pkey = rsa_get_key(tfm);
const struct rsa_mpi_key *pkey = rsa_get_key(tfm);
static void rsa_free_mpi_key(struct rsa_mpi_key *key)
struct rsa_mpi_key *mpi_key = akcipher_tfm_ctx(tfm);
struct rsa_mpi_key *mpi_key = akcipher_tfm_ctx(tfm);
struct rsa_mpi_key *pkey = akcipher_tfm_ctx(tfm);
struct rsa_mpi_key *pkey = akcipher_tfm_ctx(tfm);
.cra_ctxsize = sizeof(struct rsa_mpi_key),
static int _rsa_enc(const struct rsa_mpi_key *key, MPI c, MPI m)
static int _rsa_dec_crt(const struct rsa_mpi_key *key, MPI m_or_m1_or_h, MPI c)