• Home
  • Raw
  • Download

Lines Matching +full:ipv4 +full:- +full:config +full:- +full:causing +full:- +full:fallback +full:- +full:to +full:- +full:tcp

3 = Mbed TLS 3.3.0 branch released 2022-12-14
9 RFC 9146, which is not interoperable with the draft-05 version.
10 If you need to communicate with peers that use earlier versions of
11 Mbed TLS, then you need to define MBEDTLS_SSL_DTLS_CONNECTION_ID_COMPAT
12 to 1, but then you won't be able to communicate with peers that use the
13 standard (non-draft) version.
14 If you need to interoperate with both classes of peers with the
22 addition to jinja2. The official list of required Python modules is
37 * Expose the EC J-PAKE functionality through the Draft PSA PAKE Crypto API.
38 Only the ECC primitive with secp256r1 curve and SHA-256 hash algorithm
41 built-in implementation present, but only in some configurations.
42 - RSA OAEP and PSS (PKCS#1 v2.1), PKCS5, PKCS12 and EC J-PAKE now use
44 - PEM parsing of encrypted files now uses MD-5 from PSA when (and only
48 Note that some modules are not able to use hashes from PSA yet, including
49 the entropy module. As a consequence, for now the only way to build with
50 all hashes only provided by drivers (no built-in hash) is to use
54 As a consequence, they now work in configurations where the built-in
56 provided by PSA drivers. (See previous entry for limitation on RSA-PSS
58 * Add support for opaque keys as the private keys associated to certificates
60 * Add the LMS post-quantum-safe stateful-hash asymmetric signature scheme.
61 Signature verification is production-ready, but generation is for testing
63 (LMS_SHA256_M32_H10), meaning that each private key can be used to sign
67 * Add the LM-OTS post-quantum-safe one-time signature scheme, which is
69 be used to sign one message so is impractical for most circumstances.
70 * Mbed TLS now supports TLS 1.3 key establishment via pre-shared keys.
71 The pre-shared keys can be provisioned externally or via the ticket
89 * The TLS 1.2 EC J-PAKE key exchange can now use the PSA Crypto API.
100 * Add an ad-hoc key derivation function handling EC J-PAKE to PMS
101 calculation that can be used to derive the session secret in TLS 1.2,
102 as described in draft-cragie-tls-ecjpake-01. This can be achieved by
109 * An adversary with access to precise enough information about memory
112 performing a single private-key operation if the window size used for the
114 Wenjian HE, Sharad Sinha, and Wei ZHANG. See "Cache Side-channel Attacks
115 and Defenses of the Sliding Window Algorithm in TEEs" - Design, Automation
119 * Refactor mbedtls_aes_context to support shallow-copying. Fixes #2147.
120 * Fix an issue with in-tree CMake builds in releases with GEN_FILES
122 it could be turned into a symbolic link to itself.
123 * Fix a long-standing build failure when building x86 PIC code with old
125 recommend upgrading to a more recent compiler instead. Fixes #1910.
126 * Fix support for little-endian Microblaze when MBEDTLS_HAVE_ASM is defined.
127 Contributed by Kazuyuki Kimura to fix #2020.
128 * Use double quotes to include private header file psa_crypto_cipher.h.
142 * Fix a build error due to a missing prototype warning when
153 * Fix compilation errors when trying to build with
154 PSA drivers for AEAD (GCM, CCM, Chacha20-Poly1305).
157 Change mbedtls_x509_get_name() to clean up allocated objects on error.
163 public key. This bug meant that it was possible to verify a
169 * Add a configuration check to exclude optional client authentication
171 * Fix a bug in which mbedtls_x509_crt_info() would produce non-printable
178 * In the bignum module, operations of the form (-A) - (+A) or (-A) - (-A)
192 to OSS-Fuzz. Fixes #6597.
195 * Move some SSL-specific code out of libmbedcrypto where it had been placed
201 * Add the ability to query PSA_WANT_xxx macros to query_compile_time_config.
202 * Calling AEAD tag-specific functions for non-AEAD algorithms (which
203 should not be done - they are documented for use only by AES-GCM and
207 = Mbed TLS 3.2.1 branch released 2022-07-12
210 * Re-add missing generated file library/ssl_debug_helpers_generated.c
212 = Mbed TLS 3.2.0 branch released 2022-07-11
242 * Add accessor to obtain ciphersuite id from ssl context.
243 * Add accessors to get members from ciphersuite info.
245 * Add accessor to get the raw buffer pointer from a PEM context.
249 * Add an accessor function to get the configuration associated with
251 * Add a function to access the protocol version from an SSL context in a
252 form that's easy to compare. Fixes #5407.
253 * Add function mbedtls_md_info_from_ctx() to recall the message digest
254 information that was used to set up a message digest context.
258 * Provide mechanism to reset handshake cert list by calling
260 * Add accessor mbedtls_ssl_get_hs_sni() to retrieve SNI from within
265 * Add function mbedtls_timing_get_final_delay() to access the private
268 * Add mbedtls_pk_sign_ext() which allows generating RSA-PSS signatures when
270 * Add function mbedtls_ecp_export() to export ECP key pair parameters.
272 * Add function mbedtls_ssl_is_handshake_over() to enable querying if the SSL
273 Handshake has completed or not, and thus whether to continue calling
275 * Add the function mbedtls_ssl_get_own_cid() to access our own connection id
281 mbedtls_ssl_conf_min_tls_version() that use a single value to specify
283 * Extend the existing PSA_ALG_TLS12_PSK_TO_MS() algorithm to support
284 mixed-PSK. Add an optional input PSA_KEY_DERIVATION_INPUT_OTHER_SECRET
289 Furthermore you may name an additional file to include after the main
291 * Add the function mbedtls_x509_crt_has_ext_type() to access the ext types
293 * Add HKDF-Expand and HKDF-Extract as separate algorithms in the PSA API.
294 * Add support for the ARMv8 SHA-2 acceleration instructions when building
299 first ClientHello was not suitable to the server.
300 * Add support for client-side TLS version negotiation. If both TLS 1.2 and
306 establishment only). See docs/architecture/tls13-support.md for a
309 * Add accessors to configure DN hints for certificate request:
313 now causes most of them to be done using PSA Crypto; see
314 docs/use-psa-crypto.md for the list of exceptions.
318 * Opaque pre-shared keys for TLS, provisioned with
321 for the "mixed" PSK key exchanges as well: ECDHE-PSK, DHE-PSK, RSA-PSK.
322 * cmake now detects if it is being built as a sub-project, and in that case
327 by side in order to illustrate how the operation is performed in PSA.
331 * Zeroize dynamically-allocated buffers used by the PSA Crypto key storage
336 * Add the platform function mbedtls_setbuf() to allow buffering to be
337 disabled on stdio files, to stop secrets loaded from said files being
340 * Fix a potential heap buffer overread in TLS 1.2 server-side when
347 or a man-in-the-middle could cause a DTLS server to read up to 255 bytes
351 and possibly up to 571 bytes with a custom cookie check function.
354 client or server could cause an MbedTLS server or client to overread up
355 to 64 kBytes of data and potentially overread the input buffer by that
363 client or server to be able to authenticate itself through a certificate
364 to an Mbed TLS TLS 1.3 server or client while it does not own a proper
365 certificate to do so.
369 pattern for PSA_WANT_xxx symbols. Previously you had to specify
377 enabled and an ECDHE-ECDSA or ECDHE-RSA key exchange was used, the
378 client would fail to check that the curve selected by the server for
381 according to its configuration. Fixes #5291.
387 * Fix API violation in mbedtls_md_process() test by adding a call to
390 to catch bad uses of time.h.
391 * Fix a race condition in out-of-source builds with CMake when generated data
396 potentially leading to corrupted alert messages being sent in case
397 the function needs to be re-called after initially returning
400 MBEDTLS_DEBUG_C, DTLS handshakes using CID would crash due to a null
404 documentation stated that the `allowed_pks` field applies to signatures
405 only, but in fact it does apply to the public key type of the end entity
415 MBEDTLS_ECDH_LEGACY_CONTEXT caused the program not to run. Fixes #4901 and
418 been received yet when we first try to fetch it.
421 * Add mbedtls_x509_dn_get_next function to return the next relative DN in
422 an X509 name, to allow walking the name list. Fixes #5431.
425 and other special characters, conforming to RFC 1779. Fixes #769.
427 * Fix check_config.h to check that we have MBEDTLS_SSL_KEEP_PEER_CERTIFICATE
431 * Fix a TLS 1.3 handshake failure when the first attempt to send the client
443 non-compliant. This could not lead to a buffer overflow. In particular,
453 make to break on a clean checkout. Fixes #5340.
454 * Work around an MSVC ARM64 compiler bug causing incorrect behaviour
456 * Removed the prompt to exit from all windows build programs, which was causing
462 driver descriptions. For the time being, to customize this file,
463 see docs/proposed/psa-driver-wrappers-codegen-migration-guide.md
464 * Return PSA_ERROR_INVALID_ARGUMENT if the algorithm passed to one-shot
469 * Assume source files are in UTF-8 when using MSVC with CMake.
472 * cmake: Use GnuInstallDirs to customize install directories
482 = mbed TLS 3.1.0 branch released 2021-12-17
486 Alternative GCM implementations are expected to verify
487 the length of the provided output buffers and to return the
494 POSIX/Unix-like platforms.
497 * Sign-magnitude and one's complement representations for signed integers are
516 supported on GCC-like compilers and on MSVC and can be configured through
520 MBEDTLS_CHECK_RETURN_WARNING to get warnings for other functions. This
522 extended to other modules in the future.
525 * Add support for CCM*-no-tag cipher to the PSA.
526 Currently only 13-byte long IV's are supported.
527 For decryption a minimum of 16-byte long input is expected.
528 These restrictions may be subject to change.
530 * Add functions to get the IV and block size from cipher_info structs.
531 * Add functions to check if a cipher supports variable IV or key size.
532 * Add the internal implementation of and support for CCM to the PSA multipart
535 protocol. See docs/architecture/tls13-support.md for the definition of
539 to select the 1.3 version of the protocol to establish a TLS connection.
543 * Zeroize several intermediate variables used to calculate the expected
547 man-in-the-middle to inject fake ciphertext into a DTLS connection.
556 * Fix a double-free that happened after mbedtls_ssl_set_session() or
559 and mbedtls_ssl_free() would cause an internal session buffer to
564 * The GNU makefiles invoke python3 in preference to python except on Windows.
565 The check was accidentally not performed when cross-compiling for Windows
577 * Fix mbedtls_cipher_crypt: AES-ECB when MBEDTLS_USE_PSA_CRYPTO is enabled.
578 * Failures of alternative implementations of AES or DES single-block
582 where this function cannot fail, or full-module replacements with
587 * Fix compile-time or run-time errors in PSA
591 psa_aead_finish() and psa_aead_verify() does not apply to the built-in
593 * Move GCM's update output buffer length verification from PSA AEAD to
594 the built-in implementation of the GCM.
595 The requirement for output buffer size to be equal or greater then
596 input buffer size is valid only for the built-in implementation of GCM.
603 PSA_ALG_RSA_PSS_ANY_SALT to accept any salt length. Fixes #4946.
611 not to list other shared libraries they need.
619 pkcs12 functions when the password is empty. Fix the documentation to
620 better describe the inputs to these functions and their possible values.
630 oversight during the run-up to the release of Mbed TLS 3.0.
631 The fields were never intended to be public.
632 * Implement multi-part CCM API.
633 The multi-part functions: mbedtls_ccm_starts(), mbedtls_ccm_set_lengths(),
641 to set a callback, but was deemed unnecessary as it was yet another define
642 to remember when writing tests, or test configurations. Fixes #4653.
643 * Improve the performance of base64 constant-flow code. The result is still
644 slower than the original non-constant-flow implementation, but much faster
645 than the previous constant-flow implementation. Fixes #4814.
646 * Ignore plaintext/ciphertext lengths for CCM*-no-tag operations.
650 ChaCha20-Poly1305 is invalid, and not just unsupported.
652 containing various functions meant to resist timing side channel attacks.
657 * The generated configuration-independent files are now automatically
658 generated by the CMake build system on Unix-like systems. This is not
659 yet supported when cross-compiling.
661 = Mbed TLS 3.0.0 branch released 2021-07-07
670 https://mbed-tls.readthedocs.io/en/latest/kb/how-to/add-entropy-sources-to-entropy-pool/ for
672 * Add missing const attributes to API functions.
673 * Remove helpers for the transition from Mbed TLS 1.3 to Mbed TLS 2.0: the
674 header compat-1.3.h and the script rename.pl.
676 Transfer keys and certificates embedded in the library to the test
677 component. This contributes to minimizing library API and discourages
683 which have also been renamed to ecp_internal_alt.h and rsa_alt_helpers.h
687 were not meant to be used in application code have been moved out of
693 * Drop support for TLS record-level compression (MBEDTLS_ZLIB_SUPPORT).
695 * Drop support for single-DES ciphersuites.
697 * Update AEAD output size macros to bring them in line with the PSA Crypto
699 key type used, as well as the key bit-size in the case of
714 when outputting a SHA-384 or SHA-224 hash into a buffer of exactly
716 * Remove the MBEDTLS_TEST_NULL_ENTROPY config option. Fixes #4388.
717 * The interface of the GCM module has changed to remove restrictions on
718 how the input to multipart operations is broken down. mbedtls_gcm_finish()
722 call to mbedtls_gcm_update(), but alternative implementations activated
723 by MBEDTLS_GCM_ALT may delay partial blocks to the next call to
725 no longer pass the associated data to mbedtls_gcm_starts(), but to the
728 * Replace MBEDTLS_SHA512_NO_SHA384 config option with MBEDTLS_SHA384_C.
729 This separates config option enabling the SHA384 algorithm from option
732 This separates config option enabling the SHA224 algorithm from option
735 session-ID based session resumption) has changed to that of
736 a key-value store with keys being session IDs and values
749 which allows to mark an extension as critical. Fixes #4055.
750 * For multi-part AEAD operations with the cipher module, calling
752 was unclear on this point, and this function happened to never do
754 possible to skip calling it, which is no longer supported.
755 * The option MBEDTLS_ECP_FIXED_POINT_OPTIM use pre-computed comb tables
767 key. To use an RSA key with PSS or OAEP, call mbedtls_rsa_set_padding()
792 Raw keys and IVs are no longer passed to the callback.
797 context are now connection-specific.
799 length parameter to be the size of the hash input. For RSA signatures
806 * Implement one-shot cipher functions, psa_cipher_encrypt and
807 psa_cipher_decrypt, according to the PSA Crypto API 1.0.0
809 * Direct access to fields of structures declared in public headers is no
818 * Enable by default the functionalities which have no reason to be disabled.
819 They are: ARIA block cipher, CMAC mode, elliptic curve J-PAKE library and
820 Key Wrapping mode as defined in NIST SP 800-38F. Fixes #4036.
830 bear this in mind and do not add them to backported code.
832 release, some configuration-independent files are now generated at build
837 * Refresh the minimum supported versions of tools to build the
843 compile-time option, which was off by default. Users should not trust
844 certificates signed with SHA-1 due to the known attacks against SHA-1.
845 If needed, SHA-1 certificates can still be verified by using a custom
853 https://lists.trustedfirmware.org/pipermail/mbed-tls/2020-April/000024.html
857 compile-time option. This option has been inactive for a long time.
860 * Remove the following deprecated functions and constants of hex-encoded
878 CBC record splitting, fallback SCSV, and the ability to configure
886 * The RSA module no longer supports private-key operations with the public
888 * Remove the MBEDTLS_SSL_DTLS_BADMAC_LIMIT config.h option. Fixes #4403.
903 * Remove MBEDTLS_ECDH_LEGACY_CONTEXT config option since this was purely for
908 * Remove the MBEDTLS_X509_ALLOW_UNSUPPORTED_CRITICAL_EXTENSION config.h
909 option. The mbedtls_x509_crt_parse_der_with_ext_cb() is the way to go for
912 MBEDTLS_X509_CHECK_EXTENDED_KEY_USAGE config.h options and let the code
925 MBEDTLS_SSL_TRUNCATED_HMAC_COMPAT config option. Users are better served by
926 using a CCM-8 ciphersuite than a CBC ciphersuite with truncated HMAC.
928 * Remove the compile-time option
932 * Add mbedtls_rsa_rsassa_pss_sign_ext() function allowing to generate a
933 signature with a specific salt length. This function allows to validate
936 * Added support for built-in driver keys through the PSA opaque crypto
937 driver interface. Refer to the documentation of
940 * The multi-part GCM interface (mbedtls_gcm_update() or
941 mbedtls_cipher_update()) no longer requires the size of partial inputs to
943 * The multi-part GCM interface now supports chunked associated data through
944 multiple calls to mbedtls_gcm_update_ad().
950 See docs/architecture/alternative-implementations.md for the remaining
953 query the size of the modulus in a Diffie-Hellman context.
955 Diffie-Hellman context.
956 * Use the new function mbedtls_ecjpake_set_point_format() to select the
963 * Fix a bias in the generation of finite-field Diffie-Hellman-Merkle (DHM)
972 * An adversary with access to precise enough information about memory
975 performing a single private-key operation. Found and reported by
977 * An adversary with access to precise enough timing information (typically, a
978 co-located process) could recover a Curve25519 or Curve448 static ECDH key
980 corresponding private-key operation. Found and reported by Leila Batina,
985 lead to the seed file corruption in case if the path to the seed file is
986 equal to MBEDTLS_PLATFORM_STD_NV_SEED_FILE. Contributed by Victor
990 to create is not valid, bringing them in line with version 1.0.0 of the
992 * Add printf function attributes to mbedtls_debug_print_msg to ensure we
997 * Fix a bug in ECDSA that would cause it to fail when the hash is all-bits
1002 mbedtls_mpi_read_string() was called on "-0", or when
1008 * In a TLS client, enforce the Diffie-Hellman minimum parameter size
1010 minimum size was rounded down to the nearest multiple of 8.
1012 defined to specific values. If the code is used in a context
1015 be adequate to build Mbed TLS.
1019 * The cipher suite TLS-RSA-WITH-CAMELLIA-256-GCM-SHA384 was not available
1020 when SHA-1 was disabled and was offered when SHA-1 was enabled but SHA-384
1022 * Do not offer SHA384 cipher suites when SHA-384 is disabled. Fixes #4499.
1024 Arm Cortex-M. Fixes #4530.
1026 directive in a header and a missing initialization in the self-test.
1027 * Fix a missing initialization in the Camellia self-test, affecting
1029 * Restore the ability to configure PSA via Mbed TLS options to support RSA
1031 is not defined PSA will no longer attempt to use mbedtls_rsa_gen_key().
1034 (when the encrypt-then-MAC extension is not in use) with some ALT
1035 implementations of the underlying hash (SHA-1, SHA-256, SHA-384), causing
1036 the affected side to wrongly reject valid messages. Fixes #4118.
1037 * Remove outdated check-config.h check that prevented implementing the
1046 could notably be triggered by setting the TLS debug level to 3 or above
1049 * psa_verify_hash() was relying on implementation-specific behavior of
1050 mbedtls_rsa_rsassa_pss_verify() and was causing failures in some _ALT
1056 A=0 represented with 0 limbs. Up to and including Mbed TLS 2.26, this bug
1060 Credit to OSS-Fuzz. Fixes #4641.
1065 read-only lifetime. The persistence level PSA_KEY_PERSISTENCE_READ_ONLY
1071 * Fix which alert is sent in some cases to conform to the
1075 * Correct (change from 12 to 13 bytes) the value of the macro describing the
1080 * Add extra printf compiler warning flags to builds.
1082 * Alternative implementations of CMAC may now opt to not support 3DES as a
1086 * Remove configs/config-psa-crypto.h, which no longer had any intended
1106 * Add CMake package config generation for CMake projects consuming Mbed TLS.
1107 * config.h has been split into build_info.h and mbedtls_config.h
1108 build_info.h is intended to be included from C code directly, while
1109 mbedtls_config.h is intended to be edited by end users wishing to
1113 * A config file version symbol, MBEDTLS_CONFIG_VERSION was introduced.
1114 Defining it to a particular value will ensure that Mbed TLS interprets
1115 the config file in a way that's compatible with the config file format
1119 * Various changes to which alert and/or error code may be returned
1126 = mbed TLS 2.26.0 branch released 2021-03-08
1129 * Renamed the PSA Crypto API output buffer size macros to bring them in line
1132 in bits rather than bytes, with an additional flag to indicate if the
1133 size may have been rounded up to a whole number of bytes.
1134 * Renamed the PSA Crypto API AEAD tag length macros to bring them in line
1155 * Automatic fallback to a software implementation of ECP when
1158 * The PSA crypto subsystem can now be configured to use less static RAM by
1171 minimum MAC or tag length thanks to the new wildcards
1180 length, or when the entropy module uses SHA-256 and CTR_DRBG uses AES-256.
1181 In such cases, a random nonce was necessary to achieve the advertised
1186 |A| - |B| where |B| is larger than |A| and has more limbs (so the
1192 mbedtls_pk_write_key_pem(). If MBEDTLS_MPI_MAX_SIZE is set to an odd
1193 value the function might fail to write a private RSA keys of the largest
1200 making access aceess to them use constant flow code.
1203 * Fix use-after-scope error in programs/ssl/ssl_client2.c and ssl_server2.c
1214 fail. Such a double-free was not safe when MBEDTLS_THREADING_C was
1216 * Fix a resource leak in a bad-arguments case of mbedtls_rsa_gen_key()
1219 * Fixes a bug where, if the library was configured to include support for
1225 used to validate digital signatures on certificates and MUST mark the
1226 extension as critical in such certificates." Previous to this change,
1227 the extension was always marked as non-critical. This was fixed by
1231 * A new library C file psa_crypto_client.c has been created to contain
1237 = mbed TLS 2.25.0 branch released 2020-12-11
1240 * The numerical values of the PSA Crypto API macros have been updated to
1241 conform to version 1.0.0 of the specification.
1247 as they have no way to check if the output buffer is large enough.
1249 mbedtls_cipher_auth_decrypt_ext() instead. Credit to OSS-Fuzz and
1253 * Update the minimum required CMake version to 2.8.12. This silences a
1263 these new functions always append the tag to the ciphertext, and include
1270 * Add support for ECB to the PSA cipher API.
1274 This is currently non-standard behaviour, but expected to make it into a
1276 * Add MBEDTLS_TARGET_PREFIX CMake variable, which is prefixed to the mbedtls,
1278 external CMake projects that include this one to avoid CMake target name
1281 * Add support for DTLS-SRTP as defined in RFC 5764. Contributed by Johan
1283 * In the PSA API, it is no longer necessary to open persistent keys:
1285 identical to psa_key_id_t instead of being platform-defined. This bridges
1286 the last major gap to compliance with the PSA Cryptography specification
1299 of up to 15 bytes, with consequences ranging up to arbitrary code
1301 * Limit the size of calculations performed by mbedtls_mpi_exp_mod to
1302 MBEDTLS_MPI_MAX_SIZE to prevent a potential denial of service when
1303 generating Diffie-Hellman key pairs. Credit to OSS-Fuzz.
1307 are implemented. This could cause failures or the silent use of non-random
1309 obtain entropy, or due to an internal failure (which, for Mbed TLS's own
1310 CTR_DRBG or HMAC_DRBG, can only happen due to a misconfiguration).
1313 description part of the cert to the real signature. This meant that a
1314 NULL algorithm parameters entry would look identical to an array of REAL
1315 (size zero) to the library and thus the certificate would be considered
1319 Many thanks to guidovranken who found this issue via differential fuzzing
1324 functions to erase sensitive data from memory. Reported by
1334 * Fix rsa_prepare_blinding() to retry when the blinding value is not
1339 * Use socklen_t on Android and other POSIX-compliant system
1340 * Fix the build when the macro _GNU_SOURCE is defined to a non-empty value.
1343 sizes (instead of PSA_ERROR_BAD_STATE in some cases) to make the
1349 * Fix psa_generate_key() returning an error when asked to generate
1351 * Fix psa_key_derivation_output_key() to allow the output of a combined key
1352 agreement and subsequent key derivation operation to be used as a key
1357 * Fix an off-by-one error in the additional data length check for
1358 CCM, which allowed encryption with a non-standard length field.
1361 MBEDTLS_MODE_ECB to 0, since ECB mode ciphers don't use IVs.
1365 * psa_set_key_id() now also sets the lifetime to persistent for keys located
1367 * Attempting to create a volatile key with a non-zero key identifier now
1370 * Attempting to create or register a key with a key identifier in the vendor
1375 (an error condition) and the second operand was aliased to the result.
1376 * Fix a case in elliptic curve arithmetic where an out-of-memory condition
1393 * The PSA persistent storage format is updated to always store the key bits
1396 specification (docs/architecture/mbed-crypto-storage-specification.md).
1399 but spurious and misleading since it looked like a mistaken attempt to
1400 zeroize the pointed-to buffer. Reported by Antonio de la Piedra, CEA
1403 = mbed TLS 2.24.0 branch released 2020-09-01
1406 * In the PSA API, rename the types of elliptic curve and Diffie-Hellman
1407 group families to psa_ecc_family_t and psa_dh_family_t, in line with the
1410 PSA_ECC_CURVE_xxx renamed to PSA_ECC_FAMILY_xxx
1411 PSA_DH_GROUP_xxx renamed to PSA_DH_FAMILY_xxx
1412 PSA_KEY_TYPE_GET_CURVE renamed to to PSA_KEY_TYPE_ECC_GET_FAMILY
1413 PSA_KEY_TYPE_GET_GROUP renamed to PSA_KEY_TYPE_DH_GET_FAMILY
1421 * The new function mbedtls_ecp_write_key() exports private ECC keys back to
1424 -Wformat-signedness, and fix the code that causes signed-one-bit-field
1425 and sign-compare warnings. Contributed by makise-homura (Igor Molchanov)
1432 subjecAltName extension is present, the expected name was compared to any
1434 attacker could for example impersonate a 4-bytes or 16-byte domain by
1435 getting a certificate for the corresponding IPv4 or IPv6 (this would
1436 require the attacker to control that IP address, though). Similar attacks
1440 its revocationDate was in the past according to the local clock if
1443 MBEDTLS_HAVE_TIME_DATE, an attacker able to control the local clock (for
1450 Encrypt-then-Mac extension, use constant code flow memory access patterns
1451 to extract and check the MAC. This is an improvement to the existing
1453 effective against network-based attackers, but less so against local
1455 if they have access to fine-grained measurements. In particular, this
1459 * Fix side channel in RSA private key operations and static (finite-field)
1460 Diffie-Hellman. An adversary with precise enough timing and memory access
1462 enclave) could bypass an existing counter-measure (base blinding) and
1464 * Fix a 1-byte buffer overread in mbedtls_x509_crl_parse_der().
1465 Credit to OSS-Fuzz for detecting the problem and to Philippe Antoine
1467 * Zeroising of plaintext buffers in mbedtls_ssl_read() to erase unused
1474 * Use local labels in mbedtls_padlock_has_support() to fix an invalid symbol
1479 Montgomery keys in little-endian as defined by RFC7748. Contributed by
1482 curves. Raised by signpainter in #941 and by Taiki-San in #1412. This
1484 * Fix self-test failure when the only enabled short Weierstrass elliptic
1496 * Only pass -Wformat-signedness to versions of GCC that support it. Reported
1499 previously could lead to stack overflow on constrained devices.
1503 * Update copyright notices to use Linux Foundation guidance. As a result,
1506 eliminates the need for the lines declaring the files to be part of
1508 * Add the command line parameter key_pwd to the ssl_client2 and ssl_server2
1509 example applications which allows to provide a password for the key file
1511 these applications with password-protected key files. Analogously but for
1512 ssl_server2 only, add the command line parameter key_pwd2 which allows to
1516 = mbed TLS 2.23.0 branch released 2020-07-01
1520 key lifetimes to encode a persistence level and the location. Although C
1522 psa_register_se_driver() must be modified to pass the driver's location
1529 high- and low-level error codes, complementing mbedtls_strerror()
1533 * The new utility programs/ssl/ssl_context_info prints a human-readable
1539 a solution to #3241.
1540 * Pass the "certificate policies" extension to the callback supplied to
1543 * Added support to entropy_poll for the kern.arandom syscall supported on
1550 Ming-Wei Shih, Prasun Gera, Taesoo Kim and Hyesoon Kim (Georgia Institute
1557 f_rng argument. An attacker with access to precise enough timing and
1561 * Fix issue in Lucky 13 counter-measure that could make it ineffective when
1563 macros). This would cause the original Lucky 13 attack to be possible in
1564 those configurations, allowing an active network attacker to recover
1573 pathLenConstraint basic constraint value is equal to INT_MAX.
1575 behavior, so this is unlikely to be exploitable anywhere. #3192
1577 due to shadowed variable. Contributed by Sander Visser in #3310.
1581 mbedtls_gcc_group_to_psa(). This allows the pk.c module to link separately
1593 * Set _POSIX_C_SOURCE to at least 200112L in C99 code. Reported in #3420 and
1597 * Fix false positive uninitialised variable reported by cpp-check.
1606 clean of -Wformat-signedness warnings. Contributed by Kenneth Soerensen
1615 * Unify the example programs termination to call mbedtls_exit() instead of
1616 using a return command. This has been done to enable customization of the
1618 * Fix mbedtls_x509_dn_gets to escape non-ASCII characters as "?".
1624 buffer is not large enough to hold the ClientHello.
1630 `MBEDTLS_CTR_DRBG_C` or `MBEDTLS_HMAC_DRBG_C` for some side-channel
1639 = mbed TLS 2.22.0 branch released 2020-04-14
1646 mbedtls_ssl_get_input_max_frag_len() to be more precise about which max
1651 (RFC 6347 section 4.2.8): an attacker able to send forged UDP packets to
1652 the server could cause it to drop established associations with
1654 happen when MBEDTLS_SSL_DTLS_CLIENT_PORT_REUSE was enabled in config.h
1656 * Fix side channel in ECC code that allowed an adversary with access to
1658 untrusted operating system attacking a secure enclave) to fully recover
1660 Billy Brumley and Cesar Pereida Garcia. CVE-2020-10932
1682 mbedtls_ssl_get_input_max_frag_len() to ensure that a sufficient input
1686 = mbed TLS 2.21.0 branch released 2020-02-20
1692 * Deprecate for MBEDTLS_PKCS11_C, the wrapper around the pkcs11-helper
1693 library which allows TLS authentication to use keys stored in a
1699 probability (of the order of 2^-n where n is the bitsize of the curve)
1703 * To avoid a side channel vulnerability when parsing an RSA private key,
1707 ARMmbed/mbed-crypto#352
1710 * The new build option MBEDTLS_SHA512_NO_SHA384 allows building SHA-512
1711 support without SHA-384.
1720 PSA_ECC_CURVE_SECP_R1 with 256 bits is P256R1). ARMmbed/mbed-crypto#330
1723 * Fix an unchecked call to mbedtls_md() in the x509write module.
1726 * Fix some false-positive uninitialized variable warnings in X.509. Fix
1727 contributed by apple-ihack-geek in #2663.
1729 a cryptographic accelerator fails. ARMmbed/mbed-crypto#345
1730 * Fix a bug in mbedtls_pk_parse_key() that would cause it to accept some
1732 keys. Found by Catena cyber using oss-fuzz (issue 20467).
1733 * Fix a bug in mbedtls_pk_parse_key() that would cause it to
1736 = mbed TLS 2.20.0 branch released 2020-01-15
1739 * The initial seeding of a CTR_DRBG instance makes a second call to the
1740 entropy function to obtain entropy for a nonce if the entropy size is less
1741 than 3/2 times the key size. In case you want to disable the extra call to
1742 grab entropy, you can call mbedtls_ctr_drbg_set_nonce_len() to force the
1743 nonce length to 0.
1754 these variables can be used to recover the last round key. To follow best
1755 practice and to limit the impact of buffer overread vulnerabilities (like
1756 Heartbleed) we need to zeroize them before exiting the function.
1763 to have only large prime factors), and then, by brute force, recover the
1766 timings on the comparison in the key generation enabled the attacker to
1767 learn leading bits of the ephemeral key used during ECDSA signatures and to
1779 to achieve the security strength defined by NIST SP 800-90A. You can
1781 * Add ENUMERATED tag support to the ASN.1 module. Contributed by
1782 msopiha-linaro in ARMmbed/mbed-crypto#307.
1785 * In the PSA API, forbid zero-length keys. To pass a zero-length input to a
1788 * Rename psa_asymmetric_sign() to psa_sign_hash() and
1789 psa_asymmetric_verify() to psa_verify_hash().
1799 unsupported algorithm. Fixes ARMmbed/mbed-crypto#254.
1800 * Fix mbedtls_asn1_get_int to support any number of leading zeros. Credit
1801 to OSS-Fuzz for finding a bug in an intermediate version of the fix.
1802 * Fix mbedtls_asn1_get_bitstring_null to correctly parse bitstrings of at
1809 * Remove the technical possibility to define custom mbedtls_md_info
1813 * Variables containing error codes are now initialized to an error code
1814 rather than success, so that coding mistakes or memory corruption tends to
1815 cause functions to return this error code rather than a success. There are
1817 merely a robustness improvement. ARMmbed/mbed-crypto#323
1818 * Remove a useless call to mbedtls_ecp_group_free(). Contributed by
1819 Alexander Krizhanovsky in ARMmbed/mbed-crypto#210.
1821 Lloyd and Fortanix Inc in ARMmbed/mbed-crypto#277.
1823 Alexander Krizhanovsky in ARMmbed/mbed-crypto#308.
1825 = mbed TLS 2.19.1 branch released 2019-09-16
1828 * Declare include headers as PUBLIC to propagate to CMake project consumers
1830 * Add nss_keylog to ssl_client2 and ssl_server2, enabling easier analysis of
1839 * Fix some false-positive uninitialized variable warnings in crypto. Fix
1840 contributed by apple-ihack-geek in #2663.
1842 = mbed TLS 2.19.0 branch released 2019-09-06
1850 as an ASN.1 INTEGER, which caused the size of the key to leak
1851 about 1 bit of information on average and could cause the value to be
1853 * The deterministic ECDSA calculation reused the scheme's HMAC-DRBG to
1861 mbedtls_ssl_session_load() to allow serializing a session, for example to
1862 store it in non-volatile storage, and later using it for TLS session
1864 * Add a new API function mbedtls_ssl_check_record() to allow checking that
1867 The feature is enabled at compile-time by MBEDTLS_SSL_RECORD_CHECKING
1870 (https://project-everest.github.io/). It can be enabled at compile time
1873 (32-bit and 64-bit) using GCC, Clang or Visual Studio. Contributed by
1881 * Add DER-encoded test CRTs to library/certs.c, allowing
1882 the example programs ssl_server2 and ssl_client2 to be run
1888 mbedtls_ecdh_can_do() on each result to check whether each algorithm is
1890 * The new function mbedtls_ecdsa_sign_det_ext() is similar to
1902 lead to successful parsing of ill-formed X.509 CRTs. Fixes #2437.
1903 * Fix multiple X.509 functions previously returning ASN.1 low-level error
1904 codes to always wrap these codes into X.509 high level error codes before
1906 * Fix to allow building test suites with any warning that detects unused
1908 * Fix typo in net_would_block(). Fixes #528 reported by github-monoculture.
1920 in mbedtls_x509write_crt_der() to 2Kb. Reported by soccerGB in #2631.
1922 * Update test certificates that were about to expire. Reported by
1924 * Fix the build on ARMv5TE in ARM mode to not use assembly instructions
1928 This could previously lead to segmentation faults in builds using an
1929 address-sanitizer and enabling but not using MBEDTLS_ECP_RESTARTABLE.
1932 * Improve code clarity in x509_crt module, removing false-positive
1935 * Fix bug in endianness conversion in bignum module. This lead to
1940 * Replace multiple uses of MD2 by SHA-256 in X.509 test suite. Fixes #821.
1941 * Make it easier to define MBEDTLS_PARAM_FAILED as assert (which config.h
1944 * Add a Dockerfile and helper scripts (all-in-docker.sh, basic-in-docker.sh,
1945 docker-env.sh) to simplify running test suites on a Linux host. Contributed
1947 * Add `reproducible` option to `ssl_client2` and `ssl_server2` to enable
1950 * Extended .gitignore to ignore Visual Studio artifacts. Fixed by ConfusedSushi.
1951 * Adds fuzz targets, especially for continuous fuzzing with OSS-Fuzz.
1957 = mbed TLS 2.18.1 branch released 2019-07-12
1967 = mbed TLS 2.18.0 branch released 2019-06-11
1972 * It is now possible to use NIST key wrap mode via the mbedtls_cipher API.
1974 * Add the Wi-SUN Field Area Network (FAN) device extended key usage.
1976 * It is now possible to perform RSA PKCS v1.5 signatures with RIPEMD-160 digest.
1978 * Extend the MBEDTLS_SSL_EXPORT_KEYS to export the handshake randbytes,
1979 and the used tls-prf.
1980 * Add public API for tls-prf function, according to requested enum.
1989 * Add support for draft-05 of the Connection ID extension, as specified
1990 in https://tools.ietf.org/html/draft-ietf-tls-dtls-connection-id-05.
1991 The Connection ID extension allows to keep DTLS connections beyond the
1993 to the DTLS record header. This identifier can be used to associated an
1995 changed its IP or port. The feature is enabled at compile-time by setting
1996 MBEDTLS_SSL_DTLS_CONNECTION_ID (disabled by default), and at run-time
2001 * Extend the MBEDTLS_SSL_EXPORT_KEYS to export the handshake randbytes,
2002 and the used tls-prf.
2003 * Add public API for tls-prf function, according to requested enum.
2012 * Fix 1-byte buffer overflow in mbedtls_mpi_write_string() when
2013 used with negative inputs. Found by Guido Vranken in #2404. Credit to
2014 OSS-Fuzz.
2020 * Add psa_util.h to test/cpp_dummy_build to fix build_default_make_gcc_and_cxx.
2023 public macro MBEDTLS_X509_ID_FLAG. This could lead to invalid evaluation
2028 * Set the next sequence of the subject_alt_name to NULL when deleting
2030 Credit to OSS-Fuzz.
2033 * Server's RSA certificate in certs.c was SHA-1 signed. In the default
2034 mbedTLS configuration only SHA-2 signed certificates are accepted.
2036 client programs to fail at the peer's certificate verification
2037 due to an unacceptable hash signature. The certificate has been
2038 updated to one that is SHA-256 signed. Fix contributed by
2044 * Add test for minimal value of MBEDTLS_MPI_WINDOW_SIZE to all.sh.
2046 * Change wording in the `mbedtls_ssl_conf_max_frag_len()`'s documentation to
2049 = mbed TLS 2.17.0 branch released 2019-03-19
2053 which allows copy-less parsing of DER encoded X.509 CRTs,
2056 * Add a new function mbedtls_asn1_write_named_bitstring() to write ASN.1
2058 * Add MBEDTLS_REMOVE_3DES_CIPHERSUITES to allow removing 3DES ciphersuites
2065 * Allow to opt in to the removal the API mbedtls_ssl_get_peer_cert()
2066 for the benefit of saving RAM, by disabling the new compile-time
2075 belongs to a different group from the first. Before, if an application
2076 passed keys that belonged to different group, the first key's data was
2077 interpreted according to the second group, which could lead to either
2087 previously lead to a stack overflow on constrained targets.
2092 * Remove the mbedtls namespacing from the header file, to fix a "file not found"
2094 * Fix signed-to-unsigned integer conversion warning
2099 (e.g. config.h.bak). Fixed by Peter Kolbus (Garmin) #2407.
2103 extensions in CSRs and CRTs that caused these bitstrings to not be encoded
2116 * Provide an abstraction of vsnprintf to allow alternative implementations
2120 Previously, this could lead to functionally incorrect assembly being
2126 * Fix configuration queries in ssl-opt.h. #2030
2127 * Ensure that ssl-opt.h can be run in OS X. #2029
2128 * Re-enable certain interoperability tests in ssl-opt.sh which had previously
2133 = mbed TLS 2.16.0 branch released 2018-12-21
2136 * Add a new config.h option of MBEDTLS_CHECK_PARAMS that enables validation
2141 function to see for which parameter values it is defined. This feature is
2142 disabled by default. See its API documentation in config.h for additional
2143 steps you have to take when enabling it.
2148 the return type from void to int to allow returning error codes when
2151 mbedtls_ctr_drbg_update() -> mbedtls_ctr_drbg_update_ret()
2152 mbedtls_hmac_drbg_update() -> mbedtls_hmac_drbg_update_ret()
2153 * Extend ECDH interface to enable alternative implementations.
2156 the more generic per-module error codes MBEDTLS_ERR_xxx_BAD_INPUT_DATA.
2158 modules - AES, ARIA, Blowfish, CAMELLIA, CCM, GCM, DHM, ECP, ECDSA, ECDH,
2180 This could lead to a buffer overflow, but only in case ticket authentication
2182 * Add explicit integer to enumeration type casts to example program
2183 programs/pkey/gen_key which previously led to compilation failure
2190 = mbed TLS 2.15.1 branch released 2018-11-30
2193 * Update the Mbed Crypto submodule to version 0.1.0b2.
2195 = mbed TLS 2.15.0 branch released 2018-11-23
2198 * Add an experimental build option, USE_CRYPTO_SUBMODULE, to enable use of
2200 * Add an experimental configuration option, MBEDTLS_PSA_CRYPTO_C, to enable
2205 * Add unit tests for AES-GCM when called through mbedtls_cipher_auth_xxx()
2208 = mbed TLS 2.14.1 branch released 2018-11-30
2212 decryption that could lead to a Bleichenbacher-style padding oracle
2219 in the paper available here: http://cat.eyalro.net/cat.pdf CVE-2018-19608
2232 mbedtls_hmac_drbg_update_ret() are similar to mbedtls_ctr_drbg_update()
2237 = mbed TLS 2.14.0 branch released 2018-11-19
2240 * Fix overly strict DN comparison when looking for CRLs belonging to a
2241 particular CA. This previously led to ignoring CRLs when the CRL's issuer
2248 space and a PSK-(EC)DHE ciphersuite was used, this allowed an attacker
2249 to trigger a memory access up to 64KiB beyond the incoming message buffer,
2250 potentially leading to an application crash or information disclosure.
2251 * Fix mbedtls_mpi_is_prime() to use more rounds of probabilistic testing. The
2253 adversary to construct non-primes that would be erroneously accepted as
2257 For example, the number of rounds was enough to securely generate RSA key
2258 pairs or Diffie-Hellman parameters, but was insufficient to validate
2259 Diffie-Hellman parameters properly.
2265 some configurable amount of operations. This is intended to be used in
2266 constrained, single-threaded systems where ECC is time consuming and can
2269 configured by mbedtls_ecp_set_max_ops() at runtime. It applies to the new
2271 yet), and to existing functions in ECDH and SSL (currently only
2272 implemented client-side, for ECDHE-ECDSA ciphersuites in TLS 1.2,
2274 * Add support for Arm CPU DSP extensions to accelerate asymmetric key
2278 * Extend RSASSA-PSS signature to allow a smaller salt size. Previously, PSS
2280 an error if this was not possible. Now the salt size may be up to two bytes
2281 shorter. This allows the library to support all hash and signature sizes
2282 that comply with FIPS 186-4, including SHA-512 with a 1024-bit key.
2283 * Add support for 128-bit keys in CTR_DRBG. Note that using keys shorter
2284 than 256 bits limits the security of generated material to 128 bits.
2302 Miller-Rabin rounds.
2306 application leading to a memory leak in case both
2314 which lead to accepting properly authenticated but improperly
2315 padded records in case of CBC ciphersuites using Encrypt-then-MAC.
2324 * Change the default string format used for various X.509 DN attributes to
2325 UTF8String. Previously, the use of the PrintableString format led to
2326 wildcards and non-ASCII characters being unusable in some DN attributes.
2328 Thomas-Dee.
2332 Reported by ole-de and ddhome2006. Fixes #882, #1642 and #1706.
2340 * Change the dtls_client and dtls_server samples to work by default over
2341 IPv6 and optionally by a build option over IPv4.
2342 * Change the use of Windows threading to use Microsoft Visual C++ runtime
2343 calls, rather than Win32 API calls directly. This is necessary to avoid
2347 string format (mostly PrintableString), which could lead to CRTs being
2352 Thomas-Dee.
2354 Fixes #517 reported by github-monoculture.
2355 * Add MBEDTLS_MPI_GEN_PRIME_FLAG_LOW_ERR flag to mbedtls_mpi_gen_prime() and
2356 use it to reduce error probability in RSA key generation to levels mandated
2357 by FIPS-186-4.
2359 = mbed TLS 2.13.1 branch released 2018-09-06
2363 whose implementation should behave as a thread-safe version of gmtime().
2364 This allows users to configure such an implementation at compile time when
2366 MBEDTLS_PLATFORM_GMTIME_R_ALT. At this stage Mbed TLS is only able to
2373 = mbed TLS 2.13.0 branch released 2018-08-31
2376 * Fix an issue in the X.509 module which could lead to a buffer overread
2378 input (extensions length field equal to 0), an illegal read of one byte
2384 with the peer, as well as by a new per-connection MTU option, set using
2386 * Add support for auto-adjustment of MTU to a safe value during the
2391 * Add support for buffering out-of-order handshake messages in DTLS.
2393 compile-time constant MBEDTLS_SSL_DTLS_MAX_BUFFERING defined
2394 in mbedtls/config.h.
2397 * Add function mbedtls_ssl_set_datagram_packing() to configure
2402 failure in the function could lead to other buffers being leaked.
2408 This improves compliance to RFC 4492, and as a result, solves
2412 * Fix potential use-after-free in mbedtls_ssl_get_max_frag_len()
2414 * Fix a bug that caused SSL/TLS clients to incorrectly abort the handshake
2416 without providing a list of CAs. This was due to an overly strict bounds
2423 (found by Catena cyber using oss-fuzz)
2435 * Add support for buffering of out-of-order handshake messages.
2436 * Add warnings to the documentation of the HKDF module to reduce the risk
2440 = mbed TLS 2.12.0 branch released 2018-07-25
2443 * Fix a vulnerability in TLS ciphersuites based on CBC and using SHA-384,
2444 in (D)TLS 1.0 to 1.2, that allowed an active network attacker to
2451 or CCM instead of CBC, using hash sizes other than SHA-384, or using
2452 Encrypt-then-Mac (RFC 7366) were not affected. The vulnerability was
2453 caused by a miscalculation (for SHA-384) in a countermeasure to the
2456 * Fix a vulnerability in TLS ciphersuites based on CBC, in (D)TLS 1.0 to
2457 1.2, that allowed a local attacker, able to execute code on the local
2458 machine as well as manipulate network packets, to partially recover the
2464 instead of CBC or using Encrypt-then-Mac (RFC 7366) were not affected.
2466 * Add a counter-measure against a vulnerability in TLS ciphersuites based
2467 on CBC, in (D)TLS 1.0 to 1.2, that allowed a local attacker, able to
2469 to partially recover the plaintext of messages under some conditions (see
2472 Encrypt-then-Mac (RFC 7366) were not affected. Found by Kenny Paterson,
2476 * Add new crypto primitives from RFC 7539: stream cipher Chacha20, one-time
2477 authenticator Poly1305 and AEAD construct Chacha20-Poly1305. Contributed
2479 * Add support for CHACHA20-POLY1305 ciphersuites from RFC 7905.
2480 * Add platform support for the Haiku OS. (https://www.haiku-os.org).
2488 NIST SP 800-38F algorithms KW and KWP and by RFC 3394 and RFC 5649.
2497 * Clarify documentation for mbedtls_ssl_write() to include 0 as a valid
2505 * Added length checks to some TLS parsing functions. Found and fixed by
2515 CBC based ciphersuite is used together with Encrypt-then-MAC. Previously,
2517 to the connection being terminated. Seen most often with OpenSSL using
2520 * Fix ssl_client2 example to send application data with 0-length content
2521 when the request_size argument is set to 0 as stated in the documentation.
2525 * Fix build using -std=c99. Fixed by Nick Wilson.
2529 zero-length messages when using TLS 1.2. Contributed by Espressif Systems.
2530 * Change the default behaviour of mbedtls_hkdf_extract() to return an error
2531 when calling with a NULL salt and non-zero salt_len. Contributed by
2533 * Change the shebang line in Perl scripts to look up perl in the PATH.
2535 * Allow overriding the time on Windows via the platform-time abstraction.
2537 * Use gmtime_r/gmtime_s for thread-safety. Fixed by Nick Wilson.
2539 = mbed TLS 2.11.0 branch released 2018-06-18
2542 * Add additional block mode, OFB (Output Feedback), to the AES module and
2544 * Implement the HMAC-based extract-and-expand key derivation function
2547 * Add support for the XTS block cipher mode with AES (AES-XTS).
2549 * In TLS servers, support offloading private key operations to an external
2550 cryptoprocessor. Private key operations can be asynchronous to allow
2551 non-blocking operation of the TLS server stack.
2554 * Fix the cert_write example to handle certificates signed with elliptic
2556 * Fix for redefinition of _WIN32_WINNT to avoid overriding a definition
2563 * Changed CMake defaults for IAR to treat all compiler warnings as errors.
2564 * Changed the Clang parameters used in the CMake build files to work for
2568 = mbed TLS 2.10.0 branch released 2018-06-06
2572 (RFC 6209). Disabled by default, see MBEDTLS_ARIA_C in config.h
2579 point of view. mbedtls_platform_zeroize() needs to be regularly tested
2580 against compilers to ensure that calls to it are not removed from the
2582 Therefore, mbedtls_platform_zeroize() is moved to the platform module to
2586 * Fix an issue with MicroBlaze support in bn_mul.h which was causing the
2587 build to fail. Found by zv-io. Fixes #1651.
2590 * Support TLS testing in out-of-source builds using cmake. Fixes #1193.
2594 = mbed TLS 2.9.0 branch released 2018-04-30
2597 * Fix an issue in the X.509 module which could lead to a buffer overread
2598 during certificate validation. Additionally, the issue could also lead to
2599 unnecessary callback checks being made or to some validation checks to be
2601 would require a non DER-compliant certificate to be correctly signed by a
2602 trusted CA, or a trusted CA with a non DER-compliant certificate. Found by
2605 function which led to an arbitrary overread of the message buffer. The
2610 * Fix a client-side bug in the validation of the server's ciphersuite choice
2611 which could potentially lead to the client accepting a ciphersuite it didn't
2613 chosen by the server. This could lead to corruption of internal data
2617 * Add an option, MBEDTLS_AES_FEWER_TABLES, to dynamically compute smaller AES
2626 * Extend the public API with the function of mbedtls_net_poll() to allow user
2627 applications to wait for a network context to become ready before reading
2629 * Add function mbedtls_ssl_check_pending() to the public API to allow
2630 a check for whether more more data is pending to be processed in the
2632 This function is necessary to determine when it is safe to idle on the
2633 underlying transport in case event-driven IO is used.
2638 * Add missing dependencies in test suites that led to build failures
2639 in configurations that omit certain hashes or public-key algorithms.
2649 unable to parse keys which had only the optional parameters field of the
2654 * Fix overriding and ignoring return values when parsing and writing to
2656 * Restrict usage of error code MBEDTLS_ERR_SSL_WANT_READ to situations
2657 where data needs to be fetched from the underlying transport in order
2658 to make progress. Previously, this error code was also occasionally
2660 further messages could potentially already be pending to be processed
2661 in the internal buffers; these cases led to deadlocks when event-driven
2664 function which leads to a potential one byte overread of the message
2666 * Fix invalid buffer sizes passed to zlib during record compression and
2668 * Fix the soversion of libmbedcrypto to match the soversion of the
2670 version 2.7.1 to reflect breaking changes in that release, but the
2678 public-key algorithms. Includes contributions by Gert van Dijk.
2697 * Add an option in the Makefile to support ar utilities where the operation
2698 letter must not be prefixed by '-', such as LLVM. Found and fixed by
2708 HMAC functions with non-HMAC ciphersuites. Independently contributed
2711 FIPS 186-4. Contributed by Jethro Beekman. #1380
2715 not need to copy the declarations, and ensures that they will have the
2719 = mbed TLS 2.8.0 branch released 2018-03-16
2722 * The truncated HMAC extension now conforms to RFC 6066. This means
2726 prior versions of Mbed TLS. To restore the old behavior, enable
2728 config.h. Found by Andreas Walz (ivESK, Offenburg University of
2736 * Verify results of RSA private key operations to defend
2742 * Fix CRL parsing to reject CRLs containing unsupported critical
2749 uses PBKDF2-SHA2, such as OpenSSL 1.1. Submitted by Antonio Quartulli,
2760 * Fix test_suite_pk to work on 64-bit ILP32 systems. #849
2761 * Fix mbedtls_x509_crt_profile_suiteb, which used to reject all certificates
2781 that could cause a key exchange to fail on valid data.
2783 could cause a key exchange to fail on valid data.
2786 * Fix a 1-byte heap buffer overflow (read-only) during private key parsing.
2794 * MD functions deprecated in 2.7.0 are no longer inline, to provide
2800 = mbed TLS 2.7.0 branch released 2018-02-03
2805 sending a malicious application packet could be used to selectively corrupt
2806 6 bytes on the peer's heap, which could potentially lead to crash or remote
2808 both TLS and DTLS. CVE-2018-0488
2809 * Fix a buffer overflow in RSA-PSS verification when the hash was too large
2810 for the key size, which could potentially lead to crash or remote code
2812 Qualcomm Technologies Inc. CVE-2018-0487
2813 * Fix buffer overflow in RSA-PSS verification when the unmasked data is all
2816 64 KiB to the address of the SSL buffer and causing a wrap around.
2819 config and the application data buffer passed to mbedtls_ssl_write
2823 was independently reported by Tim Nordell via e-mail and by Florin Petriuc
2826 * Add a provision to prevent compiler optimizations breaking the time
2830 * Set PEM buffer to zero before freeing it, to avoid decoded private keys
2831 being leaked to memory after release.
2832 * Fix dhm_check_range() failing to detect trivial subgroups and potentially
2834 * Make mbedtls_mpi_read_binary() constant-time with respect to the input
2836 sake of saving memory, but potentially leading to slight timing
2840 * Fix a potential heap buffer over-read in ALPN extension parsing
2841 (server-side). Could result in application crash, but only if an ALPN
2844 to RFC 3526 containing parameters generated in a nothing-up-my-sleeve
2851 * New unit tests for timing. Improve the self-test to be more robust
2852 when run on a heavily-loaded machine.
2859 MBEDTLS_ECDSDA_GENKEY_AT in config.h.
2865 MBEDTLS_ECDH_GEN_PUBLIC_ALT in config.h.
2871 * Add mechanism to provide alternative implementation of the DHM module.
2874 * Extend RSA interface by multiple functions allowing structure-
2877 up RSA contexts from partial key material and having them completed to the
2878 needs of the implementation automatically. This allows to setup private RSA
2881 * The configuration option MBEDTLS_RSA_ALT can be used to define alternative
2885 The new functions change the return type from void to int to allow
2887 mbedtls_<MODULE>_starts() -> mbedtls_<MODULE>_starts_ret()
2888 mbedtls_<MODULE>_update() -> mbedtls_<MODULE>_update_ret()
2889 mbedtls_<MODULE>_finish() -> mbedtls_<MODULE>_finish_ret()
2890 mbedtls_<MODULE>_process() -> mbedtls_internal_<MODULE>_process()
2893 * Deprecate usage of RSA primitives with non-matching key-type
2896 Users are advised to use the extended RSA API instead.
2912 * Fix ssl_parse_record_header() to silently discard invalid DTLS records
2918 renegotiated handshakes would only accept signatures using SHA-1
2919 regardless of the peer's preferences, or fail if SHA-1 was disabled.
2920 * Fix leap year calculation in x509_date_is_valid() to ensure that invalid
2923 * Fix some invalid RSA-PSS signatures with keys of size 8N+1 that were
2925 * Fix out-of-memory problem when parsing 4096-bit PKCS8-encrypted RSA keys.
2932 If a call to one of the functions of the cryptographic primitive modules
2934 mbedtls_pem_read_buffer() causing it to return invalid values. Found by
2936 * Include configuration file in md.h, to fix compilation warnings.
2938 * Correct extraction of signature-type from PK instance in X.509 CRT and CSR
2939 writing routines that prevented these functions to work with alternative
2942 non-v3 CRT's.
2944 * Fix net_would_block() to avoid modification by errno through fcntl() call.
2947 MBEDTLS_SSL_RENEGOTIATION is disabled. Found by erja-gp.
2950 * Fix word size check in in pk.c to not depend on MBEDTLS_HAVE_INT64.
2952 * Add size-checks for record and handshake message content, securing
2953 fragile yet non-exploitable code-paths.
2961 RSA test suite where the failure of CTR DRBG initialization lead to
2971 * Fix the entropy.c module to not call mbedtls_sha256_starts() or
2973 * Fix the entropy.c module to ensure that mbedtls_sha256_init() or
2975 structure. Do not assume that zeroizing a context is a correct way to
2982 * Extend cert_write example program by options to set the certificate version
2989 * Only run AES-192 self-test if AES-192 is available. Fixes #963.
2992 * Update all internal usage of deprecated message digest functions to the
3000 * Add explicit warnings for the use of MD2, MD4, MD5, SHA-1, DES and ARC4
3003 = mbed TLS 2.6.0 branch released 2017-08-10
3006 * Fix authentication bypass in SSL/TLS: when authmode is set to optional,
3010 triggered remotely from either side. (With authmode set to 'required'
3018 and the context struct mbedtls_platform_context to perform
3019 platform-specific setup and teardown operations. The macro
3020 MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT allows the functions to be overridden
3022 some embedded environments to provide a means of initialising underlying
3026 * Reverted API/ABI breaking changes introduced in mbed TLS 2.5.1, to make the
3031 * Certificate verification functions now set flags to -1 in case the full
3032 chain was not verified due to an internal error (including in the verify
3034 * With authmode set to optional, the TLS handshake is now aborted if the
3035 verification of the peer's certificate failed due to an overlong chain or
3042 to #if defined(MBEDTLS_THREADING_C) as the library cannot assume they will
3046 * Add MBEDTLS_MPI_CHK to check for error value of mbedtls_mpi_fill_random.
3048 * Fix conditional preprocessor directives in bignum.h to enable 64-bit
3052 to bypass the version verification check. Found by Peng Li/Yueh-Hsun Lin,
3056 to bypass the version verification check. Found by Peng Li/Yueh-Hsun Lin,
3060 constructed certificates to bypass the certificate verification check.
3061 * Fix a call to the libc function time() to call the platform abstraction
3067 * Added config.h option MBEDTLS_NO_UDBL_DIVISION, to prevent the use of
3068 64-bit division. This is useful on embedded platforms where 64-bit division
3071 accelerator code in the library leaves concurrency handling to the
3074 config-no-entropy.h to reduce the RAM footprint.
3079 = mbed TLS 2.5.1 released 2017-06-21
3082 * Fixed unlimited overread of heap-based buffer in mbedtls_ssl_read().
3083 The issue could only happen client-side with renegotiation enabled.
3086 back to the server or to a third party). Can be triggered remotely.
3087 * Removed SHA-1 and RIPEMD-160 from the default hash algorithms for
3088 certificate verification. SHA-1 can be turned back on with a compile-time
3090 * Fixed offset in FALLBACK_SCSV parsing that caused TLS server to fail to
3092 * Tighten parsing of RSA PKCS#1 v1.5 signatures, to avoid a
3093 potential Bleichenbacher/BERserk-style attack.
3098 and with GCC using the -Wpedantic compilation option.
3099 * Fix insufficient support for signature-hash-algorithm extension,
3102 when sending the alert failed. The fix makes sure not to hide the error
3105 peer after sending a fatal alert to refuse a renegotiation attempt.
3106 Previous behaviour was to keep processing data even after the alert has
3110 * Fix implementation of mbedtls_ssl_parse_certificate() to not annihilate
3111 fatal errors in authentication mode MBEDTLS_SSL_VERIFY_OPTIONAL and to
3113 * Fix bug that caused the modular inversion function to accept the invalid
3114 modulus 1 and therefore to hang. Found by blaufish. #641.
3118 * Fix a numerical underflow leading to stack overflow in mpi_read_file()
3122 * Send fatal alerts in more cases. The previous behaviour was to skip
3124 * Clarify ECDSA documentation and improve the sample code to avoid
3126 by Jean-Philippe Aumasson.
3128 = mbed TLS 2.5.0 branch released 2017-05-17
3134 * Add exponent blinding to RSA private operations as a countermeasure
3135 against side-channel attacks like the cache attack described in
3142 This involved exposing parts of the internal interface to enable
3145 * Add a new configuration option to 'mbedtls_ssl_config' to enable
3152 void to int to allow returning error codes when using MBEDTLS_AES_ALT,
3154 mbedtls_aes_decrypt() -> mbedtls_internal_aes_decrypt()
3155 mbedtls_aes_encrypt() -> mbedtls_internal_aes_encrypt()
3158 * Remove macros from compat-1.3.h that correspond to deleted items from most
3162 * Add checks in the PK module for the RSA functions on 64-bit systems.
3164 without these checks the type cast could lead to data loss. Found by Guido
3167 = mbed TLS 2.4.2 branch released 2017-03-08
3170 * Add checks to prevent signature forgeries for very large messages while
3171 using RSA through the PK module in 64-bit systems. The issue was caused by
3172 some data loss when casting a size_t to an unsigned int value in the
3174 mbedtls_pk_sign(). Found by Jean-Philippe Aumasson.
3181 CertificateVerify messages, to prevent SLOTH attacks against TLS 1.2.
3186 and potentially could lead to remote code execution on some platforms.
3188 team. #569 CVE-2017-2784
3193 MBEDTLS_X509_BADCERT_NOT_TRUSTED and MBEDTLS_X509_BADCERT_EXPIRED, to be
3196 * Fix the redefinition of macro ssl_set_bio to an undefined symbol
3197 mbedtls_ssl_set_bio_timeout in compat-1.3.h, by removing it.
3198 Found by omlib-lin. #673
3200 x509_csr.c that are reported when building mbed TLS with a config.h that
3208 the input string in PEM format to extract the different components. Found
3211 cause buffer bound checks to be bypassed. Found by Eyal Itkin.
3213 cause buffer bound checks to be bypassed. Found by Eyal Itkin.
3215 cause buffer bound checks to be bypassed. Found by Eyal Itkin.
3217 cause buffer bound checks to be bypassed. Found by Eyal Itkin.
3219 Li/Yueh-Hsun Lin, KNOX Security, Samsung Research America.
3221 by missing calls to mbedtls_pem_free() in cases when a
3224 * Fixed the templates used to generate project and solution files for Visual
3225 Studio 2015 as well as the files themselves, to remove a build warning
3230 number to write in hexadecimal is negative and requires an odd number of
3235 = mbed TLS 2.4.1 branch released 2016-12-13
3238 * Update to CMAC test data, taken from - NIST Special Publication 800-38B -
3242 = mbed TLS 2.4.0 branch released 2016-10-17
3246 with RFC-5116 and could lead to session key recovery in very long TLS
3247 sessions. "Nonce-Disrespecting Adversaries Practical Forgery Attacks on GCM in
3248 TLS" - H. Bock, A. Zauner, S. Devlin, J. Somorovsky, P. Jovanovic.
3251 mbedtls_x509write_csr_der() when the signature is copied to the buffer
3256 * Added support for CMAC for AES and 3DES and AES-CMAC-PRF-128, as defined by
3257 NIST SP 800-38B, RFC-4493 and RFC-4615.
3258 * Added hardware entropy selftest to verify that the hardware entropy source
3260 * Added a script to print build environment info for diagnostic use in test
3262 * Added the macro MBEDTLS_X509_MAX_FILE_PATH_LEN that enables the user to
3265 * Added a configuration file config-no-entropy.h that configures the subset of
3267 * Added the macro MBEDTLS_ENTROPY_MIN_HARDWARE in config.h. This allows users
3268 to configure the minimum number of bytes for entropy sources using the
3272 * Fix for platform time abstraction to avoid dependency issues where a build
3274 configuration consistency checks to check_config.h
3275 * Fix dependency issue in Makefile to allow parallel builds.
3278 * Fix for key exchanges based on ECDH-RSA or ECDH-ECDSA which weren't
3280 * Fix for out-of-tree builds using CMake. Found by jwurzer, and fix based on
3286 * Fixed pthread implementation to avoid unintended double initialisations
3291 * Fix mbedtls_x509_get_sig() to update the ASN1 type in the mbedtls_x509_buf
3293 subramanyam-c. #622
3300 Found by subramanyam-c. #626
3308 * Removed self-tests from the basic-built-test.sh script, and added all
3309 missing self-tests to the test suites, to ensure self-tests are only
3311 * Added support for 3 and 4 byte lengths to mbedtls_asn1_write_len().
3312 * Added support for a Yotta specific configuration file -
3316 * Renamed source file library/net.c to library/net_sockets.c to avoid
3319 deprecated, and its contents moved to net_sockets.h.
3320 * Changed the strategy for X.509 certificate parsing and validation, to no
3323 = mbed TLS 2.3.0 branch released 2016-06-28
3328 * Fix potential integer overflow to buffer overflow in
3331 * Fix a potential integer underflow to buffer overread in
3341 arguments where the same (in-place doubling). Found and fixed by Janos
3343 * Fix potential build failures related to the 'apidoc' target, introduced
3347 ECDSA was disabled in config.h . The leak didn't occur by default.
3348 * Fix an issue that caused valid certificates to be rejected whenever an
3352 buffer after DER certificates to be included in the raw representation.
3356 * Fix issue that caused a crash if invalid curves were passed to
3360 * Fix test in ssl-opt.sh that does not run properly with valgrind
3361 * Fix unchecked calls to mmbedtls_md_setup(). Fix by Brian Murray. #502
3364 * On ARM platforms, when compiling with -O0 with GCC, Clang or armcc5,
3366 the need to pass -fomit-frame-pointer to avoid a build error with -O0.
3370 * Fix non-compliance server extension handling. Extensions for SSLv3 are now
3373 = mbed TLS 2.2.1 released 2016-01-05
3376 * Fix potential double free when mbedtls_asn1_store_named_data() fails to
3379 * Disable MD5 handshake signatures in TLS 1.2 by default to prevent the
3381 SLOTH paper do not apply to any version of mbed TLS or PolarSSL).
3385 * Fix over-restrictive length limit in GCM. Found by Andreas-N. #362
3386 * Fix bug in certificate validation that caused valid chains to be rejected
3397 = mbed TLS 2.2.0 released 2015-11-04
3415 * Experimental support for EC J-PAKE as defined in Thread 1.0.0.
3417 * Added a key extraction callback to accees the master secret and key
3418 block. (Potential uses include EAP-TLS and Thread.)
3421 * Self-signed certificates were not excluded from pathlen counting,
3424 * Fix build error with configurations where ECDHE-PSK is the only key
3426 * Fix build error with configurations where RSA, RSA-PSK, ECDH-RSA or
3427 ECHD-ECDSA if the only key exchange. Multiple reports. #310
3428 * Fixed a bug causing some handshakes to fail due to some non-fatal alerts
3429 not being properly ignored. Found by mancha and Kasom Koht-arsa, #308
3431 size/curve against the profile. Before that, there was no way to set a
3432 minimum key size for end-entity certificates with RSA keys. Found by
3434 * Fix failures in MPI on Sparc(64) due to use of bad assembly code.
3438 certificates to be rejected by some applications, including OS X
3443 or -1.
3445 = mbed TLS 2.1.2 released 2015-10-06
3448 * Added fix for CVE-2015-5291 to prevent heap corruption due to buffer
3451 * Fix potential double-free if mbedtls_ssl_set_hs_psk() is called more than
3461 string of close to or larger than 1GB to exploit; on 64 bit machines, would
3462 require reading a string of close to or larger than 2^62 bytes.
3468 buffer is 512MB or larger on 32-bit platforms. Found by Guido Vranken,
3470 * Fix potential double-free if mbedtls_conf_psk() is called repeatedly on
3475 unless you allow third parties to pick trust CAs for client auth.
3484 * Added checking of hostname length in mbedtls_ssl_set_hostname() to ensure
3486 * Fixed paths for check_config.h in example config files. (Found by bachp)
3489 = mbed TLS 2.1.1 released 2015-09-17
3492 * Add countermeasure against Lenstra's RSA-CRT attack for PKCS#1 v1.5
3494 https://securityblog.redhat.com/2015/09/02/factoring-rsa-keys-with-tls-perfect-forward-secrecy/
3495 * Fix possible client-side NULL pointer dereference (read) when the client
3496 tries to continue the handshake after it failed (a misuse of the API).
3498 afl-fuzz.)
3502 * Fix off-by-one error in parsing Supported Point Format extension that
3503 caused some handshakes to fail.
3506 * Made X509 profile pointer const in mbedtls_ssl_conf_cert_profile() to allow
3510 (MBEDTLS_SSL_DTLS_HELLO_VERIFY defined in config.h, and usable cookie
3513 MBEDTLS_ERR_SSL_CLIENT_RECONNECT - it is then possible to start a new
3516 = mbed TLS 2.1.0 released 2015-09-04
3520 * Primary open source license changed to Apache 2.0 license.
3524 * Fix build error with CMake and pre-4.5 versions of GCC (found by Hugo
3528 * Fix bug in CMake lists that caused libmbedcrypto.a not to be installed
3530 * Fix bug in Makefile that caused libmbedcrypto and libmbedx509 not to be
3532 * Fix compile error with armcc 5 with --gnu option.
3533 * Fix bug in Makefile that caused programs not to be installed correctly
3537 * Fix missing -static-libgcc when building shared libraries for Windows
3541 * Fix bug in mbedtls_ssl_conf_default() that caused the default preset to
3544 result trying to unlock an unlocked mutex on invalid input (found by
3546 * Fix -Wshadow warnings (found by hnrkp) (#240)
3548 SSL_MAX_CONTENT_LEN or higher - not triggerrable remotely (found by
3556 * It is now possible to #include a user-provided configuration file at the
3557 end of the default config.h by defining MBEDTLS_USER_CONFIG_FILE on the
3560 trusted, no later cert is checked. (suggested by hannes-landeholm)
3562 * Prepend a "thread identifier" to debug messages (issue pointed out by
3564 * Add mbedtls_ssl_get_max_frag_len() to query the current maximum fragment
3567 = mbed TLS 2.0.0 released 2015-07-13
3571 * Ability to override core functions from MDx, SHAx, AES and DES modules
3573 ability to override the whole module.
3574 * New server-side implementation of session tickets that rotate keys to
3580 * Introduced a concept of presets for SSL security-relevant configuration
3585 You now need to link to all of them if you use TLS for example.
3586 * All public identifiers moved to the mbedtls_* or MBEDTLS_* namespace.
3587 Some names have been further changed to make them more consistent.
3588 Migration helpers scripts/rename.pl and include/mbedtls/compat-1.3.h are
3589 provided. Full list of renamings in scripts/data_files/rename-1.3-2.0.txt
3591 mbedtls_cipher_info_t.key_length -> key_bitlen
3592 mbedtls_cipher_context_t.key_length -> key_bitlen
3593 mbedtls_ecp_curve_info.size -> bit_size
3598 mbedtls_ssl_init() -> mbedtls_ssl_setup()
3599 mbedtls_ccm_init() -> mbedtls_ccm_setkey()
3600 mbedtls_gcm_init() -> mbedtls_gcm_setkey()
3601 mbedtls_hmac_drbg_init() -> mbedtls_hmac_drbg_seed(_buf)()
3602 mbedtls_ctr_drbg_init() -> mbedtls_ctr_drbg_seed()
3603 Note that for mbedtls_ssl_setup(), you need to be done setting up the
3607 ssl_legacy_renegotiation()) have been renamed to mbedtls_ssl_conf_xxx()
3608 (see rename.pl and compat-1.3.h above) and their first argument's type
3609 changed from ssl_context to ssl_config.
3611 additional callback for read-with-timeout).
3622 place of mbedtls_ssl_conf_session_tickets() to enable session tickets.
3630 mbedtls_x509_crt_verify() (flags, f_vrfy -> needs to be updated)
3631 mbedtls_ssl_conf_verify() (f_vrfy -> needs to be updated)
3632 * The following functions changed prototype to avoid an in-out length
3639 changed type to "mbedtls_net_context *".
3647 mbedtls_x509write_crt_set_key_usage() changed from int to unsigned.
3648 * test_ca_list (from certs.h) is renamed to test_cas_pem and is only
3650 * Test certificates in certs.c are no longer guaranteed to be nul-terminated
3654 length parameter to include the terminating null byte for PEM input.
3655 * Signature of mpi_mul_mpi() changed to make the last argument unsigned
3658 (Thanks to Mansour Moufid for helping with the replacement.)
3659 * Change SSL_DISABLE_RENEGOTIATION config.h flag to SSL_RENEGOTIATION
3660 (support for renegotiation now needs explicit enabling in config.h).
3662 in config.h
3663 * net_connect() and net_bind() have a new 'proto' argument to choose
3664 between TCP and UDP, using the macros NET_PROTO_TCP or NET_PROTO_UDP.
3665 Their 'port' argument type is changed to a string.
3679 * Removed compat-1.2.h (helper for migrating from 1.2 to 1.3).
3683 been removed (compiler is required to support 32-bit operations).
3686 * Removed test program ssl_test, superseded by ssl-opt.sh.
3687 * Removed helper script active-config.pl
3693 Semi-API changes (technically public, morally private)
3694 * Renamed a few headers to include _internal in the name. Those headers are
3695 not supposed to be included by users.
3699 * Removed sig_oid2 and rename sig_oid1 to sig_oid in x509_crt and x509_crl.
3700 * x509_crt.key_usage changed from unsigned char to unsigned int.
3713 custom config.h
3714 * Default DHM parameters server-side upgraded from 1024 to 2048 bits.
3718 * The following functions are now case-sensitive:
3728 * Compiler is required to support C99 types such as long long and uint32_t.
3737 * DTLS no longer hard-depends on TIMING_C, but uses a callback interface
3741 * With UDP sockets, it is no longer necessary to call net_bind() again
3746 thread-safe if MBEDTLS_THREADING_C is enabled.
3747 * Reduced ROM fooprint of SHA-256 and added an option to reduce it even
3753 * With authmode set to SSL_VERIFY_OPTIONAL, verification of keyUsage and
3756 * Add countermeasure against "Lucky 13 strikes back" cache-based attack,
3762 * Add x509_crt_verify_info() to display certificate verification results.
3766 * Add support for id-at-uniqueIdentifier in X.509 names.
3769 * Add an option to use macros instead of function pointers in the platform
3772 cross-compilation easier (thanks to Alon Bar-Lev).
3773 * The benchmark program also prints heap usage for public-key primitives
3775 * New script ecc-heap.sh helps measuring the impact of ECC parameters on
3778 reduced configurations (PSK-CCM and NSA suite B).
3779 * Add config flag POLARSSL_DEPRECATED_WARNING (off by default) to produce
3781 * Add config flag POLARSSL_DEPRECATED_REMOVED (off by default) to produce
3786 * Fix compile error with PLATFORM_EXIT_ALT (thanks to Rafał Przywara).
3788 entropy_free() to crash (thanks to Rafał Przywara).
3803 * Fix bug in pk_parse_key() that caused some valid private EC keys to be
3810 * Fix potential unintended sign extension in asn1_get_len() on 64-bit
3814 POLARSSL_SSL_SSESSION_TICKETS where both enabled in config.h (introduced
3817 * Add missing dependency on SHA-256 in some x509 programs (reported by
3819 * Fix bug related to ssl_set_curves(): the client didn't check that the
3828 * compat-1.2.h and openssl.h are deprecated.
3831 (contributed by Alon Bar-Lev).
3834 * Move from SHA-1 to SHA-256 in example programs using signatures
3838 * Change #include lines in test files to use double quotes instead of angle
3842 = mbed TLS 1.3.10 released 2015-02-09
3844 * NULL pointer dereference in the buffer-based allocator when the buffer is
3848 * Fix remotely-triggerable uninitialised pointer dereference caused by
3851 * Fix remotely-triggerable memory leak caused by crafted X.509 certificates
3857 * Fix timing difference that could theoretically lead to a
3858 Bleichenbacher-style attack in the RSA and RSA-PSK key exchanges
3862 * Add support for FALLBACK_SCSV (draft-ietf-tls-downgrade-scsv).
3863 * Add support for Extended Master Secret (draft-ietf-tls-session-hash).
3864 * Add support for Encrypt-then-MAC (RFC 7366).
3865 * Add function pk_check_pair() to test if public and private keys match.
3867 * Add compile-time option POLARSSL_X509_MAX_INTERMEDIATE_CA to limit the
3869 * Support for renegotiation can now be disabled at compile-time
3870 * Support for 1/n-1 record splitting, a countermeasure against BEAST.
3871 * Certificate selection based on signature hash, preferring SHA-1 over SHA-2
3872 for pre-1.2 clients when multiple certificates are available.
3875 * Add ssl_set_arc4_support() to make it easier to disable RC4 at runtime
3882 add_len (found by Jean-Philippe Aumasson) (not triggerable remotely).
3893 * Fix assembly selection for MIPS64 (thanks to James Cowgill).
3895 to a failed verification (found by Fredrik Axelsson).
3898 issue with some servers when a zero-length extension was sent. (Reported
3900 * On a 0-length input, base64_encode() did not correctly set output length
3904 * Use deterministic nonces for AEAD ciphers in TLS by default (possible to
3905 switch back to random with POLARSSL_SSL_AEAD_RANDOM_IV in config.h).
3907 * ssl_set_own_cert() now returns an error on key-certificate mismatch.
3909 * debug_print_buf() now prints a text view in addition to hexadecimal.
3911 but none of them is usable due to external factors such as no certificate
3913 * It is now possible to disable negotiation of truncated HMAC server-side
3919 = PolarSSL 1.3.9 released 2014-10-20
3923 * Remotely-triggerable memory leak when parsing some X.509 certificates
3926 * Remotely-triggerable memory leak when parsing crafted ClientHello
3933 * Fix net_accept() regarding non-blocking sockets (found by Luca Pesce).
3935 * Fix warnings from Clang's scan-build (contributed by Alfred Klomp).
3938 * Remove non-existent file from VS projects (found by Peter Vaskovic).
3939 * ssl_read() could return non-application data records on server while
3941 * Server-initiated renegotiation would fail with non-blocking I/O if the
3944 with non-blocking I/O.
3952 * Ciphersuites using SHA-256 or SHA-384 now require TLS 1.x (there is no
3953 standard defining how to use SHA-2 with SSL 3.0).
3954 * Ciphersuites using RSA-PSK key exchange new require TLS 1.x (the spec is
3955 ambiguous on how to encode some packets with SSL 3.0).
3960 * POLARSSL_MPI_MAX_SIZE now defaults to 1024 in order to allow 8192 bits
3966 = PolarSSL 1.3.8 released 2014-07-11
3969 It was possible to crash the server (and client) using crafted messages
3973 * Add CCM module and cipher mode to Cipher Layer
3975 * Support for parsing and verifying RSASSA-PSS signatures in the X.509
3978 * Add example config.h for PSK with CCM, optimized for low RAM usage.
3979 * Optimize for RAM usage in example config.h for NSA Suite B profile.
3980 * Add POLARSSL_REMOVE_ARC4_CIPHERSUITES to allow removing RC4 ciphersuites
3982 * Add server-side enforcement of sent renegotiation requests
3984 * Add SSL_CIPHERSUITES config.h flag to allow specifying a list of
3985 ciphersuites to use and save some memory if the list is small.
3990 * Migrate zeroizing of data to polarssl_zeroize() instead of memset()
4001 * Remove less-than-zero checks on unsigned numbers
4002 * Stricter check on SSL ClientHello internal sizes compared to actual packet
4013 rejected with CBC-based ciphersuites and TLS >= 1.1
4015 to 32 bytes with CBC-based ciphersuites and TLS >= 1.1
4016 * Restore ability to use a v1 cert as a CA if trusted locally. (This had
4018 * Restore ability to locally trust a self-signed cert that is not a proper
4024 * Fix off-by-one error in parsing Supported Point Format extension that
4025 caused some handshakes to fail.
4026 * Fix possible miscomputation of the premaster secret with DHE-PSK key
4027 exchange that caused some handshakes to fail with other implementations.
4030 * Fix base64_decode() to return and check length correctly (in case of
4032 * Fix mpi_write_string() to write "00" as hex output for empty MPI (found
4035 = PolarSSL 1.3.7 released on 2014-05-02
4037 * debug_set_log_mode() added to determine raw or full logging
4038 * debug_set_threshold() added to ignore messages over threshold level
4039 * version_check_feature() added to check for compile-time options at
4040 run-time
4047 * AES-NI now compiles with "old" assemblers too
4060 * rsa_check_pubkey() now allows an E up to N
4061 * On OpenBSD, use arc4random_buf() instead of rand() to prevent warnings
4063 big-endian platform when size was not an integer number of limbs
4070 = PolarSSL 1.3.6 released on 2014-04-11
4074 * Add option 'use_dev_random' to gen_key application
4084 * Use UTC time to check certificate validity.
4091 This affects certificates in the user-supplied chain except the top
4092 certificate. If the user-supplied chain contains only one certificates,
4109 * oid_get_numeric_string() used to truncate the output without returning an
4111 * dhm_parse_dhm() (hence dhm_parse_dhmfile()) did not set dhm->len.
4112 * Calling pk_debug() on an RSA-alt key would segfault.
4113 * pk_get_size() and pk_get_len() were off by a factor 8 for RSA-alt keys.
4117 stored in RAM due to missing 'const's (found by Gergely Budai).
4119 = PolarSSL 1.3.5 released on 2014-03-26
4121 * HMAC-DRBG as a separate module
4122 * Option to set the Curve preference order (disabled by default)
4124 * Ability to provide alternate timing implementation
4125 * Ability to force the entropy module to use SHA-256 as its basis
4127 * Testing script ssl-opt.sh added for testing 'live' ssl option
4135 now thread-safe if POLARSSL_THREADING_C defined
4136 * Improvements to the CMake build system, contributed by Julian Ospald.
4139 * Revamped the compat.sh interoperatibility script to include support for
4142 * Improvements to tests/Makefile, contributed by Oden Eriksson.
4145 * Forbid change of server certificate during renegotiation to prevent
4151 * Possible remotely-triggered out-of-bounds memory access fixed (found by
4155 * ecp_gen_keypair() does more tries to prevent failure because of
4158 * Fixed testing with out-of-source builds using cmake
4159 * Fixed version-major intolerance in server
4160 * Fixed CMake symlinking on out-of-source builds
4163 * Bignum's MIPS-32 assembly was used on MIPS-64, causing chaos. (Found by
4167 * Fixed bug with session tickets and non-blocking I/O in the unlikely case
4178 * x509_get_current_time() uses localtime_r() to prevent thread issues
4180 = PolarSSL 1.3.4 released on 2014-01-27
4183 * Support for RIPEMD-160
4199 = PolarSSL 1.3.3 released on 2013-12-31
4202 * Support for adhering to client ciphersuite order preference
4205 * Support for ECDH-RSA and ECDH-ECDSA key exchanges and ciphersuites
4207 * AES-NI support for AES, AES-GCM and AES key scheduling
4208 * SSL Pthread-based server example added (ssl_pthread_server)
4215 * More constant-time checks in the RSA module
4223 * Fixed X.509 hostname comparison (with non-regular characters)
4236 * Possible remotely-triggered out-of-bounds memory access fixed (found by
4239 = PolarSSL 1.3.2 released on 2013-11-04
4241 * PK tests added to test framework
4243 * Support for Camellia-GCM mode and ciphersuites
4246 * Padding checks in cipher layer are now constant-time
4247 * Value comparisons in SSL layer are now constant-time
4254 * Prevent possible alignment warnings on casting from char * to 'aligned *'
4255 * Misc fixes and additions to dependency checks
4259 * Defines to handle UEFI environment under MSVC
4260 * Server-side initiated renegotiations send HelloRequest
4262 = PolarSSL 1.3.1 released on 2013-10-15
4265 * Support for ECDHE-PSK key-exchange and ciphersuites
4266 * Support for RSA-PSK key-exchange and ciphersuites
4272 * config.h is more script-friendly
4284 = PolarSSL 1.3.0 released on 2013-10-01
4289 (ECDHE-based ciphersuites)
4291 (ECDSA-based ciphersuites)
4292 * Ability to specify allowed ciphersuites based on the protocol version.
4293 * PSK and DHE-PSK based ciphersuites added
4295 * Buffer-based memory allocator added (no malloc() / free() / HEAP usage)
4302 * Support for zeros-and-length (ANSI X.923) padding, one-and-zeros
4303 (ISO/IEC 7816-4) padding and zero padding in the cipher layer
4311 the same host (Not to be confused with SNI!)
4314 * Ability to enable / disable SSL v3 / TLS 1.0 / TLS 1.1 / TLS 1.2
4318 * Internals for SSL module adapted to have separate IV pointer that is
4320 * Moved all OID functionality to a separate module. RSA function
4325 * Ability to disable server_name extension (RFC 6066)
4326 * Renamed error_strerror() to the less conflicting polarssl_strerror()
4327 (Ability to keep old as well with POLARSSL_ERROR_STRERROR_BC)
4328 * SHA2 renamed to SHA256, SHA4 renamed to SHA512 and functions accordingly
4332 * Also compiles / runs without time-based functions (!POLARSSL_HAVE_TIME)
4343 * RSA blinding on CRT operations to counter timing attacks
4344 (found by Cyril Arnaud and Pierre-Alain Fouque)
4347 = Version 1.2.14 released 2015-05-??
4350 * Fix potential invalid memory read in the server, that allows a client to
4353 client to crash the server remotely if client authentication is enabled
4355 * Add countermeasure against "Lucky 13 strikes back" cache-based attack,
4363 * Fix potential unintended sign extension in asn1_get_len() on 64-bit
4366 = Version 1.2.13 released 2015-02-16
4367 Note: Although PolarSSL has been renamed to mbed TLS, no changes reflecting
4371 * Fix remotely-triggerable uninitialised pointer dereference caused by
4374 * Fix remotely-triggerable memory leak caused by crafted X.509 certificates
4387 add_len (found by Jean-Philippe Aumasson) (not triggerable remotely).
4392 * Fix assembly selection for MIPS64 (thanks to James Cowgill).
4394 to a failed verification (found by Fredrik Axelsson).
4397 issue with some servers when a zero-length extension was sent. (Reported
4399 * On a 0-length input, base64_encode() did not correctly set output length
4405 * Add compile-time option POLARSSL_X509_MAX_INTERMEDIATE_CA to limit the
4407 = Version 1.2.12 released 2014-10-24
4410 * Remotely-triggerable memory leak when parsing some X.509 certificates
4418 with non-blocking I/O.
4422 * Fix net_accept() regarding non-blocking sockets (found by Luca Pesce).
4423 * ssl_read() could return non-application data records on server while
4425 * Fix warnings from Clang's scan-build (contributed by Alfred Klomp).
4434 = Version 1.2.11 released 2014-07-11
4440 * Improvements to the CMake build system, contributed by Julian Ospald.
4443 * Improvements to tests/Makefile, contributed by Oden Eriksson.
4444 * Use UTC time to check certificate validity.
4446 * Migrate zeroizing of data to polarssl_zeroize() instead of memset()
4450 * Forbid change of server certificate during renegotiation to prevent
4458 It was possible to crash the server (and client) using crafted messages
4462 * Fixed X.509 hostname comparison (with non-regular characters)
4475 * Fixed testing with out-of-source builds using cmake
4476 * Fixed version-major intolerance in server
4477 * Fixed CMake symlinking on out-of-source builds
4478 * Bignum's MIPS-32 assembly was used on MIPS-64, causing chaos. (Found by
4484 * x509_get_current_time() uses localtime_r() to prevent thread issues
4490 * rsa_check_pubkey() now allows an E up to N
4491 * On OpenBSD, use arc4random_buf() instead of rand() to prevent warnings
4493 big-endian platform when size was not an integer number of limbs
4495 * Stricter check on SSL ClientHello internal sizes compared to actual packet
4501 * Fix base64_decode() to return and check length correctly (in case of
4504 = Version 1.2.10 released 2013-10-07
4506 * Changed RSA blinding to a slower but thread-safe version
4513 = Version 1.2.9 released 2013-10-01
4518 * Fixed potential memory leak when failing to resume a session
4525 * RSA blinding on CRT operations to counter timing attacks
4526 (found by Cyril Arnaud and Pierre-Alain Fouque)
4528 = Version 1.2.8 released 2013-06-19
4532 * Centralized module option values in config.h to allow user-defined
4540 * Added mechanism to provide alternative implementations for all
4542 config.h)
4556 * Fixed bignum.c and bn_mul.h to support Thumb2 and LLVM compiler
4557 * Fixed values for 2-key Triple DES in cipher layer
4561 * A possible DoS during the SSL Handshake, due to faulty parsing of
4562 PEM-encoded certificates has been fixed (found by Jack Lloyd)
4564 = Version 1.2.7 released 2013-04-13
4566 * Ability to specify allowed ciphersuites based on the protocol version.
4569 * Default Blowfish keysize is now 128-bits
4570 * Test suites made smaller to accommodate Raspberry Pi
4574 * GCM adapted to support sizes > 2^29
4576 = Version 1.2.6 released 2013-03-11
4579 * Corrected GCM counter incrementation to use only 32-bits instead of
4580 128-bits (found by Yawning Angel)
4581 * Fixes for 64-bit compilation with MS Visual Studio
4587 rsa_pkcs1_sign() and rsa_pkcs1_verify() to separate PKCS#1 v1.5 and
4591 * Re-added handling for SSLv2 Client Hello when the define
4599 * Removed timing differences due to bad padding from
4603 = Version 1.2.5 released 2013-02-02
4605 * Allow enabling of dummy error_strerror() to support some use-cases
4608 * Sending of security-relevant alert messages that do not break
4614 ssl_decrypt_buf() due to badly formatted padding
4616 = Version 1.2.4 released 2013-01-25
4618 * More advanced SSL ciphersuite representation and moved to more dynamic
4620 * Added ssl_handshake_step() to allow single stepping the handshake process
4628 = Version 1.2.3 released 2012-11-26
4632 = Version 1.2.2 released 2012-11-24
4634 * Added p_hw_data to ssl_context for context specific hardware acceleration
4636 * During verify trust-CA is only checked for expiration and CRL presence
4642 = Version 1.2.1 released 2012-11-20
4645 bottom-up (Peer cert depth is 0)
4650 * Allow R and A to point to same mpi in mpi_div_mpi (found by Manuel
4651 Pégourié-Gonnard)
4653 Pégourié-Gonnard)
4656 = Version 1.2.0 released 2012-10-31
4662 * Added support for multi-domain certificates through the X509 Subject
4670 * Added GCM suites to TLS 1.2 (RFC 5288)
4684 * Added option to add minimum accepted SSL/TLS protocol version
4689 * Fixed const-correctness mpi_get_bit()
4691 * Moved out_msg to out_hdr + 32 to support hardware acceleration
4692 * Changed certificate verify behaviour to comply with RFC 6125 section 6.3
4693 to not match CN if subjectAltName extension is present (Closes ticket #56)
4694 * Cipher layer cipher_mode_t POLARSSL_MODE_CFB128 is renamed to
4695 POLARSSL_MODE_CFB, to also handle different block size CFB modes.
4701 * Moved from unsigned long to fixed width uint32_t types throughout code
4702 * Renamed ciphersuites naming scheme to IANA reserved names
4715 * mpi_add_abs() now correctly handles adding short numbers to long numbers
4724 = Version 1.1.8 released on 2013-10-01
4726 * Fixed potential memory leak when failing to resume a session
4730 * Potential buffer-overflow for ssl_read_record() (independently found by
4735 = Version 1.1.7 released on 2013-06-19
4744 * Fixed values for 2-key Triple DES in cipher layer
4748 * A possible DoS during the SSL Handshake, due to faulty parsing of
4749 PEM-encoded certificates has been fixed (found by Jack Lloyd)
4751 = Version 1.1.6 released on 2013-03-11
4756 * Allow enabling of dummy error_strerror() to support some use-cases
4763 * Removed timing differences due to bad padding from
4767 = Version 1.1.5 released on 2013-01-16
4771 * mpi_add_abs() now correctly handles adding short numbers to long numbers
4778 Pégourié-Gonnard)
4779 * Allow R and A to point to same mpi in mpi_div_mpi (found by Manuel
4780 Pégourié-Gonnard)
4791 = Version 1.1.4 released on 2012-05-31
4797 = Version 1.1.3 released on 2012-04-29
4799 * Fixed random MPI generation to not generate more size than requested.
4801 = Version 1.1.2 released on 2012-04-26
4808 Frama-C team at CEA LIST)
4809 * Fixed generation of DHM parameters to correct length (found by Ruslan
4812 = Version 1.1.1 released on 2012-01-23
4816 * Fixed issues with Intel compiler on 64-bit systems (Closes ticket #50)
4820 = Version 1.1.0 released on 2011-12-22
4822 * Added ssl_session_reset() to allow better multi-connection pools of
4823 SSL contexts without needing to set all non-connection-specific
4824 data and pointers again. Adapted ssl_server to use this functionality.
4825 * Added ssl_set_max_version() to allow clients to offer a lower maximum
4826 supported version to a server to help buggy server implementations.
4830 * Added CTR_DRBG based on AES-256-CTR (NIST SP 800-90) random generator
4837 * Fixed rsa_encrypt and rsa_decrypt examples to use public key for
4839 * Inceased maximum size of ASN1 length reads to 32-bits.
4840 * Added an EXPLICIT tag number parameter to x509_get_ext()
4844 * Changed the defined key-length of DES ciphers in cipher.h to include the
4845 parity bits, to prevent mistakes in copying data. (Closes ticket #33)
4846 * Loads of minimal changes to better support WINCE as a build target
4847 (Credits go to Marco Lizza)
4848 * Added POLARSSL_MPI_WINDOW_SIZE definition to allow easier time to memory
4849 trade-off
4852 * Changed the used random function pointer to more flexible format. Renamed
4853 havege_rand() to havege_random() to prevent mistakes. Lots of changes as
4855 * Moved all examples programs to use the new entropy and CTR_DRBG
4856 * Added permissive certificate parsing to x509parse_crt() and
4858 encountering a parse-error. Beware that the meaning of return values has
4863 * Fixed faulty HMAC-MD2 implementation. Found by dibac. (Closes
4867 * Allowed X509 key usage parsing to accept 4 byte values instead of the
4869 * Fixed incorrect behaviour in case of RSASSA-PSS with a salt length
4878 = Version 1.0.0 released on 2011-07-27
4891 = Version 0.99-pre5 released on 2011-05-26
4893 * Added additional Cipher Block Modes to symmetric ciphers
4894 (AES CTR, Camellia CTR, XTEA CBC) including the option to
4898 * A error_strerror function() has been added to translate between
4908 t_int and t_dbl to t_uint and t_udbl in the process
4924 = Version 0.99-pre4 released on 2011-04-01
4927 for the RSAES-OAEP and RSASSA-PSS operations.
4942 platform (32-bit / 64-bit) (Fixes ticket #19, found by Mads
4946 * Fixed proper handling of RSASSA-PSS verification with variable
4949 = Version 0.99-pre3 released on 2011-02-28
4950 This release replaces version 0.99-pre2 which had possible copyright issues.
4954 * Added crl_app program to allow easy reading and
4958 * Parsing of PEM files moved to separate module (Fixes
4959 ticket #13). Also possible to remove PEM support for
4971 to negotiate anonymous connection (Fixes ticket #12,
4975 * Fixed a possible Man-in-the-Middle attack on the
4976 Diffie Hellman key exchange (thanks to Larry Highsmith,
4979 = Version 0.99-pre1 released on 2011-01-30
4981 Note: Most of these features have been donated by Fox-IT
4984 * Improved X509 certificate parsing to include extended
4989 * Improvements to support integration in other
4995 verification to allow external blacklisting
4996 + Additional example programs to show usage
4998 libpkcs11-helper library
5001 * x509parse_time_expired() checks time in addition to
5004 of ssl_session have been renamed to ciphersuites and
5009 = Version 0.14.0 released on 2010-08-16
5013 * Added compile-time and run-time version information
5020 Now using random fuction provided to function and
5023 * Some SSL defines were renamed in order to avoid
5033 = Version 0.13.1 released on 2010-03-24
5038 = Version 0.13.0 released on 2010-03-21
5040 * Added option parsing for host and port selection to
5043 * Added cert_app program to allow easy reading and
5050 in a function to allow easy future expansion
5051 * Changed symmetric cipher functions to
5053 * Changed ARC4 to use separate input/output buffer
5054 * Added reset function for HMAC context as speed-up
5055 for specific use-cases
5058 * Fixed bug resulting in failure to send the last
5066 = Version 0.12.1 released on 2009-10-04
5077 = Version 0.12.0 released on 2009-07-28
5079 * Added CMake makefiles as alternative to regular Makefiles.
5081 Base64, MPI, SHA-family, MD-family, HMAC-SHA-family,
5082 Camellia, DES, 3-DES, RSA PKCS#1, XTEA, Diffie-Hellman
5088 * RSA_RAW renamed to SIG_RSA_RAW for consistency.
5091 to indicate invalid key lengths.
5098 * Fixed HMAC-MD2 by modifying md2_starts(), so that the
5119 * Fixed Camellia and XTEA for 64-bit Windows systems.
5121 = Version 0.11.1 released on 2009-05-17
5122 * Fixed missing functionality for SHA-224, SHA-256, SHA384,
5123 SHA-512 in rsa_pkcs1_sign()
5125 = Version 0.11.0 released on 2009-05-03
5127 input numbers are even and added testcases to check
5129 * Added support for SHA-224, SHA-256, SHA-384 and SHA-512
5139 * Made definition of net_htons() endian-clean for big endian
5143 * Fixed an off-by-one buffer allocation in ssl_set_hostname()
5146 * Added support for CRL revocation to x509parse_verify() and
5148 * Fixed compatibility of XTEA and Camellia on a 64-bit system
5151 = Version 0.10.0 released on 2009-01-12
5152 * Migrated XySSL to PolarSSL
5163 = Version 0.9 released on 2008-03-16
5168 * Fixed a bug in ssl_write() that caused the same payload to
5169 be sent twice in non-blocking mode when send returns EAGAIN
5172 * Added user-defined callback debug function (Krystian Kolodziej)
5178 output data is non-aligned by falling back to the software
5179 implementation, as VIA Nehemiah cannot handle non-aligned buffers
5181 Robson-Garth; some x509write.c fixes by Pascal Vizeli, thanks to
5183 * Fixed x509_get_ext() to accept some rare certificates which have
5189 * Added an option to enable/disable the BN assembly code
5190 * Updated rsa_check_privkey() to verify that (D*E) = 1 % (P-1)*(Q-1)
5192 selftest and benchmark to not test ciphers that have been disabled
5193 * Updated x509parse_cert_info() to correctly display byte 0 of the
5195 * Fixed a critical denial-of-service with X.509 cert. verification:
5196 peer may cause xyssl to loop indefinitely by sending a certificate
5198 * Added test vectors for: AES-CBC, AES-CFB, DES-CBC and 3DES-CBC,
5199 HMAC-MD5, HMAC-SHA1, HMAC-SHA-256, HMAC-SHA-384, and HMAC-SHA-512
5200 * Fixed HMAC-SHA-384 and HMAC-SHA-512 (thanks to Josh Sinykin)
5201 * Modified ssl_parse_client_key_exchange() to protect against
5203 as the Klima-Pokorny-Rosa extension of Bleichenbacher's attack
5204 * Updated rsa_gen_key() so that ctx->N is always nbits in size
5205 * Fixed assembly PPC compilation errors on Mac OS X, thanks to
5208 = Version 0.8 released on 2007-10-20
5210 * Modified the HMAC functions to handle keys larger
5211 than 64 bytes, thanks to Stephane Desneux and gary ng
5212 * Fixed ssl_read_record() to properly update the handshake
5215 * Fixed net_recv(), thanks to Lorenz Schori and Egon Kocjan
5216 * Added user-defined callbacks for handling I/O and sessions
5220 * Added AES-CFB mode of operation, contributed by chmike
5222 * Updated the RSA PKCS#1 code to allow choosing between
5224 * Updated ssl_read() to skip 0-length records from OpenSSL
5225 * Fixed the make install target to comply with *BSD make
5226 * Fixed a bug in mpi_read_binary() on 64-bit platforms
5227 * mpi_is_prime() speedups, thanks to Kevin McLaughlin
5233 = Version 0.7 released on 2007-07-07
5235 * Added support for the MicroBlaze soft-core processor
5237 connections from being established with non-blocking I/O
5241 * Added the SHA-224, SHA-384 and SHA-512 hash functions
5242 * Fixed the net_set_*block routines, thanks to Andreas
5246 * Rewrote README.txt in program/ssl/ca to better explain
5247 how to create a test PKI
5249 = Version 0.6 released on 2007-04-01
5252 time, to reduce the memory footprint on embedded systems
5254 havege_struct for this processor, thanks to David Patiño
5255 * Added multiply assembly code for 64-bit PowerPCs,
5256 thanks to Peking University and the OSU Open Source Lab
5259 * Fixed "long long" compilation issues on IA-64 and PPC64
5260 * Fixed a bug introduced in xyssl-0.5/timing.c: hardclock
5263 = Version 0.5 released on 2007-03-01
5266 * Added (beta) support for non-blocking I/O operations
5269 (thanks to Benjamin Newman), HP-UX, FreeBSD and Solaris
5272 size of 16384 bytes to be rejected
5274 = Version 0.4 released on 2007-02-01
5276 * Added support for Ephemeral Diffie-Hellman key exchange
5278 * Various improvement to the modular exponentiation code
5279 * Rewrote the headers to generate the API docs with doxygen
5282 version was not properly set), thanks to Didier Rebeix
5287 = Version 0.3 released on 2007-01-01
5289 * Added server-side SSLv3 and TLSv1.0 support
5290 * Multiple fixes to enhance the compatibility with g++,
5291 thanks to Xosé Antón Otero Ferreira
5292 * Fixed a bug in the CBC code, thanks to dowst; also,
5294 * Updated rsa_pkcs1_sign to handle arbitrary large inputs
5296 and 486 processors, thanks to Arnaud Cornet
5298 = Version 0.2 released on 2006-12-01
5300 * Updated timing.c to support ARM and MIPS arch
5301 * Updated the MPI code to support 8086 on MSVC 1.5
5303 * Fixed a bug in sha2_hmac, thanks to newsoft/Wenfang Zhang
5307 valid RSA keys to be dismissed (thanks to oldwolf)
5308 * Fixed a bug in mpi_is_prime that caused some primes to fail
5309 the Miller-Rabin primality test
5311 I'd also like to thank Younès Hafri for the CRUX linux port,
5313 who maintains the Debian package :-)
5315 = Version 0.1 released on 2006-11-01