diff --git a/samples/crypto/ecdh/prj.conf b/samples/crypto/ecdh/prj.conf index fc969b376677..e44dfa6375a8 100644 --- a/samples/crypto/ecdh/prj.conf +++ b/samples/crypto/ecdh/prj.conf @@ -18,3 +18,6 @@ CONFIG_MBEDTLS_HEAP_SIZE=8192 CONFIG_PSA_WANT_ALG_ECDH=y CONFIG_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR=y CONFIG_PSA_WANT_ECC_SECP_R1_256=y + +# For key generation +CONFIG_PSA_WANT_GENERATE_RANDOM=y diff --git a/samples/crypto/ecdsa/prj.conf b/samples/crypto/ecdsa/prj.conf index 1e91ac191df6..1eb141e4fe62 100644 --- a/samples/crypto/ecdsa/prj.conf +++ b/samples/crypto/ecdsa/prj.conf @@ -19,3 +19,6 @@ CONFIG_PSA_WANT_ALG_ECDSA=y CONFIG_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR=y CONFIG_PSA_WANT_ECC_SECP_R1_256=y CONFIG_PSA_WANT_ALG_SHA_256=y + +# For key generation +CONFIG_PSA_WANT_GENERATE_RANDOM=y