Skip to content

Commit

Permalink
Merge pull request #957 from paul-elliott-arm/mbedtls-3.2.0rc0-pr
Browse files Browse the repository at this point in the history
Mbedtls 3.2.0rc0 PR
  • Loading branch information
paul-elliott-arm authored Jul 11, 2022
2 parents 6e80e09 + cb21f2e commit 3aef767
Show file tree
Hide file tree
Showing 183 changed files with 66,505 additions and 379 deletions.
5 changes: 0 additions & 5 deletions BRANCHES.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ At any point in time, we have a number of maintained branches, currently consist
- One or more long-time support (LTS) branches: these only get bug fixes and
security fixes. Currently, the only supported LTS branch is:
[`mbedtls-2.28`](https://github.com/Mbed-TLS/mbedtls/tree/mbedtls-2.28).
- For a short time we also have the previous LTS, which has recently ended its
support period,
[`mbedtls-2.16`](https://github.com/Mbed-TLS/mbedtls/tree/mbedtls-2.16).
This branch will move into the `archive` namespace around the time of
the next release.

We retain a number of historical branches, whose names are prefixed by `archive/`,
such as [`archive/mbedtls-2.7`](https://github.com/Mbed-TLS/mbedtls/tree/archive/mbedtls-2.7).
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ option(MBEDTLS_FATAL_WARNINGS "Compiler warnings treated as errors" ON)
if(CMAKE_HOST_WIN32)
option(GEN_FILES "Generate the auto-generated files as needed" OFF)
else()
option(GEN_FILES "Generate the auto-generated files as needed" ON)
option(GEN_FILES "Generate the auto-generated files as needed" OFF)
endif()

option(DISABLE_PACKAGE_CONFIG_AND_INSTALL "Disable package configuration, target export and installation" ${MBEDTLS_AS_SUBPROJECT})
Expand Down Expand Up @@ -348,7 +348,7 @@ if(NOT DISABLE_PACKAGE_CONFIG_AND_INSTALL)
write_basic_package_version_file(
"cmake/MbedTLSConfigVersion.cmake"
COMPATIBILITY SameMajorVersion
VERSION 3.1.0)
VERSION 3.2.0)

install(
FILES "${CMAKE_CURRENT_BINARY_DIR}/cmake/MbedTLSConfig.cmake"
Expand Down
272 changes: 271 additions & 1 deletion ChangeLog

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions ChangeLog.d/Driver_wrapper_codegen_1.0.txt

This file was deleted.

2 changes: 0 additions & 2 deletions ChangeLog.d/MD-X.509-hashing.txt

This file was deleted.

3 changes: 0 additions & 3 deletions ChangeLog.d/PSA-test-suites-NOT-using-UID-0.txt

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions ChangeLog.d/add_dn_get_next.txt

This file was deleted.

4 changes: 0 additions & 4 deletions ChangeLog.d/add_final_delay_accessor

This file was deleted.

4 changes: 0 additions & 4 deletions ChangeLog.d/add_handshake_completion_accessor

This file was deleted.

4 changes: 0 additions & 4 deletions ChangeLog.d/add_own_cid_accessors

This file was deleted.

5 changes: 0 additions & 5 deletions ChangeLog.d/alert_reentrant.txt

This file was deleted.

2 changes: 0 additions & 2 deletions ChangeLog.d/asn1write-0-fix

This file was deleted.

2 changes: 0 additions & 2 deletions ChangeLog.d/bug_order_x448.txt

This file was deleted.

4 changes: 0 additions & 4 deletions ChangeLog.d/ccm_star_no_tag.txt

This file was deleted.

4 changes: 0 additions & 4 deletions ChangeLog.d/chacha20_invalid_iv_len_fix.txt

This file was deleted.

4 changes: 0 additions & 4 deletions ChangeLog.d/cmake_add_subdirectory_support.txt

This file was deleted.

3 changes: 0 additions & 3 deletions ChangeLog.d/cmake_fix_dll_install.txt

This file was deleted.

2 changes: 0 additions & 2 deletions ChangeLog.d/cmake_msvc_utf8.txt

This file was deleted.

5 changes: 0 additions & 5 deletions ChangeLog.d/cmake_use_GnuInstallDirs.txt

This file was deleted.

3 changes: 0 additions & 3 deletions ChangeLog.d/deprecate_mbedtls_cipher_setup_psa.txt

This file was deleted.

5 changes: 0 additions & 5 deletions ChangeLog.d/doc-x509-profile-pk.txt

This file was deleted.

5 changes: 0 additions & 5 deletions ChangeLog.d/dtls-cid-null.txt

This file was deleted.

3 changes: 0 additions & 3 deletions ChangeLog.d/fix-csr_subject_commas.txt

This file was deleted.

3 changes: 0 additions & 3 deletions ChangeLog.d/fix-parllel-cmake-build-fail.txt

This file was deleted.

3 changes: 0 additions & 3 deletions ChangeLog.d/fix-time-format-pre-2000.txt

This file was deleted.

3 changes: 0 additions & 3 deletions ChangeLog.d/fix-undefined-memcpy-mbedtls_asn1_named_data.txt

This file was deleted.

3 changes: 0 additions & 3 deletions ChangeLog.d/fix-windows-cmake-build-with-shared-libraries.txt

This file was deleted.

4 changes: 0 additions & 4 deletions ChangeLog.d/fix-x25519-program.txt

This file was deleted.

6 changes: 0 additions & 6 deletions ChangeLog.d/fix_some_resource_leaks.txt

This file was deleted.

2 changes: 0 additions & 2 deletions ChangeLog.d/hkdf_extract_expand.txt

This file was deleted.

3 changes: 0 additions & 3 deletions ChangeLog.d/mbedtls_ecp_export.txt

This file was deleted.

2 changes: 0 additions & 2 deletions ChangeLog.d/mbedtls_pem_get_der.txt

This file was deleted.

3 changes: 0 additions & 3 deletions ChangeLog.d/mbedtls_pk_sign_ext.txt

This file was deleted.

3 changes: 0 additions & 3 deletions ChangeLog.d/mbedtls_sha2_a64_crypto_acceleration.txt

This file was deleted.

7 changes: 0 additions & 7 deletions ChangeLog.d/mbedtls_ssl_cert_cb.txt

This file was deleted.

2 changes: 0 additions & 2 deletions ChangeLog.d/mbedtls_ssl_comfig_defaults-memleak.txt

This file was deleted.

3 changes: 0 additions & 3 deletions ChangeLog.d/mbedtls_ssl_dn_hint.txt

This file was deleted.

3 changes: 0 additions & 3 deletions ChangeLog.d/mbedtls_ssl_get_ciphersuite_id.txt

This file was deleted.

4 changes: 0 additions & 4 deletions ChangeLog.d/mbedtls_ssl_hs_cb_t.txt

This file was deleted.

2 changes: 0 additions & 2 deletions ChangeLog.d/mbedtls_ssl_ticket_rotate.txt

This file was deleted.

2 changes: 0 additions & 2 deletions ChangeLog.d/mbedtls_ssl_tls13_client.txt

This file was deleted.

10 changes: 0 additions & 10 deletions ChangeLog.d/mbedtls_tlsver_enum.txt

This file was deleted.

3 changes: 0 additions & 3 deletions ChangeLog.d/md_info_from_ctx.txt

This file was deleted.

4 changes: 0 additions & 4 deletions ChangeLog.d/mingw.txt

This file was deleted.

3 changes: 0 additions & 3 deletions ChangeLog.d/pkparse-pkcs8-unencrypted-no-alloc.txt

This file was deleted.

4 changes: 0 additions & 4 deletions ChangeLog.d/psa_aead_singleshot_error.txt

This file was deleted.

6 changes: 0 additions & 6 deletions ChangeLog.d/psa_crypto_config_file.txt

This file was deleted.

3 changes: 0 additions & 3 deletions ChangeLog.d/psa_crypto_key_derivation_for_ECC_keys.txt

This file was deleted.

3 changes: 0 additions & 3 deletions ChangeLog.d/psa_crypto_reduced_configs_bugs.txt

This file was deleted.

5 changes: 0 additions & 5 deletions ChangeLog.d/psa_crypto_se.txt

This file was deleted.

3 changes: 0 additions & 3 deletions ChangeLog.d/psa_raw_key_agreement-buffer_too_small.txt

This file was deleted.

4 changes: 0 additions & 4 deletions ChangeLog.d/psk_to_ms_mixed_psk.txt

This file was deleted.

5 changes: 0 additions & 5 deletions ChangeLog.d/resumption_cid.txt

This file was deleted.

2 changes: 0 additions & 2 deletions ChangeLog.d/selftest-gcc12.txt

This file was deleted.

6 changes: 0 additions & 6 deletions ChangeLog.d/ssl_context-user_data.txt

This file was deleted.

3 changes: 0 additions & 3 deletions ChangeLog.d/ssl_context-version_number.txt

This file was deleted.

2 changes: 0 additions & 2 deletions ChangeLog.d/ssl_get_version_1_3.txt

This file was deleted.

3 changes: 0 additions & 3 deletions ChangeLog.d/static_link_common_runtime_msvc.txt

This file was deleted.

3 changes: 0 additions & 3 deletions ChangeLog.d/timeless.txt

This file was deleted.

3 changes: 0 additions & 3 deletions ChangeLog.d/tls13-fix-finished-fetch.txt

This file was deleted.

18 changes: 0 additions & 18 deletions ChangeLog.d/tls13-misc-changelogs.txt

This file was deleted.

4 changes: 0 additions & 4 deletions ChangeLog.d/tls13_and_keep_certificates.txt

This file was deleted.

3 changes: 0 additions & 3 deletions ChangeLog.d/tls13_and_use_psa_crypto.txt

This file was deleted.

3 changes: 0 additions & 3 deletions ChangeLog.d/tls13_f_export_keys.txt

This file was deleted.

7 changes: 0 additions & 7 deletions ChangeLog.d/use-psa-ecdhe-curve.txt

This file was deleted.

12 changes: 0 additions & 12 deletions ChangeLog.d/use-psa-improvements.txt

This file was deleted.

3 changes: 0 additions & 3 deletions ChangeLog.d/x509_ext_types_accessor.txt

This file was deleted.

4 changes: 0 additions & 4 deletions ChangeLog.d/zeroize_key_buffers_before_free.txt

This file was deleted.

2 changes: 1 addition & 1 deletion doxygen/input/doc_mainpage.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
*/

/**
* @mainpage mbed TLS v3.1.0 source code documentation
* @mainpage mbed TLS v3.2.0 source code documentation
*
* This documentation describes the internal structure of mbed TLS. It was
* automatically generated from specially formatted comment blocks in
Expand Down
2 changes: 1 addition & 1 deletion doxygen/mbedtls.doxyfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PROJECT_NAME = "mbed TLS v3.1.0"
PROJECT_NAME = "mbed TLS v3.2.0"
OUTPUT_DIRECTORY = ../apidoc/
FULL_PATH_NAMES = NO
OPTIMIZE_OUTPUT_FOR_C = YES
Expand Down
8 changes: 4 additions & 4 deletions include/mbedtls/build_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,17 @@
* Major, Minor, Patchlevel
*/
#define MBEDTLS_VERSION_MAJOR 3
#define MBEDTLS_VERSION_MINOR 1
#define MBEDTLS_VERSION_MINOR 2
#define MBEDTLS_VERSION_PATCH 0

/**
* The single version number has the following structure:
* MMNNPP00
* Major version | Minor version | Patch version
*/
#define MBEDTLS_VERSION_NUMBER 0x03010000
#define MBEDTLS_VERSION_STRING "3.1.0"
#define MBEDTLS_VERSION_STRING_FULL "mbed TLS 3.1.0"
#define MBEDTLS_VERSION_NUMBER 0x03020000
#define MBEDTLS_VERSION_STRING "3.2.0"
#define MBEDTLS_VERSION_STRING_FULL "mbed TLS 3.2.0"

#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
#define _CRT_SECURE_NO_DEPRECATE 1
Expand Down
Loading

0 comments on commit 3aef767

Please sign in to comment.