Skip to content

Commit

Permalink
samples: crypto: psa_tls support for TLSv1.3
Browse files Browse the repository at this point in the history
Added TLSv1.3 overlay for psa_tls sample and tests for different
backends

Signed-off-by: Paul Fleury <[email protected]>
  • Loading branch information
PFnord committed Dec 12, 2024
1 parent 13b17af commit 8e0ddd6
Show file tree
Hide file tree
Showing 8 changed files with 353 additions and 67 deletions.
10 changes: 10 additions & 0 deletions samples/crypto/psa_tls/overlays/cracen-oberon-psa.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#
# Copyright (c) 2024 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=n
CONFIG_PSA_CRYPTO_DRIVER_OBERON=y
CONFIG_PSA_CRYPTO_DRIVER_CRACEN=y

CONFIG_NRF_SECURITY=y
12 changes: 12 additions & 0 deletions samples/crypto/psa_tls/overlays/tls_1_3.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#
# Copyright (c) 2024 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#
CONFIG_MBEDTLS_TLS_VERSION_1_3=y

CONFIG_MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_ENABLED=y
CONFIG_MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED=y

CONFIG_PSA_WANT_ALG_HKDF_EXTRACT=y
CONFIG_PSA_WANT_ALG_HKDF_EXPAND=y
Loading

0 comments on commit 8e0ddd6

Please sign in to comment.