Files
mbedtls/library
Manuel Pégourié-Gonnard 601128eb58 Fix potential memory overread in seed functions
The previous commit introduced a potential memory overread by reading
secret_len bytes from secret->p, while the is no guarantee that secret has
enough limbs for that.

Fix that by using an intermediate buffer and mpi_write_binary().

Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
2020-06-19 10:56:55 +02:00
..
2019-02-11 21:10:48 +00:00
2020-06-09 11:54:20 +02:00
2020-02-04 09:52:27 +01:00
2018-06-21 14:03:14 +03:00
2020-04-08 17:22:51 +01:00
2019-10-25 09:01:34 +01:00
2019-07-08 15:26:09 +02:00
2018-11-05 12:17:15 +00:00
2018-02-22 08:20:42 +00:00
2018-02-22 08:20:42 +00:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2020-02-18 11:27:08 +01:00
2017-10-29 17:53:52 +02:00
2019-06-20 16:28:10 +01:00
2015-09-04 14:21:07 +02:00
2018-12-05 23:23:39 +00:00
2015-09-04 14:21:07 +02:00