Searched refs:mpi_key (Results 1 – 1 of 1) sorted by relevance
237 struct rsa_mpi_key *mpi_key = akcipher_tfm_ctx(tfm); in rsa_set_pub_key() local242 rsa_free_mpi_key(mpi_key); in rsa_set_pub_key()248 mpi_key->e = mpi_read_raw_data(raw_key.e, raw_key.e_sz); in rsa_set_pub_key()249 if (!mpi_key->e) in rsa_set_pub_key()252 mpi_key->n = mpi_read_raw_data(raw_key.n, raw_key.n_sz); in rsa_set_pub_key()253 if (!mpi_key->n) in rsa_set_pub_key()256 if (rsa_check_key_length(mpi_get_size(mpi_key->n) << 3)) { in rsa_set_pub_key()257 rsa_free_mpi_key(mpi_key); in rsa_set_pub_key()261 if (fips_enabled && rsa_check_exponent_fips(mpi_key->e)) { in rsa_set_pub_key()262 rsa_free_mpi_key(mpi_key); in rsa_set_pub_key()[all …]