mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-03 23:43:40 +00:00
Address review comments
Signed-off-by: Przemyslaw Stekiel <przemyslaw.stekiel@mobica.com>
This commit is contained in:
parent
ed61c5e8b0
commit
316c4fa3ce
@ -1,4 +1,3 @@
|
|||||||
Bugfix
|
Bugfix
|
||||||
* Use switch statement instead if-else in
|
* Fix compile-time or run-time errors in PSA
|
||||||
psa_aead_check_nonce_length()
|
AEAD functions when ChachaPoly is disabled. Fixes #5065.
|
||||||
and psa_aead_set_lengths(). Fixes #5065.
|
|
||||||
|
@ -1597,15 +1597,15 @@ component_test_psa_crypto_config_no_driver() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
component_test_psa_crypto_config_chachapoly_disabled() {
|
component_test_psa_crypto_config_chachapoly_disabled() {
|
||||||
# full - MBEDTLS_CHACHAPOLY_C without PSA_WANT_ALG_GCM and PSA_WANT_ALG_CHACHA20_POLY1305
|
# full minus MBEDTLS_CHACHAPOLY_C without PSA_WANT_ALG_GCM and PSA_WANT_ALG_CHACHA20_POLY1305
|
||||||
msg "build: full - MBEDTLS_CHACHAPOLY_C without PSA_WANT_ALG_GCM and PSA_WANT_ALG_CHACHA20_POLY1305"
|
msg "build: full minus MBEDTLS_CHACHAPOLY_C without PSA_WANT_ALG_GCM and PSA_WANT_ALG_CHACHA20_POLY1305"
|
||||||
scripts/config.py full
|
scripts/config.py full
|
||||||
scripts/config.py unset MBEDTLS_CHACHAPOLY_C
|
scripts/config.py unset MBEDTLS_CHACHAPOLY_C
|
||||||
scripts/config.py -f include/psa/crypto_config.h unset PSA_WANT_ALG_GCM
|
scripts/config.py -f include/psa/crypto_config.h unset PSA_WANT_ALG_GCM
|
||||||
scripts/config.py -f include/psa/crypto_config.h unset PSA_WANT_ALG_CHACHA20_POLY1305
|
scripts/config.py -f include/psa/crypto_config.h unset PSA_WANT_ALG_CHACHA20_POLY1305
|
||||||
make CC=gcc CFLAGS="$ASAN_CFLAGS -O2" LDFLAGS="$ASAN_CFLAGS"
|
make CC=gcc CFLAGS="$ASAN_CFLAGS -O2" LDFLAGS="$ASAN_CFLAGS"
|
||||||
|
|
||||||
msg "test: full - MBEDTLS_CHACHAPOLY_C without PSA_WANT_ALG_GCM and PSA_WANT_ALG_CHACHA20_POLY1305"
|
msg "test: full minus MBEDTLS_CHACHAPOLY_C without PSA_WANT_ALG_GCM and PSA_WANT_ALG_CHACHA20_POLY1305"
|
||||||
make test
|
make test
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user