Gilles Peskine e1d8326e90 Fix representation of mod-random output
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>
2022-12-20 20:28:02 +01:00
..
2022-11-30 12:16:21 +00:00
2022-11-22 17:32:43 +00:00
2022-11-22 17:32:44 +00:00
2022-11-25 17:11:45 +00:00
2022-11-22 17:32:44 +00:00
2022-12-04 17:19:59 +00:00
2022-11-22 17:32:44 +00:00
2022-10-07 14:08:42 +01:00
2022-12-08 07:28:29 -05:00
2022-11-22 17:32:44 +00:00
2022-10-13 14:30:03 +01:00
2022-12-04 17:19:59 +00:00
2022-10-13 16:47:13 +01:00
2022-11-22 17:32:44 +00:00
2022-12-04 17:19:59 +00:00
2022-12-09 10:09:34 +01:00
2022-11-24 09:27:15 +00:00
2022-12-04 17:19:59 +00:00
2022-12-04 17:19:59 +00:00
2022-10-19 08:35:09 -04:00
2022-11-29 15:19:27 +08:00
2022-12-04 17:19:59 +00:00
2022-12-04 17:19:59 +00:00
2022-10-28 12:51:35 -04:00
2022-12-04 17:19:59 +00:00