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
commit 964dee6b3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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"