Home
last modified time | relevance | path

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

/openbmc/linux/crypto/
H A Drsa.c258 if (rsa_check_key_length(mpi_get_size(mpi_key->n) << 3)) { in rsa_set_pub_key()
321 if (rsa_check_key_length(mpi_get_size(mpi_key->n) << 3)) { in rsa_set_priv_key()
342 return mpi_get_size(pkey->n); in rsa_max_size()
H A Ddh.c254 return mpi_get_size(ctx->p); in dh_max_size()
/openbmc/linux/lib/crypto/mpi/
H A Dmpicoder.c261 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()
/openbmc/linux/include/linux/
H A Dmpi.h274 static inline unsigned int mpi_get_size(MPI a) in mpi_get_size() function
/openbmc/linux/drivers/crypto/virtio/
H A Dvirtio_crypto_akcipher_algs.c471 return mpi_get_size(rsa_ctx->n); in virtio_crypto_rsa_max_size()