Skip to content

Commit 8b70ace

Browse files
Flavio Ceolinnashif
authored andcommitted
crypto: tests: Change crypto tests to use Kconfig defined header
While it's possible to define which mbedTLS config header to use, our samples should use config-tls-generic.h as default because this header is configurable through Kconfig. Signed-off-by: Flavio Ceolin <[email protected]>
1 parent 02aa980 commit 8b70ace

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

samples/drivers/crypto/prj_mtls_shim.conf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
CONFIG_SYS_LOG=y
22
CONFIG_MBEDTLS=y
33
CONFIG_MBEDTLS_BUILTIN=y
4-
CONFIG_MBEDTLS_CFG_FILE="config-threadnet.h"
4+
CONFIG_MBEDTLS_CFG_FILE="config-tls-generic.h"
55
CONFIG_MBEDTLS_HEAP_SIZE=512
6+
CONFIG_TLS_CIPHER_CCM_ENABLED=y
67

78
CONFIG_CRYPTO=y
89
CONFIG_CRYPTO_MBEDTLS_SHIM=y

tests/crypto/mbedtls/prj.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CONFIG_ZTEST_STACKSIZE=4096
22
CONFIG_MBEDTLS=y
33
CONFIG_MBEDTLS_BUILTIN=y
4-
CONFIG_MBEDTLS_CFG_FILE="config-threadnet.h"
4+
CONFIG_MBEDTLS_CFG_FILE="config-tls-generic.h"
55
CONFIG_MBEDTLS_TEST=y
66
CONFIG_ZTEST=y

0 commit comments

Comments
 (0)