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 2 commits into
base: main
Choose a base branch
from

Conversation

frkv
Copy link
Contributor

@frkv frkv commented Feb 3, 2025

-This [nrf noup] will be removed on the update of oberon-psa-crypto
to v1.3.4 or later.
-This updates the Mbed TLS version to v3.6.2 with patches for
statically allocated storage which is put in place to make it possible
to avoid dependency on heap for constrained devices.
-This commit is narrowed down to only add this feature while not
taking in other changes from oberon-psa-crypto v1.3.4.
-Note this also include addition of MBEDTLS_PSA_KEY_STORE_DYNAMIC
which is the counterpar to statically generated key slots

-Minor fix: Fixing a minor issue with platform_util.c around
MBEDTLS_HAVE_TIME_DATA && !MBEDTLS_PLATFORM_GMTIME_R_ALT

Ref: NCSDK-30210

-This [nrf noup] will be removed on the update of oberon-psa-crypto
 to v1.3.4 or later.
-This updates the Mbed TLS version to v3.6.2 with patches for
 statically allocated storage which is put in place to make it possible
 to avoid dependency on heap for constrained devices.
-This commit is narrowed down to only add this feature while not
 taking in other changes from oberon-psa-crypto v1.3.4.
-Note this also include addition of MBEDTLS_PSA_KEY_STORE_DYNAMIC
 which is the counterpar to statically generated key slots

-Minor fix: Fixing a minor issue with platform_util.c around
 MBEDTLS_HAVE_TIME_DATA && !MBEDTLS_PLATFORM_GMTIME_R_ALT

Ref: NCSDK-30210

Signed-off-by: Frank Audun Kvamtrø <[email protected]>
-Adding MBEDTLS_PSA_STATIC_KEY_SLOT_BUFFER_SIZE
-Adding PSA_EXPORT_KEY_PAIR_OR_PUBLIC_MAX_SIZE
-Adding PSA_CIPHER_MAX_KEY_LENGTH
-This is out of sync with Mbed TLS v3.6.2 (with patches), which
 is essentially the content of the coming v3.6.3 version
-This [nrf noup] can be removed once oberon-psa-crypto post v1.3.4
 is integrated in sdk-oberon-psa-crypto

Ref: NCSDK-30210

Signed-off-by: Frank Audun Kvamtrø <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant