mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-09 23:26:29 -04:00
Merge pull request #1042 from daverodgman/mbedtls-2.28.4rc0-pr
Mbedtls 2.28.4rc0 pr
This commit is contained in:
commit
8fd5eefe9b
@ -76,6 +76,6 @@ The following branches are currently maintained:
|
|||||||
- [`development`](https://github.com/Mbed-TLS/mbedtls/)
|
- [`development`](https://github.com/Mbed-TLS/mbedtls/)
|
||||||
- [`mbedtls-2.28`](https://github.com/Mbed-TLS/mbedtls/tree/mbedtls-2.28)
|
- [`mbedtls-2.28`](https://github.com/Mbed-TLS/mbedtls/tree/mbedtls-2.28)
|
||||||
maintained until at least the end of 2024, see
|
maintained until at least the end of 2024, see
|
||||||
<https://github.com/Mbed-TLS/mbedtls/releases/tag/v2.28.3>.
|
<https://github.com/Mbed-TLS/mbedtls/releases/tag/v2.28.4>.
|
||||||
|
|
||||||
Users are urged to always use the latest version of a maintained branch.
|
Users are urged to always use the latest version of a maintained branch.
|
||||||
|
26
ChangeLog
26
ChangeLog
@ -1,5 +1,31 @@
|
|||||||
Mbed TLS ChangeLog (Sorted per branch, date)
|
Mbed TLS ChangeLog (Sorted per branch, date)
|
||||||
|
|
||||||
|
= Mbed TLS 2.28.4 branch released 2023-08-04
|
||||||
|
|
||||||
|
Features
|
||||||
|
* Allow MBEDTLS_CONFIG_FILE and MBEDTLS_USER_CONFIG_FILE to be set by
|
||||||
|
setting the CMake variable of the same name at configuration time.
|
||||||
|
|
||||||
|
Bugfix
|
||||||
|
* Fix crypt_and_hash decryption fail when used with a stream cipher
|
||||||
|
mode of operation, due to the input not being a multiple of the block
|
||||||
|
size. Resolves #7417.
|
||||||
|
* Fix a bug where mbedtls_x509_string_to_names() would return success
|
||||||
|
when given a invalid name string, if it did not contain '=' or ','.
|
||||||
|
* Fix missing PSA initialization in sample programs when
|
||||||
|
MBEDTLS_USE_PSA_CRYPTO is enabled.
|
||||||
|
* Fix clang and armclang compilation error when targeting certain Arm
|
||||||
|
M-class CPUs (Cortex-M0, Cortex-M0+, Cortex-M1, Cortex-M23,
|
||||||
|
SecurCore SC000). Fixes #1077.
|
||||||
|
* Fixed an issue that caused compile errors when using CMake and the IAR
|
||||||
|
toolchain.
|
||||||
|
* Fix the build with MBEDTLS_PSA_INJECT_ENTROPY. Fixes #7516.
|
||||||
|
* Fix builds on Windows with clang.
|
||||||
|
* Fix compilation warnings in aes.c for certain combinations
|
||||||
|
of configuration options.
|
||||||
|
* Fix a compilation error on some platforms when including mbedtls/ssl.h
|
||||||
|
with all TLS support disabled. Fixes #6628.
|
||||||
|
|
||||||
= Mbed TLS 2.28.3 branch released 2023-03-28
|
= Mbed TLS 2.28.3 branch released 2023-03-28
|
||||||
|
|
||||||
Features
|
Features
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
Bugfix
|
|
||||||
* Fix clang and armclang compilation error when targeting certain Arm
|
|
||||||
M-class CPUs (Cortex-M0, Cortex-M0+, Cortex-M1, Cortex-M23,
|
|
||||||
SecurCore SC000). Fixes #1077.
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
|||||||
Bugfix
|
|
||||||
* Fixed an issue that caused compile errors when using CMake and the IAR
|
|
||||||
toolchain.
|
|
@ -1,3 +0,0 @@
|
|||||||
Features
|
|
||||||
* Allow MBEDTLS_CONFIG_FILE and MBEDTLS_USER_CONFIG_FILE to be set by
|
|
||||||
setting the CMake variable of the same name at configuration time.
|
|
@ -1,4 +0,0 @@
|
|||||||
Bugfix
|
|
||||||
* Fix crypt_and_hash decryption fail when used with a stream cipher
|
|
||||||
mode of operation due to the input not being multiple of block size.
|
|
||||||
Resolves #7417.
|
|
@ -1,3 +0,0 @@
|
|||||||
Bugfix
|
|
||||||
* Fix a bug in which mbedtls_x509_string_to_names() would return success
|
|
||||||
when given a invalid name string if it did not contain '=' or ','.
|
|
@ -1,3 +0,0 @@
|
|||||||
Bugfix
|
|
||||||
* Fix compilation warnings in aes.c for certain combinations
|
|
||||||
of configuration options.
|
|
@ -1,2 +0,0 @@
|
|||||||
Bugfix
|
|
||||||
* Fix builds on Windows with clang
|
|
@ -1,2 +0,0 @@
|
|||||||
Bugfix
|
|
||||||
* Fix the build with MBEDTLS_PSA_INJECT_ENTROPY. Fixes #7516.
|
|
@ -1,3 +0,0 @@
|
|||||||
Bugfix
|
|
||||||
* Fix missing PSA initialization in sample programs when
|
|
||||||
MBEDTLS_USE_PSA_CRYPTO is enabled.
|
|
@ -1,3 +0,0 @@
|
|||||||
Bugfix
|
|
||||||
* Fix a compilation error on some platforms when including mbedtls/ssl.h
|
|
||||||
with all TLS support disabled. Fixes #6628.
|
|
@ -22,7 +22,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @mainpage Mbed TLS v2.28.3 API Documentation
|
* @mainpage Mbed TLS v2.28.4 API Documentation
|
||||||
*
|
*
|
||||||
* This documentation describes the internal structure of Mbed TLS. It was
|
* This documentation describes the internal structure of Mbed TLS. It was
|
||||||
* automatically generated from specially formatted comment blocks in
|
* automatically generated from specially formatted comment blocks in
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
PROJECT_NAME = "mbed TLS v2.28.3"
|
PROJECT_NAME = "mbed TLS v2.28.4"
|
||||||
OUTPUT_DIRECTORY = ../apidoc/
|
OUTPUT_DIRECTORY = ../apidoc/
|
||||||
FULL_PATH_NAMES = NO
|
FULL_PATH_NAMES = NO
|
||||||
OPTIMIZE_OUTPUT_FOR_C = YES
|
OPTIMIZE_OUTPUT_FOR_C = YES
|
||||||
|
@ -38,16 +38,16 @@
|
|||||||
*/
|
*/
|
||||||
#define MBEDTLS_VERSION_MAJOR 2
|
#define MBEDTLS_VERSION_MAJOR 2
|
||||||
#define MBEDTLS_VERSION_MINOR 28
|
#define MBEDTLS_VERSION_MINOR 28
|
||||||
#define MBEDTLS_VERSION_PATCH 3
|
#define MBEDTLS_VERSION_PATCH 4
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The single version number has the following structure:
|
* The single version number has the following structure:
|
||||||
* MMNNPP00
|
* MMNNPP00
|
||||||
* Major version | Minor version | Patch version
|
* Major version | Minor version | Patch version
|
||||||
*/
|
*/
|
||||||
#define MBEDTLS_VERSION_NUMBER 0x021C0300
|
#define MBEDTLS_VERSION_NUMBER 0x021C0400
|
||||||
#define MBEDTLS_VERSION_STRING "2.28.3"
|
#define MBEDTLS_VERSION_STRING "2.28.4"
|
||||||
#define MBEDTLS_VERSION_STRING_FULL "mbed TLS 2.28.3"
|
#define MBEDTLS_VERSION_STRING_FULL "mbed TLS 2.28.4"
|
||||||
|
|
||||||
#if defined(MBEDTLS_VERSION_C)
|
#if defined(MBEDTLS_VERSION_C)
|
||||||
|
|
||||||
|
@ -204,15 +204,15 @@ endif(USE_STATIC_MBEDTLS_LIBRARY)
|
|||||||
if(USE_SHARED_MBEDTLS_LIBRARY)
|
if(USE_SHARED_MBEDTLS_LIBRARY)
|
||||||
set(CMAKE_LIBRARY_PATH ${CMAKE_CURRENT_BINARY_DIR})
|
set(CMAKE_LIBRARY_PATH ${CMAKE_CURRENT_BINARY_DIR})
|
||||||
add_library(${mbedcrypto_target} SHARED ${src_crypto})
|
add_library(${mbedcrypto_target} SHARED ${src_crypto})
|
||||||
set_target_properties(${mbedcrypto_target} PROPERTIES VERSION 2.28.3 SOVERSION 7)
|
set_target_properties(${mbedcrypto_target} PROPERTIES VERSION 2.28.4 SOVERSION 7)
|
||||||
target_link_libraries(${mbedcrypto_target} PUBLIC ${libs})
|
target_link_libraries(${mbedcrypto_target} PUBLIC ${libs})
|
||||||
|
|
||||||
add_library(${mbedx509_target} SHARED ${src_x509})
|
add_library(${mbedx509_target} SHARED ${src_x509})
|
||||||
set_target_properties(${mbedx509_target} PROPERTIES VERSION 2.28.3 SOVERSION 1)
|
set_target_properties(${mbedx509_target} PROPERTIES VERSION 2.28.4 SOVERSION 1)
|
||||||
target_link_libraries(${mbedx509_target} PUBLIC ${libs} ${mbedcrypto_target})
|
target_link_libraries(${mbedx509_target} PUBLIC ${libs} ${mbedcrypto_target})
|
||||||
|
|
||||||
add_library(${mbedtls_target} SHARED ${src_tls})
|
add_library(${mbedtls_target} SHARED ${src_tls})
|
||||||
set_target_properties(${mbedtls_target} PROPERTIES VERSION 2.28.3 SOVERSION 14)
|
set_target_properties(${mbedtls_target} PROPERTIES VERSION 2.28.4 SOVERSION 14)
|
||||||
target_link_libraries(${mbedtls_target} PUBLIC ${libs} ${mbedx509_target})
|
target_link_libraries(${mbedtls_target} PUBLIC ${libs} ${mbedx509_target})
|
||||||
endif(USE_SHARED_MBEDTLS_LIBRARY)
|
endif(USE_SHARED_MBEDTLS_LIBRARY)
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
Check compile time library version
|
Check compile time library version
|
||||||
check_compiletime_version:"2.28.3"
|
check_compiletime_version:"2.28.4"
|
||||||
|
|
||||||
Check runtime library version
|
Check runtime library version
|
||||||
check_runtime_version:"2.28.3"
|
check_runtime_version:"2.28.4"
|
||||||
|
|
||||||
Check for MBEDTLS_VERSION_C
|
Check for MBEDTLS_VERSION_C
|
||||||
check_feature:"MBEDTLS_VERSION_C":0
|
check_feature:"MBEDTLS_VERSION_C":0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user