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

Merge pull request #8442 from lpy4105/issue/8355/driver-only-cipher_aead-x509

X.509: Support driver-only cipher+aead
This commit is contained in:
Manuel Pégourié-Gonnard
2023-11-06 09:10:57 +00:00
committed by GitHub
4 changed files with 87 additions and 56 deletions

View File

@ -3628,6 +3628,12 @@ component_test_psa_crypto_config_accel_aead () {
# - component_test_psa_crypto_config_accel_cipher_aead
# - component_test_psa_crypto_config_reference_cipher_aead
common_psa_crypto_config_accel_cipher_aead() {
# Start from the full config
helper_libtestdriver1_adjust_config "full"
# For time being, we don't support SSL module.
scripts/config.py unset MBEDTLS_SSL_TLS_C
scripts/config.py unset MBEDTLS_CTR_DRBG_C
scripts/config.py unset MBEDTLS_NIST_KW_C
}
@ -3648,9 +3654,6 @@ component_test_psa_crypto_config_accel_cipher_aead () {
# Configure
# ---------
# Start from the crypto config (no X509 and TLS)
helper_libtestdriver1_adjust_config "crypto_full"
common_psa_crypto_config_accel_cipher_aead
# Disable the things that are being accelerated
@ -3695,8 +3698,6 @@ component_test_psa_crypto_config_accel_cipher_aead () {
}
component_test_psa_crypto_config_reference_cipher_aead () {
helper_libtestdriver1_adjust_config "crypto_full"
common_psa_crypto_config_accel_cipher_aead
msg "test: crypto config with non-accelerated cipher and AEAD"