mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-08 17:42:09 +03:00
Add 32bit test component for ecp with new bignum interface
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
This commit is contained in:
@@ -4205,6 +4205,19 @@ component_test_have_int64 () {
|
|||||||
make test
|
make test
|
||||||
}
|
}
|
||||||
|
|
||||||
|
component_test_have_int32_cmake_new_bignum () {
|
||||||
|
msg "build: gcc, force 32-bit bignum limbs, new bignum interface, test hooks (ASan build)"
|
||||||
|
scripts/config.py unset MBEDTLS_HAVE_ASM
|
||||||
|
scripts/config.py unset MBEDTLS_AESNI_C
|
||||||
|
scripts/config.py unset MBEDTLS_PADLOCK_C
|
||||||
|
scripts/config.py unset MBEDTLS_AESCE_C
|
||||||
|
scripts/config.py set MBEDTLS_TEST_HOOKS
|
||||||
|
make CC=gcc CFLAGS="$ASAN_CFLAGS -Werror -Wall -Wextra -DMBEDTLS_HAVE_INT32 -DMBEDTLS_ECP_WITH_MPI_UINT" LDFLAGS="$ASAN_CFLAGS"
|
||||||
|
|
||||||
|
msg "test: gcc, force 32-bit bignum limbs, new bignum interface, test hooks (ASan build)"
|
||||||
|
make test
|
||||||
|
}
|
||||||
|
|
||||||
component_test_no_udbl_division () {
|
component_test_no_udbl_division () {
|
||||||
msg "build: MBEDTLS_NO_UDBL_DIVISION native" # ~ 10s
|
msg "build: MBEDTLS_NO_UDBL_DIVISION native" # ~ 10s
|
||||||
scripts/config.py full
|
scripts/config.py full
|
||||||
|
Reference in New Issue
Block a user