secure_storage: enable CONFIG_ENTROPY_GENERATOR in samples/tests
Explicitly enable CONFIG_ENTROPY_GENERATOR instead of relying on the build system's defaults. This: - Makes sure the filtering works properly between entropy_driver and entropy_not_secure test scenarios for the samples. - Helps with TF-M builds in certain scenarios where key generation (via `psa_generate_key()`) would fail due to the RNG functionality being disabled. Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
This commit is contained in:
parent
744e9f70f4
commit
25ad578694
7 changed files with 8 additions and 8 deletions
|
@ -1,3 +0,0 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_ENTROPY_GENERATOR=y
|
|
@ -2,3 +2,5 @@
|
|||
|
||||
CONFIG_LOG=y
|
||||
CONFIG_LOG_DEFAULT_LEVEL=3
|
||||
|
||||
CONFIG_ENTROPY_GENERATOR=y
|
||||
|
|
|
@ -19,7 +19,7 @@ tests:
|
|||
sample.psa.its.secure_storage.entropy_driver:
|
||||
filter: CONFIG_SECURE_STORAGE and not CONFIG_SECURE_STORAGE_ITS_STORE_IMPLEMENTATION_NONE
|
||||
and CONFIG_ENTROPY_HAS_DRIVER
|
||||
extra_args: EXTRA_CONF_FILE=overlay-secure_storage.conf;overlay-entropy_driver.conf
|
||||
extra_args: EXTRA_CONF_FILE=overlay-secure_storage.conf
|
||||
tags:
|
||||
- drivers.entropy
|
||||
- settings
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_ENTROPY_GENERATOR=y
|
|
@ -4,5 +4,7 @@ CONFIG_LOG=y
|
|||
CONFIG_LOG_DEFAULT_LEVEL=3
|
||||
CONFIG_ASSERT=y
|
||||
|
||||
CONFIG_ENTROPY_GENERATOR=y
|
||||
|
||||
CONFIG_PSA_WANT_KEY_TYPE_AES=y
|
||||
CONFIG_PSA_WANT_ALG_CTR=y
|
||||
|
|
|
@ -19,7 +19,7 @@ tests:
|
|||
sample.psa.persistent_key.secure_storage.entropy_driver:
|
||||
filter: CONFIG_SECURE_STORAGE and not CONFIG_SECURE_STORAGE_ITS_STORE_IMPLEMENTATION_NONE
|
||||
and CONFIG_ENTROPY_HAS_DRIVER
|
||||
extra_args: EXTRA_CONF_FILE=overlay-secure_storage.conf;overlay-entropy_driver.conf
|
||||
extra_args: EXTRA_CONF_FILE=overlay-secure_storage.conf
|
||||
tags:
|
||||
- drivers.entropy
|
||||
- settings
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y
|
||||
|
||||
CONFIG_ENTROPY_GENERATOR=y
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue