mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-23 11:55:34 +00:00
72177e362b
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> |
||
---|---|---|
.. | ||
all.sh | ||
basic-build-test.sh | ||
check-doxy-blocks.pl | ||
check-files.py | ||
check-generated-files.sh | ||
check-names.sh | ||
check-python-files.sh | ||
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-afl-tests.sh | ||
generate_test_code.py | ||
key-exchanges.pl | ||
list-enum-consts.pl | ||
list-identifiers.sh | ||
list-macros.sh | ||
list-symbols.sh | ||
mbedtls_test.py | ||
recursion.pl | ||
run-test-suites.pl | ||
tcp_client.pl | ||
test-ref-configs.pl | ||
test_generate_test_code.py | ||
test_zeroize.gdb | ||
travis-log-failure.sh |