1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-11-03 20:33:16 +03:00
Files
mbedtls/library
Manuel Pégourié-Gonnard d18f0519a5 Move internal drbg init to specific mul functions
While it seems cleaner and more convenient to set it in the top-level
mbedtls_ecp_mul() function, the existence of the restartable option changes
things - when it's enabled the drbg context needs to be saved in the restart
context (more precisely in the restart_mul sub-context), which can only be
done when it's allocated, which is in the curve-specific mul function.

This commit only internal drbg management from mbedtls_ecp_mul() to
ecp_mul_mxz() and ecp_mul_comb(), without modifying behaviour (even internal),
and a future commit will modify the ecp_mul_comb() version to handle restart
properly.

Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
2020-06-16 10:52:20 +02:00
..
2019-02-11 21:13:33 +00:00
2020-06-09 11:31:30 +02:00
2019-04-24 10:51:54 +02:00
2019-07-10 18:35:10 +03:00
2019-04-24 10:51:54 +02:00
2018-07-23 18:18:32 +01:00
2020-04-08 17:17:27 +01:00
2019-04-24 10:51:54 +02:00
2019-07-08 15:44:18 +02:00
2019-04-24 10:51:54 +02:00
2018-11-06 13:12:47 +00:00
2019-04-24 10:51:54 +02:00
2020-02-18 10:49:06 +01:00
2019-04-24 10:51:54 +02:00
2019-04-24 10:51:54 +02:00
2017-10-29 17:53:52 +02:00
2019-06-20 16:33:02 +01:00
2018-10-07 17:48:37 +01:00