1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-11-05 08:10:38 +03:00
Files
mbedtls/library
Manuel Pégourié-Gonnard fb11d252b2 Implement use of internal DRBG for ecp_mul()
The case of MBEDTLS_ECP_RESTARTABLE isn't handled correctly yet: in that case
the DRBG instance should persist when resuming the operation. This will be
addressed in the next commit.

When both CTR_DRBG and HMAC_DRBG are available, CTR_DRBG is preferred since
both are suitable but CTR_DRBG tends to be faster and I needed a tie-breaker.

There are currently three possible cases to test:

- NO_INTERNAL_RNG is set -> tested in test_ecp_no_internal_rng
- it's unset and CTR_DRBG is available -> tested in the default config
- it's unset and CTR_DRBG is disabled -> tested in
  test_ecp_internal_rng_no_ctr_drbg

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