Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[nrf noup] Add support for statically allocated storage slots #20

Open
wants to merge 24 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
8853894
[nrf noup] Remove duplicated legacy Mbed TLS header files
frkv Aug 22, 2024
676e65f
[nrf noup] Remove redefinition ECC_MAX_CURVE_BITS
Vge0rge Nov 28, 2023
57029f3
[nrf noup] Add missing brainpool key sizes
Vge0rge Feb 5, 2024
7248c60
[nrf noup] Remove oberon_config.h inclusion
Vge0rge Feb 6, 2024
18dd07c
[nrf noup] Make Oberon PSA hash operation static
Vge0rge Feb 9, 2024
77f3bda
[nrf noup] Turn the repo into a Zephyr module
SebastianBoe Mar 8, 2024
89285d3
[nrf noup] Align build_info.h with Mbed TLS 3.6.1
SebastianBoe Mar 12, 2024
050fc1f
[nrf toup] Support builtin keys with CMAC KDF
vlilleboe Apr 8, 2024
4e3141b
[nrf noup] keys: Add plausibility checks for ECC keys
mswarowsky Mar 19, 2024
0a93307
[nrf noup] library: psa_crypto_storage.c error
Vge0rge Apr 17, 2024
5724fe6
[nrf noup] testspec: Add test spec to run crypto and TF-M tests
stephen-nordic Mar 8, 2024
3907b92
[nrf noup] Adjust range for builtin keys
vlilleboe Apr 19, 2024
373f6dd
[nrf noup] Allow import and destroy of builtin keys
vlilleboe Apr 3, 2024
e71f27f
[nrf toup] Add missing defined oberon_key_derivation.c
Vge0rge Jul 17, 2024
58dbf90
[nrf noup] Don't ignore error code
vlilleboe Jun 14, 2024
c3443d2
[nrf noup] PSA key attribute ABI compliance
frkv Aug 22, 2024
0de74c2
[nrf noup] psa: Using simpler initialization for operation structs
frkv Aug 23, 2024
825a7fd
[nrf noup]: Change attributes-type to pointer (was struct)
frkv Sep 9, 2024
b8dfab5
[nrf noup]: fix mbedtls_psa_crypto_configure_entropy_sources symbol
frkv Sep 9, 2024
b41e899
Do not use generic header names
krish2718 Sep 26, 2024
21728cf
added skip in ecdsa verify if eddsaph
PFnord Nov 11, 2024
d66c207
[nrf noup] ed448 key size 456 bits
PFnord Dec 13, 2024
521ec4c
[nrf noup] Add support for statically allocated storage slots
frkv Feb 3, 2025
15fdb26
[nrf noup] Adding missing key length macros
frkv Feb 4, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[nrf noup] Align build_info.h with Mbed TLS 3.6.1
-This updates the build_info.h to match with Mbed TLS v3.6.1 distribution
 and is done to ensure that legacy support and TLS/DTLS and X.509 support

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
Signed-off-by: Frank Audun Kvamtrø <frank.kvamtro@nordicsemi.no>
  • Loading branch information
SebastianBoe authored and frkv committed Sep 10, 2024
commit 89285d39317ef30b5f5ff78dd5aeee1539b23086
36 changes: 32 additions & 4 deletions include/mbedtls/build_info.h
Original file line number Diff line number Diff line change
@@ -26,16 +26,16 @@
*/
#define MBEDTLS_VERSION_MAJOR 3
#define MBEDTLS_VERSION_MINOR 6
#define MBEDTLS_VERSION_PATCH 0
#define MBEDTLS_VERSION_PATCH 1

/**
* The single version number has the following structure:
* MMNNPP00
* Major version | Minor version | Patch version
*/
#define MBEDTLS_VERSION_NUMBER 0x03060000
#define MBEDTLS_VERSION_STRING "3.6.0"
#define MBEDTLS_VERSION_STRING_FULL "Mbed TLS 3.6.0"
#define MBEDTLS_VERSION_NUMBER 0x03060100
#define MBEDTLS_VERSION_STRING "3.6.1"
#define MBEDTLS_VERSION_STRING_FULL "Mbed TLS 3.6.1"

/* Macros for build-time platform detection */

@@ -101,6 +101,13 @@
#define inline __inline
#endif

#if defined(MBEDTLS_CONFIG_FILES_READ)
#error "Something went wrong: MBEDTLS_CONFIG_FILES_READ defined before reading the config files!"
#endif
#if defined(MBEDTLS_CONFIG_IS_FINALIZED)
#error "Something went wrong: MBEDTLS_CONFIG_IS_FINALIZED defined before reading the config files!"
#endif

/* X.509, TLS and non-PSA crypto configuration */
#if !defined(MBEDTLS_CONFIG_FILE)
#include "mbedtls/mbedtls_config.h"
@@ -135,6 +142,12 @@
#endif
#endif /* defined(MBEDTLS_PSA_CRYPTO_CONFIG) */

/* Indicate that all configuration files have been read.
* It is now time to adjust the configuration (follow through on dependencies,
* make PSA and legacy crypto consistent, etc.).
*/
#define MBEDTLS_CONFIG_FILES_READ

/* Auto-enable MBEDTLS_CTR_DRBG_USE_128_BIT_KEY if
* MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH and MBEDTLS_CTR_DRBG_C defined
* to ensure a 128-bit key size in CTR_DRBG.
@@ -163,4 +176,19 @@
#include "mbedtls/config_psa.h"
#endif

#include "mbedtls/config_adjust_legacy_crypto.h"

#include "mbedtls/config_adjust_x509.h"

#include "mbedtls/config_adjust_ssl.h"

/* Indicate that all configuration symbols are set,
* even the ones that are calculated programmatically.
* It is now safe to query the configuration (to check it, to size buffers,
* etc.).
*/
#define MBEDTLS_CONFIG_IS_FINALIZED

#include "mbedtls/check_config.h"

#endif /* MBEDTLS_BUILD_INFO_H */