Skip to content

Commit

Permalink
sample: ecdh: Add want random
Browse files Browse the repository at this point in the history
To generate keys CONFIG_PSA_WANT_GENERATE_RANDOM=y is needed
Which works implicit when CC3XX is used but not oberon.
To be complete adding it.

Signed-off-by: Markus Swarowsky <markus.swarowsky@nordicsemi.no>
  • Loading branch information
mswarowsky committed Aug 16, 2023
1 parent 01d9651 commit 1fbc7c1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions samples/crypto/ecdh/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1fbc7c1

Please sign in to comment.