mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-07-30 16:26:33 +08:00
Bypass config checks when setting a low-level option directly
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
d57a0985ab
commit
9da0dce845
@ -2436,7 +2436,10 @@ component_test_xts () {
|
||||
# supported through the PSA API.
|
||||
msg "build: Default + MBEDTLS_CIPHER_MODE_XTS"
|
||||
|
||||
echo "#define MBEDTLS_CIPHER_MODE_XTS" > psa_user_config.h
|
||||
cat <<'EOF' >psa_user_config.h
|
||||
#define MBEDTLS_CIPHER_MODE_XTS
|
||||
#define TF_PSA_CRYPTO_CONFIG_CHECK_BYPASS
|
||||
EOF
|
||||
cmake -DTF_PSA_CRYPTO_USER_CONFIG_FILE="psa_user_config.h"
|
||||
make
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user