mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-11-24 12:01:11 +03:00
Replace calls to mbedtls_mpi_read_string() with a wrapper mbedtls_test_read_mpi() when reading test data except for the purpose of testing mbedtls_mpi_read_string() itself. The wrapper lets the test data control precisely how many limbs the constructed MPI has. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
5.0 KiB
5.0 KiB