Home
last modified time | relevance | path

Searched refs:mpi_key (Results 1 – 1 of 1) sorted by relevance

/crypto/
Drsa.c159 struct rsa_mpi_key *mpi_key = akcipher_tfm_ctx(tfm); in rsa_set_pub_key() local
164 rsa_free_mpi_key(mpi_key); in rsa_set_pub_key()
170 mpi_key->e = mpi_read_raw_data(raw_key.e, raw_key.e_sz); in rsa_set_pub_key()
171 if (!mpi_key->e) in rsa_set_pub_key()
174 mpi_key->n = mpi_read_raw_data(raw_key.n, raw_key.n_sz); in rsa_set_pub_key()
175 if (!mpi_key->n) in rsa_set_pub_key()
178 if (rsa_check_key_length(mpi_get_size(mpi_key->n) << 3)) { in rsa_set_pub_key()
179 rsa_free_mpi_key(mpi_key); in rsa_set_pub_key()
186 rsa_free_mpi_key(mpi_key); in rsa_set_pub_key()
193 struct rsa_mpi_key *mpi_key = akcipher_tfm_ctx(tfm); in rsa_set_priv_key() local
[all …]