Home
last modified time | relevance | path

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

/linux/crypto/
H A Drsa_helper.c19 struct rsa_key *key = context; in rsa_get_n()
49 struct rsa_key *key = context; in rsa_get_e()
64 struct rsa_key *key = context; in rsa_get_d()
79 struct rsa_key *key = context; in rsa_get_p()
94 struct rsa_key *key = context; in rsa_get_q()
109 struct rsa_key *key = context; in rsa_get_dp()
124 struct rsa_key *key = context; in rsa_get_dq()
139 struct rsa_key *key = context; in rsa_get_qinv()
162 int rsa_parse_pub_key(struct rsa_key *rsa_key, const void *key, in rsa_parse_pub_key() argument
165 return asn1_ber_decoder(&rsapubkey_decoder, rsa_key, key, key_len); in rsa_parse_pub_key()
[all …]
/linux/drivers/crypto/virtio/
H A Dvirtio_crypto_akcipher_algs.c349 struct rsa_key rsa_key = {0}; in virtio_crypto_rsa_set_key() local
357 ret = rsa_parse_priv_key(&rsa_key, key, keylen); in virtio_crypto_rsa_set_key()
360 ret = rsa_parse_pub_key(&rsa_key, key, keylen); in virtio_crypto_rsa_set_key()
366 n = mpi_read_raw_data(rsa_key.n, rsa_key.n_sz); in virtio_crypto_rsa_set_key()
/linux/drivers/crypto/aspeed/
H A Daspeed-acry.c115 struct rsa_key key;