mbedtls/tests/suites
Manuel Pégourié-Gonnard c058074836 Add test case for first intermediate max_pathlen=0
!!! This test case is currently failing !!!
(See fix in next-next commit.)

Test certificates generated with the following script:

programs/pkey/gen_key type=ec ec_curve=secp256r1 filename=cert81.key
programs/pkey/gen_key type=ec ec_curve=secp256r1 filename=cert82.key
programs/pkey/gen_key type=ec ec_curve=secp256r1 filename=cert83.key

programs/x509/cert_write serial=81 output_file=cert81.crt is_ca=1 \
    issuer_key=cert81.key issuer_name="CN=Root 8,O=mbed TLS,C=UK" \
    selfsign=1
programs/x509/cert_write serial=82 output_file=cert82.crt is_ca=1 \
    issuer_key=cert81.key issuer_name="CN=Root 8,O=mbed TLS,C=UK" \
    subject_key=cert82.key subject_name="CN=Int 82,O=mbed TLS,C=UK" \
    max_pathlen=0
programs/x509/cert_write serial=83 output_file=cert83.crt \
    issuer_key=cert82.key issuer_name="CN=Int 82,O=mbed TLS,C=UK" \
    subject_key=cert83.key subject_name="CN=EE 83,O=mbed TLS,C=UK"

mv cert8?.crt tests/data_files/dir4
rm cert8?.key
2015-11-19 12:01:11 +01:00
..
helpers.function fix bug introduced by the addition of snprintf and assert macro which caused tests to fail without polarssl_platform_c defined 2015-02-13 13:50:26 +00:00
main_test.function modify library/memory_buffer_alloc.c, benchmark.c and the tests main code to use polarssl_exit 2015-02-13 16:52:49 +00:00
test_suite_aes.cbc.data
test_suite_aes.cfb.data
test_suite_aes.ecb.data
test_suite_aes.function change test function includes to use one convention 2015-02-10 11:28:46 +00:00
test_suite_aes.rest.data
test_suite_arc4.data
test_suite_arc4.function change test function includes to use one convention 2015-02-10 11:28:46 +00:00
test_suite_asn1write.data Add tests for asn1_write_ia5_string() 2014-06-10 15:38:43 +02:00
test_suite_asn1write.function change test function includes to use one convention 2015-02-10 11:28:46 +00:00
test_suite_base64.data Accept spaces at end of line/buffer in base64 2014-10-15 23:53:33 +02:00
test_suite_base64.function change test function includes to use one convention 2015-02-10 11:28:46 +00:00
test_suite_blowfish.data
test_suite_blowfish.function Add 'exit' label and variable initialization to relevant test suite functions 2014-07-10 16:37:50 +02:00
test_suite_camellia.data
test_suite_camellia.function change test function includes to use one convention 2015-02-10 11:28:46 +00:00
test_suite_ccm.data Add test vectors for Camellia-CCM 2014-05-14 14:10:35 +02:00
test_suite_ccm.function Fix compile warning in tests/ 2015-02-10 14:37:49 +00:00
test_suite_cipher.aes.data
test_suite_cipher.arc4.data
test_suite_cipher.blowfish.data Merge more test improvements and tests 2014-06-24 11:12:00 +02:00
test_suite_cipher.camellia.data
test_suite_cipher.ccm.data Add tests for CCM via cipher layer 2014-05-20 17:26:16 +02:00
test_suite_cipher.des.data Add tests vectors for (3)DES via cipher layer 2014-06-23 11:52:59 +02:00
test_suite_cipher.function change test function includes to use one convention 2015-02-10 11:28:46 +00:00
test_suite_cipher.gcm.data
test_suite_cipher.null.data
test_suite_cipher.padding.data Add tests for bad arguments to cipher functions 2014-06-23 11:54:57 +02:00
test_suite_ctr_drbg.data
test_suite_ctr_drbg.function change test function includes to use one convention 2015-02-10 11:28:46 +00:00
test_suite_debug.data Fix depends on individual curves in tests 2014-11-20 16:36:08 +01:00
test_suite_debug.function Fix thread-safety issue in debug.c 2015-06-29 18:52:57 +02:00
test_suite_des.data
test_suite_des.function change test function includes to use one convention 2015-02-10 11:28:46 +00: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 change test function includes to use one convention 2015-02-10 11:28:46 +00:00
test_suite_ecdh.data
test_suite_ecdh.function change test function includes to use one convention 2015-02-10 11:28:46 +00:00
test_suite_ecdsa.data Fix some curve-specific depends in tests 2014-06-24 16:55:17 +02:00
test_suite_ecdsa.function change test function includes to use one convention 2015-02-10 11:28:46 +00:00
test_suite_ecp.data Add ecp_check_pub_priv() 2014-11-06 18:25:51 +01:00
test_suite_ecp.function change test function includes to use one convention 2015-02-10 11:28:46 +00:00
test_suite_entropy.data Add more tests for the entropy module 2014-06-10 15:38:44 +02:00
test_suite_entropy.function change test function includes to use one convention 2015-02-10 11:28:46 +00:00
test_suite_error.data
test_suite_error.function change test function includes to use one convention 2015-02-10 11:28:46 +00:00
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 change test function includes to use one convention 2015-02-10 11:28:46 +00:00
test_suite_hmac_drbg.function change test function includes to use one convention 2015-02-10 11:28:46 +00:00
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_hmac_shax.data
test_suite_hmac_shax.function change test function includes to use one convention 2015-02-10 11:28:46 +00:00
test_suite_md.data Add test for bad arguments to MD functions 2014-06-23 11:54:57 +02:00
test_suite_md.function change test function includes to use one convention 2015-02-10 11:28:46 +00:00
test_suite_mdx.data
test_suite_mdx.function change test function includes to use one convention 2015-02-10 11:28:46 +00:00
test_suite_memory_buffer_alloc.data Add test_suite_memory_buffer_alloc 2015-01-13 14:58:00 +01:00
test_suite_memory_buffer_alloc.function change test function includes to use one convention 2015-02-10 11:28:46 +00:00
test_suite_mpi.data Fix missing NULL check in MPI 2015-04-29 17:02:01 +02:00
test_suite_mpi.function Fix missing NULL check in MPI 2015-04-29 17:02:01 +02:00
test_suite_pbkdf2.data
test_suite_pbkdf2.function Fix tests to work with DEPRECATED_REMOVED 2015-03-23 14:11:11 +01:00
test_suite_pem.data
test_suite_pem.function change test function includes to use one convention 2015-02-10 11:28:46 +00:00
test_suite_pk.data Add pk_check_pair() 2014-11-06 18:25:51 +01:00
test_suite_pk.function change test function includes to use one convention 2015-02-10 11:28:46 +00:00
test_suite_pkcs1_v21.data Add rsa_rsassa_pss_verify_ext() 2014-06-05 14:02:05 +02:00
test_suite_pkcs1_v21.function change test function includes to use one convention 2015-02-10 11:28:46 +00:00
test_suite_pkcs5.data Fix typos in comments 2014-06-25 14:45:24 +02:00
test_suite_pkcs5.function change test function includes to use one convention 2015-02-10 11:28:46 +00:00
test_suite_pkparse.data Fix bug in pk_parse_key() 2015-04-15 11:21:24 +02:00
test_suite_pkparse.function change test function includes to use one convention 2015-02-10 11:28:46 +00:00
test_suite_pkwrite.data Fix depends on individual curves in tests 2014-11-20 16:36:08 +01:00
test_suite_pkwrite.function Fix pkwrite test that were failing on mingw32 2015-08-19 10:20:25 +02:00
test_suite_rsa.data Fix possible unlock before lock in RSA 2015-08-31 10:21:10 +02:00
test_suite_rsa.function change test function includes to use one convention 2015-02-10 11:28:46 +00:00
test_suite_shax.data
test_suite_shax.function change test function includes to use one convention 2015-02-10 11:28:46 +00:00
test_suite_version.data Changed version number to 1.3.15 2015-11-05 15:44:46 +00:00
test_suite_version.function modify scripts/* and tests/* to use polarssl_snprintf 2015-02-13 13:50:26 +00:00
test_suite_x509parse.data Add test case for first intermediate max_pathlen=0 2015-11-19 12:01:11 +01:00
test_suite_x509parse.function Use own implementation of strsep() 2015-11-02 06:50:46 +09:00
test_suite_x509write.data Support escaping of commas in x509_string_to_names() 2014-08-11 11:59:52 +02:00
test_suite_x509write.function change test function includes to use one convention 2015-02-10 11:28:46 +00:00
test_suite_xtea.data Add test vectors for XTEA CBC 2014-06-10 15:38:43 +02:00
test_suite_xtea.function change test function includes to use one convention 2015-02-10 11:28:46 +00:00