Skip to content

Commit f67ec1c

Browse files
authored
Release-5.3.0 (#130)
By creating this pull request you agree to the terms in CONTRIBUTING.md. https://github.com/Infineon/.github/blob/master/CONTRIBUTING.md --- DO NOT DELETE ANYTHING ABOVE THIS LINE --- CONTRIBUTING.md also tells you what to expect in the PR process. Description Added defines for default config file for MbedTLS Context Default config will be used by applications that does not rely on a user config file for MbedTLS
1 parent 915fb12 commit f67ec1c

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 5.3.0 (2024-08-28)
2+
* Add options for default configuration for MBEDTLS.
3+
14
## 5.2.0 (2024-08-22)
25
* Add shared memory pthread mutex for multi-process and multi-threads applications for Linux.
36
* Improve pal_os_event logging.

config/mbedtls_default_config.h

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1498,3 +1498,33 @@
14981498
* requisites are enabled as well.
14991499
*/
15001500
#undef MBEDTLS_GCM_C
1501+
1502+
/**
1503+
* \def MBEDTLS_AES_ALT
1504+
*
1505+
* MBEDTLS__MODULE_NAME__ALT: Uncomment a macro to let Mbed TLS use your
1506+
* alternate core implementation of a symmetric crypto, an arithmetic or hash
1507+
* module (e.g. platform specific assembly optimized implementations). Keep
1508+
* in mind that the function prototypes should remain the same.
1509+
*
1510+
* This replaces the whole module. If you only want to replace one of the
1511+
* functions, use one of the MBEDTLS__FUNCTION_NAME__ALT flags.
1512+
*
1513+
* Example: In case you uncomment MBEDTLS_AES_ALT, Mbed TLS will no longer
1514+
* provide the "struct mbedtls_aes_context" definition and omit the base
1515+
* function declarations and implementations. "aes_alt.h" will be included from
1516+
* "aes.h" to include the new function definitions.
1517+
*
1518+
* Uncomment a macro to enable alternate implementation of the corresponding
1519+
* module.
1520+
*
1521+
* \warning MD2, MD4, MD5, ARC4, DES and SHA-1 are considered weak and their
1522+
* use constitutes a security risk. If possible, we recommend
1523+
* avoiding dependencies on them, and considering stronger message
1524+
* digests and ciphers instead.
1525+
*
1526+
*/
1527+
#undef MBEDTLS_CMAC_ALT
1528+
#undef MBEDTLS_SHA256_ALT
1529+
#undef MBEDTLS_SHA256_PROCESS_ALT
1530+
#undef MBEDTLS_GCM_ALT

0 commit comments

Comments
 (0)