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 toup] Add missing defined oberon_key_derivation.c
In line 568 of this file we use this function when either of
these two defines are set:
defined(PSA_NEED_OBERON_TLS12_PRF) ||
defined(PSA_NEED_OBERON_TLS12_PSK_TO_MS)

Add these two defines here as well to avoid a missing
function warning that we are getting.

Upstream PR: oberon-psa-crypto-nrf/pull/16

Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
Vge0rge authored and frkv committed Sep 10, 2024
commit e71f27f8cf64a7025f414205c16e06f4939c804a
2 changes: 1 addition & 1 deletion oberon/drivers/oberon_key_derivation.c
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ static const uint8_t zero[PSA_HASH_MAX_SIZE] = { 0 };


#if defined(PSA_NEED_OBERON_HKDF) || defined(PSA_NEED_OBERON_PBKDF2_HMAC) || defined(PSA_NEED_OBERON_PBKDF2_AES_CMAC_PRF_128) || \
defined(PSA_NEED_OBERON_SP800_108_COUNTER_HMAC) || defined(PSA_NEED_OBERON_SP800_108_COUNTER_CMAC)
defined(PSA_NEED_OBERON_SP800_108_COUNTER_HMAC) || defined(PSA_NEED_OBERON_SP800_108_COUNTER_CMAC) || defined(PSA_NEED_OBERON_TLS12_PRF) || defined(PSA_NEED_OBERON_TLS12_PSK_TO_MS)
static psa_status_t oberon_setup_mac(
oberon_key_derivation_operation_t *operation,
const uint8_t *key, size_t key_length)