mbedtls/tests/suites
Gilles Peskine c0a5b254e7 Test mbedtls_mpi_fill_random
Positive tests: test that the RNG has the expected size, given that we
know how many leading zeros it has because we know how the function
consumes bytes and when the test RNG produces null bytes.

Negative tests: test that if the RNG is willing to emit less than the
number of wanted bytes, the function fails.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2020-11-25 17:35:36 +01:00
..
helpers.function Add an option to test constant-flow with valgrind 2020-08-25 12:01:09 +02:00
main_test.function Fix bug in redirection of unit test outputs 2020-08-23 22:35:19 +02:00
test_suite_aes.cbc.data
test_suite_aes.cfb.data
test_suite_aes.ecb.data
test_suite_aes.function
test_suite_aes.rest.data
test_suite_arc4.data
test_suite_arc4.function
test_suite_asn1write.data
test_suite_asn1write.function Add dependency of mbedtls_asn1_write_len() test on ASN.1 parsing 2018-10-16 13:54:37 +01:00
test_suite_base64.data
test_suite_base64.function
test_suite_blowfish.data
test_suite_blowfish.function
test_suite_camellia.data
test_suite_camellia.function
test_suite_ccm.data Fix #2370, minor typos and spelling mistakes 2019-02-18 15:57:54 +00:00
test_suite_ccm.function
test_suite_cipher.aes.data Fix after PR comments 2018-06-21 14:03:14 +03:00
test_suite_cipher.arc4.data Add tests for "return plaintext data faster on unpadded decryption" 2018-03-29 08:43:30 -04:00
test_suite_cipher.blowfish.data Add tests for "return plaintext data faster on unpadded decryption" 2018-03-29 08:43:30 -04:00
test_suite_cipher.camellia.data Add tests for "return plaintext data faster on unpadded decryption" 2018-03-29 08:43:30 -04:00
test_suite_cipher.ccm.data
test_suite_cipher.des.data Add tests for "return plaintext data faster on unpadded decryption" 2018-03-29 08:43:30 -04:00
test_suite_cipher.function Fix errors in AEAD test function 2019-03-14 11:00:58 +02:00
test_suite_cipher.gcm.data Adapt auth_crypt_tv usage to 2.7 2019-06-18 16:14:39 +02:00
test_suite_cipher.null.data Add tests for "return plaintext data faster on unpadded decryption" 2018-03-29 08:43:30 -04:00
test_suite_cipher.padding.data
test_suite_cmac.data
test_suite_cmac.function
test_suite_ctr_drbg.data
test_suite_ctr_drbg.function CTR_DRBG: support set_entropy_len() before seed() 2019-10-23 18:01:25 +02:00
test_suite_debug.data Update certificates to expire in 2029 2019-07-10 17:23:06 +03:00
test_suite_debug.function
test_suite_des.data
test_suite_des.function
test_suite_dhm.data tests: dhm: Rename Hallman to Hellman 2018-07-06 14:28:45 +01:00
test_suite_dhm.function
test_suite_ecdh.data Add test case for ecdh_get_params with mismatching group 2019-02-21 18:17:05 +01:00
test_suite_ecdh.function Merge remote-tracking branch 'origin/pr/2451' into mbedtls-2.7 2019-06-21 15:55:21 +01:00
test_suite_ecdsa.data
test_suite_ecdsa.function Test the new deterministic ECDSA function 2019-01-16 16:01:34 +00:00
test_suite_ecjpake.data Add a test for mlaformed ECJPAKE context 2019-07-09 10:22:13 +02:00
test_suite_ecjpake.function Add a test for mlaformed ECJPAKE context 2019-07-09 10:22:13 +02:00
test_suite_ecp.data Add test cases to check rng failure 2020-05-25 14:01:30 +02:00
test_suite_ecp.function Add test cases to check rng failure 2020-05-25 14:01:30 +02:00
test_suite_entropy.data
test_suite_entropy.function Fix build failure with MBEDTLS_PLATFORM_NV_SEED_ALT 2020-04-30 13:21:27 +02:00
test_suite_error.data
test_suite_error.function
test_suite_gcm.aes128_de.data
test_suite_gcm.aes128_en.data
test_suite_gcm.aes192_de.data
test_suite_gcm.aes192_en.data
test_suite_gcm.aes256_de.data
test_suite_gcm.aes256_en.data
test_suite_gcm.camellia.data
test_suite_gcm.function Fix multiple quality issues in the source 2018-06-08 11:14:43 +01:00
test_suite_hmac_drbg.function
test_suite_hmac_drbg.misc.data
test_suite_hmac_drbg.no_reseed.data
test_suite_hmac_drbg.nopr.data
test_suite_hmac_drbg.pr.data
test_suite_md.data
test_suite_md.function
test_suite_mdx.data
test_suite_mdx.function
test_suite_memory_buffer_alloc.data More accurate test case description 2019-11-26 18:47:14 +01:00
test_suite_memory_buffer_alloc.function Enable more test cases without MBEDTLS_MEMORY_DEBUG 2019-11-26 18:48:08 +01:00
test_suite_mpi.data Test mbedtls_mpi_fill_random 2020-11-25 17:35:36 +01:00
test_suite_mpi.function Test mbedtls_mpi_fill_random 2020-11-25 17:35:36 +01:00
test_suite_pem.data
test_suite_pem.function
test_suite_pk.data
test_suite_pk.function Reduce stack usage of test_suite_pk 2019-10-02 14:34:17 +03:00
test_suite_pkcs1_v15.data Add tests for PKCS#1 v1.5 decoding 2018-10-08 11:49:15 +02:00
test_suite_pkcs1_v15.function Reduce stack usage of test_suite_pkcs1_v15 2019-10-02 14:34:24 +03:00
test_suite_pkcs1_v21.data
test_suite_pkcs1_v21.function Reduce stack usage of test_suite_pkcs1_v21 2019-10-02 14:34:24 +03:00
test_suite_pkcs5.data
test_suite_pkcs5.function Fix test dependencies of pkcs5 pbs2 on asn1 parse 2018-03-27 21:25:55 +01:00
test_suite_pkparse.data Test each failure mode of pk_parse_key_pkcs1_der() 2020-02-18 11:27:08 +01:00
test_suite_pkparse.function Check for buffer overflow in test function 2020-02-19 09:45:02 +01:00
test_suite_pkwrite.data Fix copypasta in test dependency 2018-11-06 14:40:58 +01:00
test_suite_pkwrite.function Add dependency of pkwrite test suite on pkparse module 2018-10-16 13:54:08 +01:00
test_suite_rsa.data Reduce stack usage of test_suite_rsa 2019-10-02 14:34:24 +03:00
test_suite_rsa.function Fix undeclared deps on MBEDTLS_CTR_DRBG in tests 2020-06-02 12:33:21 +02:00
test_suite_shax.data
test_suite_shax.function
test_suite_ssl.data Add mbedtls_ssl_cf_memcpy_offset() with tests 2020-08-25 12:00:07 +02:00
test_suite_ssl.function Add mbedtls_ssl_cf_memcpy_offset() with tests 2020-08-25 12:00:07 +02:00
test_suite_timing.data Reduce the timing tests complexity 2019-01-29 12:54:10 +01:00
test_suite_timing.function Correct code formatting in the timing test suites 2019-02-05 10:03:31 +01:00
test_suite_version.data Bump version to Mbed TLS 2.7.16 2020-06-26 12:37:57 +01:00
test_suite_version.function Fix some test deps 2018-03-27 23:18:13 +02:00
test_suite_x509parse.data Merge branch 'mbedtls-2.7' into mbedtls-2.7-restricted 2020-08-25 10:59:51 +02:00
test_suite_x509parse.function Add test cases exercising successful verification of MD2/MD4/MD5 CRT 2019-06-03 16:22:10 +01:00
test_suite_x509write.data Update certificates to expire in 2029 2019-07-10 17:23:06 +03:00
test_suite_x509write.function Add tests for (named) bitstring to suite_asn1write 2019-02-11 21:10:55 +00:00
test_suite_xtea.data
test_suite_xtea.function