mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-05-04 01:00:17 +02:00
mbedtls_mpi_mod_raw_random() and mbedtls_mpi_mod_random() were producing output in the Montgomery representation, instead of obeying the representation chosen in the modulus structure. Fix this. Duplicate the test cases for mod-random output to have separate test cases for each representation. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
10 KiB
10 KiB