Home
last modified time | relevance | path

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

/crypto/
Drsa.c240 struct rsa_key raw_key = {0}; in rsa_set_pub_key() local
246 ret = rsa_parse_pub_key(&raw_key, key, keylen); in rsa_set_pub_key()
250 mpi_key->e = mpi_read_raw_data(raw_key.e, raw_key.e_sz); in rsa_set_pub_key()
254 mpi_key->n = mpi_read_raw_data(raw_key.n, raw_key.n_sz); in rsa_set_pub_key()
279 struct rsa_key raw_key = {0}; in rsa_set_priv_key() local
285 ret = rsa_parse_priv_key(&raw_key, key, keylen); in rsa_set_priv_key()
289 mpi_key->d = mpi_read_raw_data(raw_key.d, raw_key.d_sz); in rsa_set_priv_key()
293 mpi_key->e = mpi_read_raw_data(raw_key.e, raw_key.e_sz); in rsa_set_priv_key()
297 mpi_key->n = mpi_read_raw_data(raw_key.n, raw_key.n_sz); in rsa_set_priv_key()
301 mpi_key->p = mpi_read_raw_data(raw_key.p, raw_key.p_sz); in rsa_set_priv_key()
[all …]