Searched refs:mpi_key (Results 1 – 1 of 1) sorted by relevance
272 struct rsa_mpi_key *mpi_key = akcipher_tfm_ctx(tfm); in rsa_set_pub_key() local277 rsa_free_mpi_key(mpi_key); in rsa_set_pub_key()283 mpi_key->e = mpi_read_raw_data(raw_key.e, raw_key.e_sz); in rsa_set_pub_key()284 if (!mpi_key->e) in rsa_set_pub_key()287 mpi_key->n = mpi_read_raw_data(raw_key.n, raw_key.n_sz); in rsa_set_pub_key()288 if (!mpi_key->n) in rsa_set_pub_key()291 if (rsa_check_key_length(mpi_get_size(mpi_key->n) << 3)) { in rsa_set_pub_key()292 rsa_free_mpi_key(mpi_key); in rsa_set_pub_key()296 if (fips_enabled && rsa_check_exponent_fips(mpi_key->e)) { in rsa_set_pub_key()297 rsa_free_mpi_key(mpi_key); in rsa_set_pub_key()[all …]