mbedtls/tests
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
..
.jenkins Add Jenkinsfile for PR job 2018-10-19 15:25:57 +01:00
configs Add a test component with malloc(0) returning NULL 2019-09-30 14:01:37 +02:00
data_files Normalize line endings 2020-05-28 18:34:20 +02:00
git-scripts Add doxygen.sh script to git hooks 2018-10-29 10:45:00 +02:00
scripts Add fall-back to hash-based KDF for internal ECP DRBG 2020-06-19 10:56:55 +02:00
suites Merge pull request #3353 from gilles-peskine-arm/fix-ecp-mul-memory-leak-2.7 2020-06-05 11:44:14 +02:00
.gitignore
CMakeLists.txt Add a facility to skip running some test suites 2018-12-14 18:50:34 +01:00
compat.sh Exclude DTLS 1.2 only with older OpenSSL 2019-08-13 11:44:30 +02:00
Descriptions.txt
Makefile Merge remote-tracking branch 'origin/pr/2320' into mbedtls-2.7 2019-06-21 15:55:21 +01:00
ssl-opt.sh Adjust timeout of tests with "no resend" assertions 2020-03-31 09:57:45 +02:00