mbedtls/library
Gilles Peskine 6527cd382b Enforce dhm_min_bitlen exactly, not just the byte size
In a TLS client, enforce the Diffie-Hellman minimum parameter size
set with mbedtls_ssl_conf_dhm_min_bitlen() precisely. Before, the
minimum size was rounded down to the nearest multiple of 8.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2021-04-09 17:35:33 +02:00
..
.gitignore Split libs with make + general make cleanups 2015-06-25 10:59:56 +02:00
aes.c Merge pull request #3863 from gabor-mezei-arm/3818_bp216_MBEDTLS_AES_SETKEY_DEC_ALT_excludes_MBEDTLS_CIPHER_MODE_XTS 2020-11-09 20:44:12 +01:00
aesni.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
arc4.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
aria.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
asn1parse.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
asn1write.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
base64.c Code style fixups 2021-03-04 14:43:17 +00:00
bignum.c mbedtls_mpi_sub_abs: fix buffer overflow in error case 2021-02-01 17:27:06 +01:00
blowfish.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
camellia.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
ccm.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
certs.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
chacha20.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
chachapoly.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
cipher_wrap.c Do not set IV size for ECB mode ciphers 2020-11-06 15:26:52 +01:00
cipher.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
cmac.c Fix mismatched function parameters (prototype/definition) 2020-11-28 12:14:57 -03:00
CMakeLists.txt Bump version to Mbed TLS 2.16.10 2021-03-09 16:03:29 +00:00
ctr_drbg.c Document mutex invariant for CTR_DRBG 2021-02-22 19:40:41 +01:00
debug.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
des.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
dhm.c Merge branch 'mbedtls-2.16' into mbedtls-2.16-restricted 2020-08-25 10:58:15 +02:00
ecdh.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
ecdsa.c Avoid unreferenced item warnings in ECDSA when ALT is in use 2021-01-26 18:04:10 +01:00
ecjpake.c Skip tests requiring known entropy for ECJPAKE ALT implementations 2021-01-25 10:36:37 +01:00
ecp_curves.c Merge pull request #3513 from gilles-peskine-arm/ecp-bignum-error-checks-2.16 2020-12-07 13:06:42 +01:00
ecp.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
entropy_poll.c Fix the build when _GNU_SOURCE is defined to a non-empty value 2020-10-01 17:17:37 +02:00
entropy.c Merge pull request #3720 from militant-daos/mbedtls-2.16 2021-03-30 17:33:12 +02:00
error.c Simplify conditional guards in error.c 2020-11-16 13:07:51 +01:00
gcm.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
havege.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
hkdf.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
hmac_drbg.c Document mutex invariant for HMAC_DRBG 2021-02-22 19:40:41 +01:00
Makefile Fix #2370, minor typos and spelling mistakes 2019-02-18 14:50:57 +00:00
md2.c Zeroize internal buffers and variables in MD hashes 2020-09-09 15:17:11 +02:00
md4.c Put local variables and buffers in a struct 2020-09-09 15:18:05 +02:00
md5.c Put local variables and buffers in a struct 2020-09-09 15:18:05 +02:00
md_wrap.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
md.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
memory_buffer_alloc.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
net_sockets.c Fix sloppy wording around stricly less-than vs less or equal 2021-03-01 16:38:02 +01:00
nist_kw.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
oid.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
padlock.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
pem.c Remove Extraneous bytes from buffer post pem write 2020-12-07 16:47:02 +00:00
pk_wrap.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
pk.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
pkcs5.c Force cleanup before return 2020-09-09 15:17:11 +02:00
pkcs11.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
pkcs12.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
pkparse.c fix return code 2020-09-22 16:22:27 +02:00
pkwrite.c adding parentheses to macro definitions. 2021-02-02 12:52:18 +01:00
platform_util.c Fixes two _POSIX_C_SOURCE typos. 2020-11-13 09:17:16 +00:00
platform.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
poly1305.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
ripemd160.c Put local variables and buffers in a struct 2020-09-09 15:18:05 +02:00
rsa_internal.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
rsa.c Fix mutex leak in RSA 2021-02-22 19:40:41 +01:00
sha1.c Put local variables and buffers in a struct 2020-09-09 15:18:05 +02:00
sha256.c Put local variables and buffers in a struct 2020-09-09 15:18:05 +02:00
sha512.c Put local variables and buffers in a struct 2020-09-09 15:18:05 +02:00
ssl_cache.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
ssl_ciphersuites.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
ssl_cli.c Enforce dhm_min_bitlen exactly, not just the byte size 2021-04-09 17:35:33 +02:00
ssl_cookie.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
ssl_srv.c Fix another use of uinitialized memory in ssl_parse_encrypted_pms 2020-11-18 13:54:38 +01:00
ssl_ticket.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
ssl_tls.c Move declaration to fix C90 warning 2020-11-28 14:59:56 -03:00
threading.c Explain the usage of is_valid in pthread mutexes 2021-02-22 19:40:41 +01:00
timing.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
version_features.c Declare MBEDTLS_TEST_HOOKS in config.h 2021-02-17 12:50:52 +00:00
version.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
x509_create.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
x509_crl.c Merge branch 'mbedtls-2.16' into mbedtls-2.16-restricted 2020-08-25 10:58:15 +02:00
x509_crt.c Merge branch 'mbedtls-2.16-restricted' into mbedtls-2.16.9r0-pr 2020-12-08 21:00:17 +00:00
x509_csr.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
x509.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
x509write_crt.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
x509write_csr.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00
xtea.c Update copyright notices to use Linux Foundation guidance 2020-08-19 16:37:36 +02:00