Gilles Peskine 5752e599b3 Reduce the default ECP window size
MBEDTLS_ECP_WINDOW_SIZE is a compromise between memory usage (growing based
on the value) and performance (faster with larger values). There are
disminishing returns as the value grows larger. Based on Manuel's benchmarks
recorded in https://github.com/ARMmbed/mbedtls/issues/4127, 4 is a good
compromise point, with larger values bringing little advantage. So reduce
the default from 6 to 4.

Document the default value as in optimized for performance mostly, but don't
document the specific value, so we may change it later or make it
platform-dependent.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2021-06-17 21:46:29 +02:00
..
aes.h Run MBEDTLS_PRIVATE wrapping script on the library. 2021-05-21 18:10:44 +02:00
arc4.h Run MBEDTLS_PRIVATE wrapping script on the library. 2021-05-21 18:10:44 +02:00
aria.h Merge branch 'development' into mbedtls_private_with_python 2021-05-27 16:02:46 +02:00
asn1.h Run MBEDTLS_PRIVATE wrapping script on the library. 2021-05-21 18:10:44 +02:00
asn1write.h Add missing const attribute to asn1write api 2021-01-27 15:37:12 +01:00
base64.h Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
bignum.h Merge branch 'development' into mbedtls_private_with_python 2021-06-07 09:49:01 +02:00
blowfish.h Run MBEDTLS_PRIVATE wrapping script on the library. 2021-05-21 18:10:44 +02:00
camellia.h Run MBEDTLS_PRIVATE wrapping script on the library. 2021-05-21 18:10:44 +02:00
ccm.h Merge branch 'development' into mbedtls_private_with_python 2021-06-07 09:49:01 +02:00
chacha20.h Run MBEDTLS_PRIVATE wrapping script on the library. 2021-05-21 18:10:44 +02:00
chachapoly.h Run MBEDTLS_PRIVATE wrapping script on the library. 2021-05-21 18:10:44 +02:00
check_config.h config: Allow Mbed to implement TIMING_C 2021-06-09 13:47:27 +01:00
cipher.h Merge branch 'development' into mbedtls_private_with_python 2021-06-07 09:49:01 +02:00
cmac.h Run MBEDTLS_PRIVATE wrapping script on the library. 2021-05-21 18:10:44 +02:00
compat-2.x.h change log and migr. guide fixes and _DEPRECATED_REMOVED removed 2021-06-14 11:16:06 +02:00
config_psa.h Define dependency symbols for hashless signature algorithms 2021-05-25 19:39:53 +02:00
config.h Reduce the default ECP window size 2021-06-17 21:46:29 +02:00
ctr_drbg.h Merge pull request #4629 from TRodziewicz/rename_functions_whose_deprecated_variants_have_been_removd 2021-06-15 20:32:07 +02:00
debug.h use proper formatting macros when using MinGW provided stdio 2021-05-12 12:59:30 -04:00
des.h Run MBEDTLS_PRIVATE wrapping script on the library. 2021-05-21 18:10:44 +02:00
dhm.h mbedtls_dhm_get_value parameter order: context first, output last 2021-06-15 00:14:28 +02:00
ecdh.h Extend setup_and_run script to cover remaining configurations. 2021-06-07 11:08:01 +02:00
ecdsa.h Extend setup_and_run script to cover remaining configurations. 2021-06-07 11:08:01 +02:00
ecjpake.h New function mbedtls_ecjpake_set_point_format 2021-06-15 00:12:37 +02:00
ecp.h Reduce the default ECP window size 2021-06-17 21:46:29 +02:00
entropy.h Extend setup_and_run script to cover remaining configurations. 2021-06-07 11:08:01 +02:00
error.h Merge pull request #4447 from hanno-arm/ssl_config_cleanup 2021-05-17 10:55:17 +02:00
gcm.h Run MBEDTLS_PRIVATE wrapping script on the library. 2021-05-21 18:10:44 +02:00
hkdf.h Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
hmac_drbg.h Merge pull request #4629 from TRodziewicz/rename_functions_whose_deprecated_variants_have_been_removd 2021-06-15 20:32:07 +02:00
md2.h Merge pull request #4629 from TRodziewicz/rename_functions_whose_deprecated_variants_have_been_removd 2021-06-15 20:32:07 +02:00
md4.h Merge pull request #4629 from TRodziewicz/rename_functions_whose_deprecated_variants_have_been_removd 2021-06-15 20:32:07 +02:00
md5.h Merge pull request #4629 from TRodziewicz/rename_functions_whose_deprecated_variants_have_been_removd 2021-06-15 20:32:07 +02:00
md.h Run MBEDTLS_PRIVATE wrapping script on the library. 2021-05-21 18:10:44 +02:00
memory_buffer_alloc.h Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
net_sockets.h Run MBEDTLS_PRIVATE wrapping script on the library. 2021-05-21 18:10:44 +02:00
nist_kw.h Run MBEDTLS_PRIVATE wrapping script on the library. 2021-05-21 18:10:44 +02:00
oid.h Merge branch 'development' into mbedtls_private_with_python 2021-06-07 09:49:01 +02:00
pem.h Run MBEDTLS_PRIVATE wrapping script on the library. 2021-05-21 18:10:44 +02:00
pk.h Merge branch 'development' into mbedtls_private_with_python 2021-05-27 16:02:46 +02:00
pkcs5.h Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
pkcs12.h Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
platform_time.h Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
platform_util.h Remove MBEDTLS_CHECK_PARAMS option 2021-05-27 17:33:32 +02:00
platform.h Run MBEDTLS_PRIVATE wrapping script on the library. 2021-05-21 18:10:44 +02:00
poly1305.h Run MBEDTLS_PRIVATE wrapping script on the library. 2021-05-21 18:10:44 +02:00
private_access.h Introduce MBEDTLS_PRIVATE macro. 2021-05-21 18:07:06 +02:00
psa_util.h Run MBEDTLS_PRIVATE wrapping script on the library. 2021-05-21 18:10:44 +02:00
ripemd160.h Merge pull request #4629 from TRodziewicz/rename_functions_whose_deprecated_variants_have_been_removd 2021-06-15 20:32:07 +02:00
rsa.h Merge remote-tracking branch 'mbedtls/development' into mbedtls_private_with_python 2021-06-14 16:17:32 +02:00
sha1.h Merge pull request #4629 from TRodziewicz/rename_functions_whose_deprecated_variants_have_been_removd 2021-06-15 20:32:07 +02:00
sha256.h Merge pull request #4629 from TRodziewicz/rename_functions_whose_deprecated_variants_have_been_removd 2021-06-15 20:32:07 +02:00
sha512.h Merge pull request #4629 from TRodziewicz/rename_functions_whose_deprecated_variants_have_been_removd 2021-06-15 20:32:07 +02:00
ssl_cache.h Run MBEDTLS_PRIVATE wrapping script on the library. 2021-05-21 18:10:44 +02:00
ssl_ciphersuites.h Merge branch 'development' into mbedtls_private_with_python 2021-06-07 09:49:01 +02:00
ssl_cookie.h Extend setup_and_run script to cover remaining configurations. 2021-06-07 11:08:01 +02:00
ssl_ticket.h Run MBEDTLS_PRIVATE wrapping script on the library. 2021-05-21 18:10:44 +02:00
ssl.h Upgrade the default TLS hash and curve selection, matching X.509 2021-06-17 21:46:14 +02:00
threading.h Run MBEDTLS_PRIVATE wrapping script on the library. 2021-05-21 18:10:44 +02:00
timing.h Wrap variable missed by the python script. 2021-06-07 11:28:24 +02:00
version.h Bump version to 2.26.0 2021-03-09 16:09:18 +00:00
x509_crl.h Run MBEDTLS_PRIVATE wrapping script on the library. 2021-05-21 18:10:44 +02:00
x509_crt.h Upgrade the default X.509 profile to the former "next" profile 2021-06-17 21:46:14 +02:00
x509_csr.h Merge branch 'development' into mbedtls_private_with_python 2021-06-07 09:49:01 +02:00
x509.h Run MBEDTLS_PRIVATE wrapping script on the library. 2021-05-21 18:10:44 +02:00
xtea.h Run MBEDTLS_PRIVATE wrapping script on the library. 2021-05-21 18:10:44 +02:00