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

samples: psa: add some configs #84924

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 3 additions & 0 deletions samples/psa/its/overlay-secure_storage.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
CONFIG_MBEDTLS=y
CONFIG_MBEDTLS_PSA_CRYPTO_C=y

CONFIG_PSA_WANT_KEY_TYPE_AES=y
CONFIG_PSA_WANT_ALG_ECB_NO_PADDING=y

# The default stack size (1024) is not enough for the PSA Crypto core.
# On top of that, the ITS implementation uses the stack for buffers.
CONFIG_MAIN_STACK_SIZE=3072
Expand Down
2 changes: 2 additions & 0 deletions samples/psa/its/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ common:
tests:
sample.psa.its.tfm:
filter: CONFIG_BUILD_WITH_TFM
extra_args:
- CONFIG_TFM_PROFILE_TYPE_MEDIUM=y
tags:
- trusted-firmware-m
sample.psa.its.secure_storage.entropy_driver:
Expand Down
3 changes: 3 additions & 0 deletions samples/psa/persistent_key/overlay-secure_storage.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
CONFIG_MBEDTLS=y
CONFIG_MBEDTLS_PSA_CRYPTO_C=y

CONFIG_PSA_WANT_KEY_TYPE_AES=y
CONFIG_PSA_WANT_ALG_ECB_NO_PADDING=y

# The default stack size (1024) is not enough for the PSA Crypto core.
# On top of that, the ITS implementation uses the stack for buffers.
CONFIG_MAIN_STACK_SIZE=3072
Expand Down
2 changes: 2 additions & 0 deletions samples/psa/persistent_key/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ common:
tests:
sample.psa.persistent_key.tfm:
filter: CONFIG_BUILD_WITH_TFM
extra_args:
- CONFIG_TFM_PROFILE_TYPE_MEDIUM=y
tags:
- trusted-firmware-m
sample.psa.persistent_key.secure_storage.entropy_driver:
Expand Down
Loading