Skip to content

Commit 38c0f7b

Browse files
valeriosettifrkv
authored andcommitted
tests: tls_configurations: adjust Kconfig in overlay-ec
CONFIG_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_BASIC is promptless so it cannot be selected. Moreover it's also automatically enabled by CONFIG_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE in the same overlay file so there would be no need to explicitly enable it. As for the IMPORT, EXPORT, DERIVE they are needed for the TLS connection to work properly. Previously it was working because at least IMPORT and EXPORT are internally enabled by Mbed TLS at build time. So here we are basically doing the same enablements with Kconfigs in clear. Signed-off-by: Valerio Setti <[email protected]>
1 parent a97deec commit 38c0f7b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: tests/net/socket/tls_configurations/overlay-ec.conf

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
CONFIG_PSA_WANT_ALG_ECDH=y
22
CONFIG_PSA_WANT_ALG_ECDSA=y
3-
CONFIG_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_BASIC=y
43
CONFIG_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE=y
4+
CONFIG_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_IMPORT=y
5+
CONFIG_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_EXPORT=y
6+
CONFIG_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_DERIVE=y
57
CONFIG_PSA_WANT_ECC_SECP_R1_256=y

0 commit comments

Comments
 (0)