mbedtls/tests/suites
Hanno Becker e1582a832b Add expectation when testing RSA key import/export
This commit adds a flag to the RSA import/export tests indicating whether it is
expected that a full RSA keypair can be set up from the provided parameters.

Further, the tests of `mbedtls_rsa_import` and `mbedtls_rsa_import_raw` are
expanded to perform key checks and an example encryption-decryption.
2017-09-29 11:54:05 +01:00
..
helpers.function Fix global variable shadowing 2016-10-13 13:54:48 +01:00
main_test.function Remove unused var warnings in windows unittests 2017-02-15 09:08:26 +00:00
test_suite_aes.cbc.data
test_suite_aes.cfb.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_aes.ecb.data
test_suite_aes.function Set selftest verbose flag to boost coverage 2016-10-13 13:48:48 +01:00
test_suite_aes.rest.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_arc4.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_arc4.function Set selftest verbose flag to boost coverage 2016-10-13 13:48:48 +01: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 Test result of mbedtls_asn1_write_len() through mbedtls_asn1_get_len() 2016-08-25 15:42:27 +01:00
test_suite_base64.data Add test for base64 output length 2015-09-30 16:31:10 +02:00
test_suite_base64.function Set selftest verbose flag to boost coverage 2016-10-13 13:48:48 +01:00
test_suite_blowfish.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_blowfish.function The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_camellia.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_camellia.function Set selftest verbose flag to boost coverage 2016-10-13 13:48:48 +01:00
test_suite_ccm.data Split mbedtls_ccm_init() -> setkey() 2015-04-28 18:02:54 +02:00
test_suite_ccm.function Set selftest verbose flag to boost coverage 2016-10-13 13:48:48 +01:00
test_suite_cipher.aes.data Adds missing dependency to AES special case tests 2016-08-25 15:42:28 +01:00
test_suite_cipher.arc4.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_cipher.blowfish.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_cipher.camellia.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_cipher.ccm.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_cipher.des.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_cipher.function Add Cipher layer corner case test coverage 2016-08-25 15:42:28 +01:00
test_suite_cipher.gcm.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_cipher.null.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_cipher.padding.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_cmac.data Extend test coverage of CMAC 2016-10-13 13:53:13 +01:00
test_suite_cmac.function Fix memory leaks in CMAC tests 2016-10-13 13:53:56 +01:00
test_suite_ctr_drbg.data Add coverage for CTR-DRBG corner case function behaviours 2016-08-25 15:42:28 +01:00
test_suite_ctr_drbg.function Fix integer overflows in buffer bound checks 2017-02-15 23:31:07 +02:00
test_suite_debug.data Fix typo in dependency in test_suite_debug.data 2016-09-04 15:14:38 +01:00
test_suite_debug.function Merging iotssl-457-badtail with development branch 2015-09-03 13:06:01 +01:00
test_suite_des.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_des.function Set selftest verbose flag to boost coverage 2016-10-13 13:48:48 +01:00
test_suite_dhm.data Add test case for dh params with privateValueLength 2015-04-15 13:50:29 +02:00
test_suite_dhm.function Set selftest verbose flag to boost coverage 2016-10-13 13:48:48 +01:00
test_suite_ecdh.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_ecdh.function Rename ecp_use_known_dp -> mbedtls_ecp_group_load() 2015-05-11 18:46:47 +02:00
test_suite_ecdsa.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_ecdsa.function Rename ecp_use_known_dp -> mbedtls_ecp_group_load() 2015-05-11 18:46:47 +02:00
test_suite_ecjpake.data Add tests for round 2 2015-09-07 12:43:11 +02:00
test_suite_ecjpake.function Remove use of size zero array in ECJPAKE test suite 2017-06-05 15:10:59 +01:00
test_suite_ecp.data Add invalid key tests for curve SECP224K1 2017-02-28 18:41:39 +00:00
test_suite_ecp.function Add invalid key tests for curve SECP224K1 2017-02-28 18:41:39 +00:00
test_suite_entropy.data Fixes for entropy test suite for some configurations 2016-09-15 18:42:26 +01:00
test_suite_entropy.function Set selftest verbose flag to boost coverage 2016-10-13 13:48:48 +01:00
test_suite_error.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_error.function The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_gcm.aes128_de.data fix for issue 1118: check if iv is zero in gcm. 2017-07-20 00:11:24 +02:00
test_suite_gcm.aes128_en.data fix for issue 1118: check if iv is zero in gcm. 2017-07-20 00:11:24 +02:00
test_suite_gcm.aes192_de.data fix for issue 1118: check if iv is zero in gcm. 2017-07-20 00:11:24 +02:00
test_suite_gcm.aes192_en.data fix for issue 1118: check if iv is zero in gcm. 2017-07-20 00:11:24 +02:00
test_suite_gcm.aes256_de.data fix for issue 1118: check if iv is zero in gcm. 2017-07-20 00:11:24 +02:00
test_suite_gcm.aes256_en.data fix for issue 1118: check if iv is zero in gcm. 2017-07-20 00:11:24 +02:00
test_suite_gcm.camellia.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_gcm.function fix for issue 1118: check if iv is zero in gcm. 2017-07-20 00:11:24 +02:00
test_suite_hmac_drbg.function Set selftest verbose flag to boost coverage 2016-10-13 13:48:48 +01: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 Avoid non-standard strcasecmp() 2015-05-29 10:18:09 +02:00
test_suite_md.function Fix memory leak in test_suite_md.function 2016-08-26 17:21:14 +01:00
test_suite_mdx.data Remove individual mdX_file() and shaX_file() 2015-05-28 17:28:38 +02:00
test_suite_mdx.function Set selftest verbose flag to boost coverage 2016-10-13 13:48:48 +01:00
test_suite_memory_buffer_alloc.data Additional tests to test stack buffer allocator 2016-05-23 14:29:29 +01:00
test_suite_memory_buffer_alloc.function Set selftest verbose flag to boost coverage 2016-10-13 13:48:48 +01:00
test_suite_mpi.data Abort modular inversion when modulus is one. 2017-05-08 14:47:04 +01:00
test_suite_mpi.function Set selftest verbose flag to boost coverage 2016-10-13 13:48:48 +01:00
test_suite_pem.data Add tests for overreads in pem_read_buffer() 2017-02-15 23:31:07 +02:00
test_suite_pem.function Add tests for overreads in pem_read_buffer() 2016-11-21 11:03:40 +00:00
test_suite_pk.data Add PK tests to avoid hashlen overflow for RSA 2017-05-11 21:58:25 +01:00
test_suite_pk.function Adapt PK test suite to use new interface 2017-08-23 16:17:27 +01:00
test_suite_pkcs1_v15.data Add tests to cover PKCS1 v1.5 signature functions. 2016-04-11 23:32:26 +01:00
test_suite_pkcs1_v15.function Adapt PKCS v15 test suite to new RSA interface 2017-08-23 16:17:27 +01:00
test_suite_pkcs1_v21.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_pkcs1_v21.function Adapt PKCS v21 test suite to new RSA interface 2017-08-23 16:17:27 +01:00
test_suite_pkcs5.data Run PKCS#5 selftest in test suites 2016-08-25 16:36:35 +01:00
test_suite_pkcs5.function Set selftest verbose flag to boost coverage 2016-10-13 13:48:48 +01:00
test_suite_pkparse.data Fix failing pkparse test case 2017-03-02 16:01:08 +00:00
test_suite_pkparse.function The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_pkwrite.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_pkwrite.function Finish test in pkwrite 2015-08-19 10:24:34 +02:00
test_suite_rsa.data Add expectation when testing RSA key import/export 2017-09-29 11:54:05 +01:00
test_suite_rsa.function Add expectation when testing RSA key import/export 2017-09-29 11:54:05 +01:00
test_suite_shax.data Remove individual mdX_file() and shaX_file() 2015-05-28 17:28:38 +02:00
test_suite_shax.function Set selftest verbose flag to boost coverage 2016-10-13 13:48:48 +01:00
test_suite_ssl.data
test_suite_ssl.function Add SSL presets. 2015-06-17 14:59:27 +02:00
test_suite_timing.data Add new timing test suite that runs the timing self test 2016-08-25 16:36:35 +01:00
test_suite_timing.function Set selftest verbose flag to boost coverage 2016-10-13 13:48:48 +01:00
test_suite_version.data Update the version number to 2.5.1 2017-06-20 23:08:10 +01:00
test_suite_version.function The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_x509parse.data Add CRT DER tests with incorrect version 2017-07-26 12:13:13 +01:00
test_suite_x509parse.function Allow SHA-1 in X.509 and TLS tests 2017-06-06 18:44:13 +02:00
test_suite_x509write.data Fix some X509 macro names 2015-04-20 12:19:02 +01:00
test_suite_x509write.function Add test for bounds in X509 DER write funcs 2016-10-11 14:07:48 +01:00
test_suite_xtea.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_xtea.function Set selftest verbose flag to boost coverage 2016-10-13 13:48:48 +01:00