Skip to content

Commit 8765ed6

Browse files
joerchanrlubos
authored andcommitted
samples: crypto: Fix EC-JPake sample missing PSA dependencies
Fix EC-JPake sample missing PSA dependencies. EC-JPake uses SHA-256 and the ECC secp256r1 curve, and randomly generated numbers. Signed-off-by: Joakim Andersson <[email protected]>
1 parent 5902eec commit 8765ed6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

samples/crypto/ecjpake/prj.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ CONFIG_CONSOLE=y
33
CONFIG_PSA_CRYPTO_DRIVER_OBERON=y
44
CONFIG_PSA_WANT_ALG_JPAKE=y
55
CONFIG_PSA_WANT_ALG_TLS12_ECJPAKE_TO_PMS=y
6+
CONFIG_PSA_WANT_GENERATE_RANDOM=y
7+
CONFIG_PSA_WANT_ALG_SHA_256=y
8+
CONFIG_PSA_WANT_ECC_SECP_R1_256=y
69
CONFIG_NRF_SECURITY=y
710

811
CONFIG_MBEDTLS_ENABLE_HEAP=y

0 commit comments

Comments
 (0)