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-01-08 16:34:19 +00:00
2019-01-30 16:09:08 +00:00
2019-01-08 16:34:19 +00:00
2018-12-19 12:51:00 +00:00
2018-03-13 17:18:06 +01:00
2019-04-24 10:51:54 +02:00
2019-01-30 16:09:08 +00:00
2019-11-11 12:32:12 +00:00
2018-12-19 15:48:37 +00:00
2019-08-03 14:22:32 +02:00
2019-01-08 16:34:19 +00:00
2019-01-30 16:09:08 +00:00
2019-05-30 10:27:49 +01:00
2018-12-18 15:30:30 +00:00
2018-12-18 15:30:30 +00:00
2020-06-16 10:51:42 +02:00
2018-07-01 10:22:53 +03:00
2018-12-28 11:11:10 +08:00
2018-12-16 12:02:50 +02:00
2018-12-16 12:02:50 +02:00
2020-06-16 10:51:42 +02:00
2019-10-28 21:15:46 +01:00
2018-12-06 12:22:46 +00:00
2019-01-08 16:34:19 +00:00
2019-01-08 16:34:19 +00:00
2019-01-30 16:09:08 +00:00
2019-03-06 14:41:44 +00:00
2019-01-30 16:09:08 +00:00
2018-12-16 12:02:50 +02:00
2019-02-21 16:58:20 +01:00
2018-01-23 15:44:39 +00:00
2018-07-24 10:02:47 +02:00
2020-06-12 09:36:39 +02:00
2019-01-30 16:09:08 +00:00
2018-12-16 12:14:37 +02:00
2019-07-31 14:04:38 +03:00
2019-10-23 18:00:03 +02:00
2019-01-08 16:34:19 +00:00
2019-01-08 16:34:19 +00:00
2019-01-08 16:34:19 +00:00
2018-01-25 14:47:39 +00:00
2020-06-16 10:52:20 +02:00
2018-01-23 15:44:39 +00:00
2018-08-10 11:17:14 +01:00
2018-12-16 12:02:50 +02:00
2018-12-16 12:14:37 +02:00
2018-08-10 11:17:14 +01:00
2019-04-24 10:51:54 +02:00
2018-12-16 12:02:50 +02:00
2018-06-13 09:52:54 +02:00
2019-06-06 13:13:54 +02:00
2019-01-30 16:09:08 +00:00
2018-07-24 10:02:47 +02:00
2018-12-16 12:14:37 +02:00
2018-01-23 15:44:39 +00:00
2019-06-17 19:07:42 +02:00
2018-11-09 13:57:37 +00:00
2018-12-28 11:11:10 +08:00
2019-01-08 16:34:19 +00:00
2018-04-04 09:19:27 +02:00
2019-06-24 11:40:59 +01:00
2019-01-08 16:34:19 +00:00
2019-01-08 16:34:19 +00:00
2019-01-08 16:34:19 +00:00
2018-12-16 12:14:37 +02:00
2018-12-16 12:02:50 +02:00
2018-12-16 12:02:50 +02:00
2020-06-12 09:42:16 +02:00
2019-02-18 14:50:57 +00:00
2020-06-12 09:40:07 +02:00
2018-11-09 15:01:07 +00:00
2018-07-24 10:02:47 +02:00
2020-04-08 17:17:27 +01:00
2019-02-18 14:50:57 +00:00
2019-04-24 10:51:54 +02:00
2019-02-11 21:25:09 +00:00
2019-02-18 14:50:57 +00:00
2019-01-08 16:34:19 +00:00