tidy up
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
parent
7a8a2490e5
commit
a7127eb67c
1 changed files with 3 additions and 3 deletions
|
@ -3979,7 +3979,7 @@ build_test_config_combos() {
|
||||||
clang_args=""
|
clang_args=""
|
||||||
for ((j = 0; j < ${len}; j++)); do
|
for ((j = 0; j < ${len}; j++)); do
|
||||||
if (((i >> j) & 1)); then
|
if (((i >> j) & 1)); then
|
||||||
opt=-D${options[j]}
|
opt=-D${options[$j]}
|
||||||
clang_args="${clang_args} ${opt}"
|
clang_args="${clang_args} ${opt}"
|
||||||
target="${target}${opt}"
|
target="${target}${opt}"
|
||||||
fi
|
fi
|
||||||
|
@ -4007,11 +4007,11 @@ build_test_config_combos() {
|
||||||
validate_aes_config_variations() {
|
validate_aes_config_variations() {
|
||||||
if [[ "$1" == *"MBEDTLS_AES_USE_HARDWARE_ONLY"* ]]; then
|
if [[ "$1" == *"MBEDTLS_AES_USE_HARDWARE_ONLY"* ]]; then
|
||||||
if [[ "$1" == *"MBEDTLS_PADLOCK_C"* ]]; then
|
if [[ "$1" == *"MBEDTLS_PADLOCK_C"* ]]; then
|
||||||
echo 1
|
echo INVALID
|
||||||
fi
|
fi
|
||||||
if [[ !(("$HOSTTYPE" == "aarch64" && "$1" != *"MBEDTLS_AESCE_C"*) || \
|
if [[ !(("$HOSTTYPE" == "aarch64" && "$1" != *"MBEDTLS_AESCE_C"*) || \
|
||||||
("$HOSTTYPE" == "x86_64" && "$1" != *"MBEDTLS_AESNI_C"*)) ]]; then
|
("$HOSTTYPE" == "x86_64" && "$1" != *"MBEDTLS_AESNI_C"*)) ]]; then
|
||||||
echo 1
|
echo INVALID
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue