mbedtls/include/mbedtls
Manuel Pégourié-Gonnard c52a43c2bd 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-08 09:09:20 +02:00
..
aes.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00
aesni.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00
arc4.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00
aria.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00
asn1.h Revert "asn1: Remove dependency on X.509" 2020-03-19 14:23:45 +01:00
asn1write.h Add ASN.1 ENUMERATED tag support 2019-10-31 19:17:26 +02:00
base64.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00
bignum.h Bignum: Document assumptions about the sign field 2019-11-04 10:39:20 +00:00
blowfish.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00
bn_mul.h Fix -O0 build for Aarch64 bignum multiplication. 2019-09-02 13:44:57 +02:00
camellia.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00
ccm.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00
certs.h Revert "Remove certs.h" 2020-03-04 15:39:14 +01:00
chacha20.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00
chachapoly.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00
check_config.h Add config.h option MBEDTLS_ECP_NO_INTERNAL_RNG 2020-06-08 09:09:20 +02:00
cipher.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00
cipher_internal.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00
cmac.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00
compat-1.3.h Rename identifiers containing double-underscore 2020-03-23 17:55:32 +01:00
config.h Add config.h option MBEDTLS_ECP_NO_INTERNAL_RNG 2020-06-08 09:09:20 +02:00
ctr_drbg.h ctr_drbg: Clarify reseed_counter values before seeding 2020-01-09 13:48:52 +00:00
debug.h Revert "Remove unused TLS, NET, and X.509 files" 2020-03-19 13:36:33 +01:00
des.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00
dhm.h DHM functions are not part of x509 2020-03-19 14:23:45 +01:00
ecdh.h Add mbedtls_ecdh_can_do 2019-08-19 13:37:46 +01:00
ecdsa.h ECDSA: Explain limitations of constant blinding 2019-09-05 11:18:58 +01:00
ecjpake.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00
ecp.h Revert "ecp: Remove dependency on TLS and X.509" 2020-03-19 14:23:45 +01:00
ecp_internal.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00
entropy.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00
entropy_poll.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00
error.h Address review comments 2020-04-20 16:03:46 -07:00
gcm.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00
havege.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00
hkdf.h Merge pull request #196 from RonEld/fix_license_header 2019-08-16 09:26:41 +01:00
hmac_drbg.h fixup! HMAC_DRBG: support set_entropy_len() before seed() 2019-10-23 19:46:55 +02:00
md.h Implement use of internal DRBG for ecp_mul() 2020-06-08 09:09:20 +02:00
md2.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00
md4.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00
md5.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00
md_internal.h Implement NO_SHA384 in MD layer and PSA 2020-01-06 11:40:23 +01:00
memory_buffer_alloc.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00
net.h Revert "Remove unused TLS, NET, and X.509 files" 2020-03-19 13:36:33 +01:00
net_sockets.h Revert "Remove unused TLS, NET, and X.509 files" 2020-03-19 13:36:33 +01:00
nist_kw.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00
oid.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00
padlock.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00
pem.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00
pk.h Rename some signature-related identifiers 2019-11-26 18:20:59 +01:00
pk_internal.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00
pkcs5.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00
pkcs11.h Revert "Remove unused TLS, NET, and X.509 files" 2020-03-19 13:36:33 +01:00
pkcs12.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00
platform.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00
platform_time.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00
platform_util.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00
poly1305.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00
psa_util.h Change auxiliary functions for TLS to the new PSA EC curve encoding 2020-01-31 10:24:21 +01:00
ripemd160.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00
rsa.h Add documentation notes about the required size of the signature buffers 2019-11-13 12:15:35 +01:00
rsa_internal.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00
sha1.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00
sha256.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00
sha512.h Improve doxygen formatting 2020-01-24 10:57:25 +01:00
ssl.h Rename TLS 1.3 padding granularity macro 2020-06-02 06:16:00 +01:00
ssl_cache.h Revert "Remove unused TLS, NET, and X.509 files" 2020-03-19 13:36:33 +01:00
ssl_ciphersuites.h Rename identifiers containing double-underscore 2020-03-23 17:55:32 +01:00
ssl_cookie.h Revert "Remove unused TLS, NET, and X.509 files" 2020-03-19 13:36:33 +01:00
ssl_internal.h Add note on inner plaintext parsing to ssl_transform documentation 2020-05-28 10:32:23 +01:00
ssl_ticket.h Revert "Remove unused TLS, NET, and X.509 files" 2020-03-19 13:36:33 +01:00
threading.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00
timing.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00
version.h Bump version to Mbed TLS 2.22.0 2020-04-08 17:15:18 +01:00
x509.h Revert "Remove unused TLS, NET, and X.509 files" 2020-03-19 13:36:33 +01:00
x509_crl.h Revert "Remove unused TLS, NET, and X.509 files" 2020-03-19 13:36:33 +01:00
x509_crt.h Revert "Remove unused TLS, NET, and X.509 files" 2020-03-19 13:36:33 +01:00
x509_csr.h Revert "Remove unused TLS, NET, and X.509 files" 2020-03-19 13:36:33 +01:00
xtea.h Remove files sourced from Mbed Crypto 2019-08-15 15:44:50 +01:00