mbedtls/tests/scripts
Manuel Pégourié-Gonnard 6d61498e05 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-19 10:56:55 +02:00
..
all.sh Add fall-back to hash-based KDF for internal ECP DRBG 2020-06-19 10:56:55 +02:00
basic-build-test.sh Enable branch coverage in basic_build_test.sh 2020-06-04 16:41:02 +01:00
check-doxy-blocks.pl Backport 2.7: Use "#!/usr/bin/env perl" as shebang line. 2018-04-04 22:26:56 +00:00
check-files.py Finish the documentation of normalize_path 2020-05-28 18:34:20 +02:00
check-generated-files.sh Fix uninitialized var in check-generated-files.sh 2018-05-01 21:01:22 +01:00
check-names.sh Document "check-names.sh -v" 2019-05-22 19:07:57 +02:00
curves.pl Backport 2.7: Use "#!/usr/bin/env perl" as shebang line. 2018-04-04 22:26:56 +00:00
depends-hashes.pl Backport 2.7: Use "#!/usr/bin/env perl" as shebang line. 2018-04-04 22:26:56 +00:00
depends-pkalgs.pl Backport 2.7: Use "#!/usr/bin/env perl" as shebang line. 2018-04-04 22:26:56 +00:00
doxygen.sh Add scripts/apidoc_full.sh 2016-01-12 14:48:03 +00:00
gen_ctr_drbg.pl Merge remote-tracking branch 'public/pr/1557' into mbedtls-2.7 2018-06-27 11:07:50 +01:00
gen_gcm_decrypt.pl Backport 2.7: Use "#!/usr/bin/env perl" as shebang line. 2018-04-04 22:26:56 +00:00
gen_gcm_encrypt.pl Backport 2.7: Use "#!/usr/bin/env perl" as shebang line. 2018-04-04 22:26:56 +00:00
gen_pkcs1_v21_sign_verify.pl Merge remote-tracking branch 'public/pr/1557' into mbedtls-2.7 2018-06-27 11:07:50 +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 Backport 2.7: Use "#!/usr/bin/env perl" as shebang line. 2018-04-04 22:26:56 +00:00
list-enum-consts.pl Backport 2.7: Use "#!/usr/bin/env perl" as shebang line. 2018-04-04 22:26:56 +00:00
list-identifiers.sh Document the scripts behaviour further 2019-04-18 13:18:40 +01:00
list-macros.sh Add test script check-names.sh 2015-04-09 10:53:11 +02:00
list-symbols.sh test: Always use make clean by itself 2019-05-31 17:48:48 +01:00
recursion.pl Backport 2.7: Use "#!/usr/bin/env perl" as shebang line. 2018-04-04 22:26:56 +00:00
run-test-suites.pl 'make test' must fail if Asan fails 2019-10-21 20:48:51 +02:00
tcp_client.pl Fix FALLBACK_SCSV parsing 2017-05-16 17:53:03 +02:00
test-ref-configs.pl Backport 2.7: Use "#!/usr/bin/env perl" as shebang line. 2018-04-04 22:26:56 +00: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