mbedtls/tests/scripts
Manuel Pégourié-Gonnard 72177e362b Add fall-back to hash-based KDF for internal ECP DRBG
The dependency on a DRBG module was perhaps a bit strict for LTS branches, so
let's have an option that works with no DRBG when at least one SHA module is
present.

This changes the internal API of ecp_drbg_seed() by adding the size of the
MPI as a parameter. Re-computing the size from the number of limbs doesn't
work too well here as we're writing out to a fixed-size buffer and for some
curves (P-521) that would round up too much. Using mbedtls_mpi_get_len() is
not entirely satisfactory either as it would mean using a variable-length
encoding, with could open side channels.

Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
2020-06-16 12:51:42 +02:00
..
all.sh Add fall-back to hash-based KDF for internal ECP DRBG 2020-06-16 12:51:42 +02:00
basic-build-test.sh Enable branch coverage in basic_build_test.sh 2020-06-04 16:31:59 +01:00
check-doxy-blocks.pl
check-files.py Finish the documentation of normalize_path 2020-05-28 18:31:39 +02:00
check-generated-files.sh Add gen_query_config.pl to check-gen-files and bump_version 2019-02-07 10:32:31 +00:00
check-names.sh Document "check-names.sh -v" 2019-05-22 19:07:36 +02:00
check-python-files.sh Make sure to use a Python 3 pylint 2020-04-11 20:38:21 +02:00
curves.pl
depends-hashes.pl
depends-pkalgs.pl
doxygen.sh
gen_ctr_drbg.pl
gen_gcm_decrypt.pl
gen_gcm_encrypt.pl
gen_pkcs1_v21_sign_verify.pl
generate_test_code.py Pylint: minor code simplifications 2020-04-11 20:51:08 +02:00
generate-afl-tests.sh
key-exchanges.pl
list-enum-consts.pl
list-identifiers.sh Document the scripts behaviour further 2019-04-18 13:18:22 +01:00
list-macros.sh
list-symbols.sh test: Always use make clean by itself 2019-05-31 17:49:25 +01:00
mbedtls_test.py Pylint: minor code simplifications 2020-04-11 20:51:08 +02:00
recursion.pl
run-test-suites.pl 'make test' must fail if Asan fails 2019-10-21 20:48:05 +02:00
tcp_client.pl
test_generate_test_code.py Pylint: minor code simplifications 2020-04-11 20:51:08 +02:00
test_zeroize.gdb Remove hardcoded line number from the zeroize test 2020-06-10 11:13:41 +02:00
test-ref-configs.pl
travis-log-failure.sh