Searched refs:mpi_get_size (Results 1 – 5 of 5) sorted by relevance
230 if (rsa_check_key_length(mpi_get_size(mpi_key->n) << 3)) { in rsa_set_pub_key()288 if (rsa_check_key_length(mpi_get_size(mpi_key->n) << 3)) { in rsa_set_priv_key()304 return mpi_get_size(pkey->n); in rsa_max_size()
254 return mpi_get_size(ctx->p); in dh_max_size()
261 unsigned int n = mpi_get_size(a); in mpi_read_buffer()319 n = mpi_get_size(a); in mpi_get_buffer()365 unsigned int n = mpi_get_size(a); in mpi_write_to_sgl()
274 static inline unsigned int mpi_get_size(MPI a) in mpi_get_size() function
470 return mpi_get_size(rsa_ctx->n); in virtio_crypto_rsa_max_size()