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