mbedtls/tests/suites
Gilles Peskine c3ccae7faf Unit test function for mbedtls_ecp_muladd
Write a simple unit test for mbedtls_ecp_muladd().

Add just one pair of test cases. One of them causes the argument to
fix_negative to have an argument with an all-bits-zero least
significant limb which briefly triggered a branch in Mbed TLS 2.26+.
See https://github.com/ARMmbed/mbedtls/issues/4296 and
https://github.com/ARMmbed/mbedtls/pull/4297.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2021-04-09 16:32:08 +02:00
..
helpers.function Fix typo in documentation 2021-02-22 19:40:41 +01:00
host_test.function Mutex usage testing: set up wrapper functions 2021-02-17 13:10:42 +00:00
main_test.function Detect and report mutex usage errors 2021-02-22 19:40:29 +01:00
target_test.function tests: Add mbedtls_test_ prefix to *hexify functions 2020-06-26 09:15:43 +02:00
test_suite_aes.cbc.data Split up largest test suite data files into smaller chunks 2013-04-08 18:09:51 +02:00
test_suite_aes.cfb.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_aes.ecb.data Split up largest test suite data files into smaller chunks 2013-04-08 18:09:51 +02:00
test_suite_aes.function tests: Remove usage of mbedtls_test_hexify for comparison 2020-07-30 16:01:41 +02:00
test_suite_aes.ofb.data Add test cases for AES OFB block mode 2018-06-11 14:03:22 +01:00
test_suite_aes.rest.data Add param validation for mbedtls_aes_crypt_cbc() 2018-12-18 12:22:40 +01:00
test_suite_aes.xts.data tests: Remove NIST AES-XTS test vectors 2018-06-13 12:13:58 +01:00
test_suite_arc4.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_arc4.function tests: suites: Remove hex in name of variables of type data_t 2020-07-30 15:59:46 +02:00
test_suite_aria.data Move testing of mbedtls_aria_free() to separate test 2018-12-19 12:51:00 +00:00
test_suite_aria.function tests: Replace "TEST_ASSERT(!memcmp ...)" by ASSERT_COMPARE 2020-07-30 16:08:50 +02:00
test_suite_asn1write.data Add mbedtls_asn1_write_len() support for 3 and 4 byte lengths 2016-08-25 15:42:27 +01:00
test_suite_asn1write.function Typo fix in test_suite_asn1write.function 2020-03-25 07:48:11 -04:00
test_suite_base64.data Fix misnamed base64 test 2021-03-04 14:42:46 +00:00
test_suite_base64.function Prevent false positive CF Test Failures 2021-03-04 14:08:13 +00:00
test_suite_blowfish.data Move testing of mbedtls_blowfish_free() to separate test case 2018-12-19 12:52:59 +00:00
test_suite_blowfish.function tests: suites: Remove hex in name of variables of type data_t 2020-07-30 15:59:46 +02:00
test_suite_camellia.data Move test of mbedtls_camellia_free() to separate test 2018-12-19 12:47:55 +00:00
test_suite_camellia.function tests: suites: Remove hex in name of variables of type data_t 2020-07-30 15:59:46 +02:00
test_suite_ccm.data Fix #2370, minor typos and spelling mistakes 2019-02-18 14:50:57 +00:00
test_suite_ccm.function More robust code to set the IV 2021-02-17 18:08:06 +01:00
test_suite_chacha20.data chacha20: add test for parameter validation 2018-05-24 13:37:31 +02:00
test_suite_chacha20.function tests: Replace "TEST_ASSERT(!memcmp ...)" by ASSERT_COMPARE 2020-07-30 16:08:50 +02:00
test_suite_chachapoly.data chachapoly: add test for state flow 2018-05-24 13:37:31 +02:00
test_suite_chachapoly.function tests: Get rid of mbedtls_test_unhexify() in unit test code 2020-06-26 10:19:21 +02:00
test_suite_cipher.aes.data test: Check empty buffer decryption for chachapoly 2019-06-06 12:04:13 +01:00
test_suite_cipher.arc4.data Add tests for "return plaintext data faster on unpadded decryption" 2018-03-27 19:25:35 -07:00
test_suite_cipher.blowfish.data Add tests for "return plaintext data faster on unpadded decryption" 2018-03-27 19:25:35 -07:00
test_suite_cipher.camellia.data Add tests for "return plaintext data faster on unpadded decryption" 2018-03-27 19:25:35 -07:00
test_suite_cipher.ccm.data Fix test functions and data after moving hexify/unhexify out 2018-08-06 11:40:57 +01:00
test_suite_cipher.chacha20.data test: Remove redundant 0-byte decryption test 2019-06-06 12:04:13 +01:00
test_suite_cipher.chachapoly.data test: Check empty buffer decryption for chachapoly 2019-06-06 12:04:13 +01:00
test_suite_cipher.des.data Add tests for "return plaintext data faster on unpadded decryption" 2018-03-27 19:25:35 -07:00
test_suite_cipher.function tests: Get rid of mbedtls_test_unhexify() in unit test code 2020-06-26 10:19:21 +02:00
test_suite_cipher.gcm.data Add missing dependencies in test_suite_cipher.gcm 2019-01-02 10:48:25 +00:00
test_suite_cipher.misc.data Split the unconditional and conditional parameter validation tests 2018-12-19 18:06:35 +01:00
test_suite_cipher.null.data Add tests for "return plaintext data faster on unpadded decryption" 2018-03-27 19:25:35 -07:00
test_suite_cipher.padding.data Include static cipher functions in the parameter validation scheme 2018-12-19 17:34:13 +01:00
test_suite_cmac.data Extend test coverage of CMAC 2016-10-13 13:53:13 +01:00
test_suite_cmac.function Rename HexParam_t -> data_t for consistent coding style 2018-08-06 11:42:06 +01:00
test_suite_ctr_drbg.data Refactor test code for CTR DRBG to clarify test functions 2018-08-29 23:38:57 +03:00
test_suite_ctr_drbg.function Support set *_drbg reseed interval before seed 2020-12-03 13:30:36 -08:00
test_suite_debug.data Update certificates to expire in 2029 2019-07-10 18:35:10 +03:00
test_suite_debug.function Rename HexParam_t -> data_t for consistent coding style 2018-08-06 11:42:06 +01:00
test_suite_des.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_des.function tests: suites: Remove hex in name of variables of type data_t 2020-07-30 15:59:46 +02:00
test_suite_dhm.data Test that overly large Diffie-Hellman keys are rejected 2020-12-03 16:07:49 +00:00
test_suite_dhm.function Fix test_suite_dhm build 2020-12-03 17:55:59 +00:00
test_suite_ecdh.data Add test case for ecdh_get_params with mismatching group 2019-02-22 10:24:31 +01:00
test_suite_ecdh.function tests: Get rid of mbedtls_test_unhexify() in unit test code 2020-06-26 10:19:21 +02:00
test_suite_ecdsa.data Test parameter validation in ECDSA module 2018-12-18 14:31:50 +00:00
test_suite_ecdsa.function tests: Get rid of mbedtls_test_unhexify() in unit test code 2020-06-26 10:19:21 +02:00
test_suite_ecjpake.data Add a test for mlaformed ECJPAKE context 2019-07-08 15:44:37 +02:00
test_suite_ecjpake.function Add a test for mlaformed ECJPAKE context 2019-07-08 15:44:37 +02:00
test_suite_ecp.data Unit test function for mbedtls_ecp_muladd 2021-04-09 16:32:08 +02:00
test_suite_ecp.function Unit test function for mbedtls_ecp_muladd 2021-04-09 16:32:08 +02:00
test_suite_entropy.data Merge pull request #3720 from militant-daos/mbedtls-2.16 2021-03-30 17:33:12 +02:00
test_suite_entropy.function Merge pull request #3720 from militant-daos/mbedtls-2.16 2021-03-30 17:33:12 +02:00
test_suite_error.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_error.function Intermediate hexify out change 2018-08-06 11:40:57 +01:00
test_suite_gcm.aes128_de.data Fix test functions and data after moving hexify/unhexify out 2018-08-06 11:40:57 +01:00
test_suite_gcm.aes128_en.data fix for issue 1118: check if iv is zero in gcm. 2017-07-27 21:44:33 +01:00
test_suite_gcm.aes192_de.data Fix test functions and data after moving hexify/unhexify out 2018-08-06 11:40:57 +01:00
test_suite_gcm.aes192_en.data fix for issue 1118: check if iv is zero in gcm. 2017-07-27 21:44:33 +01:00
test_suite_gcm.aes256_de.data Fix test functions and data after moving hexify/unhexify out 2018-08-06 11:40:57 +01:00
test_suite_gcm.aes256_en.data fix for issue 1118: check if iv is zero in gcm. 2017-07-27 21:44:33 +01:00
test_suite_gcm.camellia.data Fix test functions and data after moving hexify/unhexify out 2018-08-06 11:40:57 +01:00
test_suite_gcm.function tests: suites: Remove hex in name of variables of type data_t 2020-07-30 15:59:46 +02:00
test_suite_gcm.misc.data Add tests for valid NULL in gcm_free() 2018-12-19 17:30:38 +01:00
test_suite_hkdf.data hkdf: Add negative tests 2018-06-11 13:10:14 +01:00
test_suite_hkdf.function tests: Replace "TEST_ASSERT(!memcmp ...)" by ASSERT_COMPARE 2020-07-30 16:08:50 +02:00
test_suite_hmac_drbg.function Support set *_drbg reseed interval before seed 2020-12-03 13:30:36 -08:00
test_suite_hmac_drbg.misc.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_hmac_drbg.no_reseed.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_hmac_drbg.nopr.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_hmac_drbg.pr.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_md.data Allow comments in test data files 2017-10-06 11:58:50 +01:00
test_suite_md.function tests: suites: Remove hex in name of variables of type data_t 2020-07-30 15:59:46 +02:00
test_suite_mdx.data Allow comments in test data files 2017-10-06 11:58:50 +01:00
test_suite_mdx.function tests: suites: Remove hex in name of variables of type data_t 2020-07-30 15:59:46 +02:00
test_suite_memory_buffer_alloc.data More accurate test case description 2019-11-26 18:44:55 +01:00
test_suite_memory_buffer_alloc.function Enable more test cases without MBEDTLS_MEMORY_DEBUG 2019-11-26 18:45:00 +01:00
test_suite_mpi.data Add a few unit tests for mbedtls_mpi_read_string with leading zeros 2021-04-09 16:25:36 +02:00
test_suite_mpi.function Merge branch 'mbedtls-2.16-restricted' into mbedtls-2.16.9r0-pr 2020-12-08 21:00:17 +00:00
test_suite_nist_kw.data Enhance nist_kw with some NULL buffers tests 2018-08-13 14:46:45 +03:00
test_suite_nist_kw.function tests: Get rid of mbedtls_test_unhexify() in unit test code 2020-06-26 10:19:21 +02:00
test_suite_pem.data Add negative testing for mbedtls_pem_read_buffer() 2017-05-30 16:54:23 +01:00
test_suite_pem.function Rename HexParam_t -> data_t for consistent coding style 2018-08-06 11:42:06 +01:00
test_suite_pk.data Properly test pk_write with an empty output buffer 2018-12-19 17:08:51 +01:00
test_suite_pk.function tests: Get rid of mbedtls_test_unhexify() in unit test code 2020-06-26 10:19:21 +02:00
test_suite_pkcs1_v15.data Add tests for PKCS#1 v1.5 decoding 2018-10-08 11:13:21 +02:00
test_suite_pkcs1_v15.function tests: suites: Remove hex in name of variables of type data_t 2020-07-30 15:59:46 +02:00
test_suite_pkcs1_v21.data rsa: pss: Add no possible salt size tests 2018-09-27 18:23:08 +01:00
test_suite_pkcs1_v21.function tests: suites: Remove hex in name of variables of type data_t 2020-07-30 15:59:46 +02:00
test_suite_pkcs5.data tests/pkcs5/pbkdf2_hmac: add unit tests for additional SHA algorithms 2018-02-08 17:18:19 +08:00
test_suite_pkcs5.function tests: Reformating due to hexcmp() renaming 2020-07-30 15:51:41 +02:00
test_suite_pkparse.data Test each failure mode of pk_parse_key_pkcs1_der() 2020-02-18 10:49:06 +01:00
test_suite_pkparse.function Clean up test function pk_parse_key 2020-02-18 10:49:06 +01:00
test_suite_pkwrite.data Fix copypasta in test dependency 2018-11-06 14:38:06 +01:00
test_suite_pkwrite.function Remove Extraneous bytes from buffer post pem write 2020-12-07 16:47:02 +00:00
test_suite_poly1305.data poly1305: add test for parameter validation 2018-05-24 13:37:31 +02:00
test_suite_poly1305.function tests: Replace "TEST_ASSERT(!memcmp ...)" by ASSERT_COMPARE 2020-07-30 16:08:50 +02:00
test_suite_rsa.data Add init-free tests for RSA 2021-02-22 19:40:41 +01:00
test_suite_rsa.function Add init-free tests for RSA 2021-02-22 19:40:41 +01:00
test_suite_shax.data Merge remote-tracking branch 'public/pr/2271' into development 2018-12-20 12:15:08 +00:00
test_suite_shax.function tests: suites: Remove hex in name of variables of type data_t 2020-07-30 15:59:46 +02:00
test_suite_ssl.data Add mbedtls_ssl_cf_memcpy_offset() with tests 2020-08-25 11:18:11 +02:00
test_suite_ssl.function Add mbedtls_ssl_cf_memcpy_offset() with tests 2020-08-25 11:18:11 +02:00
test_suite_timing.data Reduce the timing tests complexity 2019-01-29 13:02:19 +01:00
test_suite_timing.function Correct code formatting in the timing test suites 2019-02-05 10:05:01 +01:00
test_suite_version.data Bump version to Mbed TLS 2.16.10 2021-03-09 16:03:29 +00:00
test_suite_version.function Intermediate hexify out change 2018-08-06 11:40:57 +01:00
test_suite_x509parse.data Merge branch 'mbedtls-2.16-restricted' into mbedtls-2.16.9r0-pr 2020-12-08 21:00:17 +00:00
test_suite_x509parse.function tests: suites: Remove hex in name of variables of type data_t 2020-07-30 15:59:46 +02:00
test_suite_x509write.data Update certificates to expire in 2029 2019-07-10 18:35:10 +03:00
test_suite_x509write.function Remove Extraneous bytes from buffer post pem write 2020-12-07 16:47:02 +00:00
test_suite_xtea.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_xtea.function tests: suites: Remove hex in name of variables of type data_t 2020-07-30 15:59:46 +02:00