mbedtls/tests/scripts
Manuel Pégourié-Gonnard 2adb375c50 Add option to avoid 64-bit multiplication
Motivation is similar to NO_UDBL_DIVISION.

The alternative implementation of 64-bit mult is straightforward and aims at
obvious correctness. Also, visual examination of the generate assembly show
that it's quite efficient with clang, armcc5 and arm-clang. However current
GCC generates fairly inefficient code for it.

I tried to rework the code in order to make GCC generate more efficient code.
Unfortunately the only way to do that is to get rid of 64-bit add and handle
the carry manually, but this causes other compilers to generate less efficient
code with branches, which is not acceptable from a side-channel point of view.

So let's keep the obvious code that works for most compilers and hope future
versions of GCC learn to manage registers in a sensible way in that context.

See https://bugs.launchpad.net/gcc-arm-embedded/+bug/1775263
2018-06-07 11:05:33 +02:00
..
all.sh Add option to avoid 64-bit multiplication 2018-06-07 11:05:33 +02:00
basic-build-test.sh Fix scripts to support multiple openssl and gnutls 2016-09-27 16:04:44 +01:00
check-doxy-blocks.pl Fix check-doxy-blocks.pl to run from root dir 2017-05-12 00:16:50 +01:00
check-generated-files.sh New test script for generated files 2015-02-13 14:53:53 +00:00
check-names.sh Pre push hook script 2017-07-27 21:44:34 +01:00
curves.pl Document choice of script exit code 2017-10-26 09:47:36 +02:00
depends-hashes.pl Document choice of script exit code 2017-10-26 09:47:36 +02:00
depends-pkalgs.pl Document choice of script exit code 2017-10-26 09:47:36 +02:00
doxygen.sh Add scripts/apidoc_full.sh 2016-01-12 14:48:03 +00:00
gen_ctr_drbg.pl Fix minor code style issues 2018-05-15 09:21:57 +01:00
gen_gcm_decrypt.pl Split up GCM into a start/update/finish cycle 2013-06-26 15:08:29 +02:00
gen_gcm_encrypt.pl Split up GCM into a start/update/finish cycle 2013-06-26 15:08:29 +02:00
gen_pkcs1_v21_sign_verify.pl Fix minor code style issues 2018-05-15 09:21:57 +01:00
generate-afl-tests.sh Added script to split the test case data files 2016-03-09 19:32:09 +00:00
generate_code.pl Merge branch 'pr_1025' into development 2017-11-28 18:23:53 +01:00
key-exchanges.pl Document choice of script exit code 2017-10-26 09:47:36 +02:00
list-enum-consts.pl Fix warning from Perl 5.21 in helper script 2015-07-01 19:32:00 +02:00
list-identifiers.sh Add test script check-names.sh 2015-04-09 10:53:11 +02:00
list-macros.sh Add test script check-names.sh 2015-04-09 10:53:11 +02:00
list-symbols.sh Fix list-symbols.sh 2015-08-04 17:46:21 +02:00
recursion.pl Move test scripts to tests/scripts 2015-04-10 11:34:22 +02:00
run-test-suites.pl Fix shared library lookup on Mac OS X when running tests 2018-03-27 19:58:08 +01:00
tcp_client.pl Fix FALLBACK_SCSV parsing 2017-05-16 17:53:03 +02:00
test-ref-configs.pl Merge branch 'development' into iotssl-1381-x509-verify-refactor-restricted 2018-03-05 11:55:38 +01:00
test_zeroize.gdb mbedtls_zeroize -> mbedtls_platform_zeroize in docs 2018-04-24 08:33:31 -05:00
travis-log-failure.sh Fixes Travis post-mortem script dump following review 2016-04-10 15:11:27 +01:00
yotta-build.sh Fix scripts to support multiple openssl and gnutls 2016-09-27 16:04:44 +01:00