1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-30 22:43:08 +03:00

Enable Key Wrapping mode for 128-bit block ciphers

This is done to make configuration consistent with upstream and get rid of warnings.
ssl_ticket.c:254:17: warning: implicit declaration of function ‘mbedtls_cipher_auth_encrypt_ext’

Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
This commit is contained in:
Przemek Stekiel
2022-10-06 12:08:25 +02:00
parent 169554c68f
commit 2b03880628

View File

@ -1284,6 +1284,8 @@ component_test_tls1_2_default_stream_cipher_only () {
# Modules that depend on AEAD
scripts/config.py unset MBEDTLS_SSL_CONTEXT_SERIALIZATION
scripts/config.py unset MBEDTLS_SSL_SESSION_TICKETS
# Enable Key Wrapping mode for 128-bit block ciphers
scripts/config.py set MBEDTLS_NIST_KW_C
make
@ -1310,6 +1312,8 @@ component_test_tls1_2_default_stream_cipher_only_use_psa () {
# Modules that depend on AEAD
scripts/config.py unset MBEDTLS_SSL_CONTEXT_SERIALIZATION
scripts/config.py unset MBEDTLS_SSL_SESSION_TICKETS
# Enable Key Wrapping mode for 128-bit block ciphers
scripts/config.py set MBEDTLS_NIST_KW_C
make
@ -1335,6 +1339,8 @@ component_test_tls1_2_default_cbc_legacy_cipher_only () {
# Modules that depend on AEAD
scripts/config.py unset MBEDTLS_SSL_CONTEXT_SERIALIZATION
scripts/config.py unset MBEDTLS_SSL_SESSION_TICKETS
# Enable Key Wrapping mode for 128-bit block ciphers
scripts/config.py set MBEDTLS_NIST_KW_C
make
@ -1362,6 +1368,8 @@ component_test_tls1_2_deafult_cbc_legacy_cipher_only_use_psa () {
# Modules that depend on AEAD
scripts/config.py unset MBEDTLS_SSL_CONTEXT_SERIALIZATION
scripts/config.py unset MBEDTLS_SSL_SESSION_TICKETS
# Enable Key Wrapping mode for 128-bit block ciphers
scripts/config.py set MBEDTLS_NIST_KW_C
make
@ -1388,6 +1396,8 @@ component_test_tls1_2_default_cbc_legacy_cbc_etm_cipher_only () {
# Modules that depend on AEAD
scripts/config.py unset MBEDTLS_SSL_CONTEXT_SERIALIZATION
scripts/config.py unset MBEDTLS_SSL_SESSION_TICKETS
# Enable Key Wrapping mode for 128-bit block ciphers
scripts/config.py set MBEDTLS_NIST_KW_C
make
@ -1415,6 +1425,8 @@ component_test_tls1_2_default_cbc_legacy_cbc_etm_cipher_only_use_psa () {
# Modules that depend on AEAD
scripts/config.py unset MBEDTLS_SSL_CONTEXT_SERIALIZATION
scripts/config.py unset MBEDTLS_SSL_SESSION_TICKETS
# Enable Key Wrapping mode for 128-bit block ciphers
scripts/config.py set MBEDTLS_NIST_KW_C
make