mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-08 13:03:39 +00:00
077599ad85
Test random generation as a whole. This is different from test_suite_*_drbg and test_suite_entropy, which respectively test PRNG modules and entropy collection. Start with basic tests: good-case tests, and do it twice and compare the results to validate that entropy collection doesn't repeat itself. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
18 lines
489 B
Plaintext
18 lines
489 B
Plaintext
Generate random twice with CTR_DRBG
|
|
random_twice_with_ctr_drbg:
|
|
|
|
Generate random twice with HMAC_DRBG(SHA-1)
|
|
depends_on:MBEDTLS_SHA1_C
|
|
random_twice_with_hmac_drbg:MBEDTLS_MD_SHA1
|
|
|
|
Generate random twice with HMAC_DRBG(SHA-256)
|
|
depends_on:MBEDTLS_SHA256_C
|
|
random_twice_with_hmac_drbg:MBEDTLS_MD_SHA256
|
|
|
|
Generate random twice with HMAC_DRBG(SHA-512)
|
|
depends_on:MBEDTLS_SHA512_C
|
|
random_twice_with_hmac_drbg:MBEDTLS_MD_SHA512
|
|
|
|
Generate random twice with PSA API
|
|
random_twice_with_psa_from_psa:
|