mbedtls/tests/suites
Manuel Pégourié-Gonnard 8b4331aa56 Add test case for root with max_pathlen=0
This was already working but not tested so far

(Test case from previous commit still failing.)

Test certificates generated with:

programs/pkey/gen_key type=ec ec_curve=secp256r1 filename=cert91.key
programs/pkey/gen_key type=ec ec_curve=secp256r1 filename=cert92.key

programs/x509/cert_write serial=91 output_file=cert91.crt is_ca=1 \
    issuer_key=cert91.key issuer_name="CN=Root 9,O=mbed TLS,C=UK" \
    selfsign=1 max_pathlen=0
programs/x509/cert_write serial=92 output_file=cert92.crt \
    issuer_key=cert91.key issuer_name="CN=Root 9,O=mbed TLS,C=UK" \
    subject_key=cert92.key subject_name="CN=EE 92,O=mbed TLS,C=UK"

mv cert9?.crt tests/data_files/dir4
rm cert9?.key
2015-11-19 11:10:33 +01:00
..
helpers.function Fix whitespace at EOL issues 2015-10-30 09:23:19 +01:00
main_test.function Fix snprintf test 2015-06-26 14:10:13 +02: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 The Great Renaming 2015-04-08 13:25:31 +02: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 The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_asn1write.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_asn1write.function The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_base64.data Add test for base64 output length 2015-09-30 16:31:10 +02:00
test_suite_base64.function Avoid in-out length in base64 2015-06-02 16:30:35 +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 The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_ccm.data Split mbedtls_ccm_init() -> setkey() 2015-04-28 18:02:54 +02:00
test_suite_ccm.function Split mbedtls_ccm_init() -> setkey() 2015-04-28 18:02:54 +02:00
test_suite_cipher.aes.data The Great Renaming 2015-04-08 13:25:31 +02: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 Fix small issues in tests found by Coverity 2015-06-24 01:08:09 +02: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_ctr_drbg.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_ctr_drbg.function Split mbedtls_ctr_drbg_init() -> seed() 2015-04-28 22:38:08 +02:00
test_suite_debug.data Change SSL debug API in the library 2015-06-23 18:44:11 +02: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 The Great Renaming 2015-04-08 13:25:31 +02: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 Avoid in-out length in dhm_calc_secret() 2015-06-02 16:17:08 +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 Fix #ifdef in test suite 2015-09-07 12:43:11 +02:00
test_suite_ecp.data Rename M255 to Curve25519 2015-06-23 13:09:10 +02:00
test_suite_ecp.function Rename mbedtls_mpi_msb to mbedtls_mpi_bitlen 2015-06-18 16:49:37 +02:00
test_suite_entropy.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_entropy.function Add a concept of entropy source strength. 2015-06-22 14:40:56 +02: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 The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_gcm.aes128_en.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_gcm.aes192_de.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_gcm.aes192_en.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_gcm.aes256_de.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_gcm.aes256_en.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_gcm.camellia.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_gcm.function Split mbedtls_gcm_init() -> gcm_setkey() 2015-04-28 21:42:17 +02:00
test_suite_hmac_drbg.function Split mbedtls_hmac_drbg_init() -> seed{,_buf}() 2015-04-28 22:07:14 +02: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 small issues in tests found by Coverity 2015-06-24 01:08:09 +02:00
test_suite_mdx.data Remove individual mdX_file() and shaX_file() 2015-05-28 17:28:38 +02:00
test_suite_mdx.function Remove individual mdX_file() and shaX_file() 2015-05-28 17:28:38 +02:00
test_suite_memory_buffer_alloc.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_memory_buffer_alloc.function The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_mpi.data Rename mbedtls_mpi_msb to mbedtls_mpi_bitlen 2015-06-18 16:49:37 +02:00
test_suite_mpi.function Fix whitespace at EOL issues 2015-10-30 09:23:19 +01:00
test_suite_pem.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_pem.function Replace malloc with calloc 2015-05-26 16:04:06 +02:00
test_suite_pk.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_pk.function Rename relevant global symbols from size to bitlen 2015-06-18 16:43:38 +02:00
test_suite_pkcs1_v21.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_pkcs1_v21.function The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_pkcs5.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_pkcs5.function Fix small issues in tests found by Coverity 2015-06-24 01:08:09 +02:00
test_suite_pkparse.data Fix bug in pk_parse_key() 2015-04-15 11:21:24 +02: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 Fix RSA mutex fix 2015-08-31 09:31:55 +02:00
test_suite_rsa.function Split mbedtls_ctr_drbg_init() -> seed() 2015-04-28 22:38:08 +02:00
test_suite_shax.data Remove individual mdX_file() and shaX_file() 2015-05-28 17:28:38 +02:00
test_suite_shax.function Remove individual mdX_file() and shaX_file() 2015-05-28 17:28:38 +02:00
test_suite_ssl.data Test and fix anti-replay functions 2014-10-21 16:32:34 +02:00
test_suite_ssl.function Add SSL presets. 2015-06-17 14:59:27 +02:00
test_suite_version.data Change version number to 2.2.0 2015-11-04 19:55:40 +00:00
test_suite_version.function The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_x509parse.data Add test case for root with max_pathlen=0 2015-11-19 11:10:33 +01:00
test_suite_x509parse.function Use own implementation of strsep() 2015-11-02 06:44:24 +09:00
test_suite_x509write.data Fix some X509 macro names 2015-04-20 12:19:02 +01:00
test_suite_x509write.function Fix dual use of buffer in test 2015-06-26 14:15:48 +02:00
test_suite_xtea.data The Great Renaming 2015-04-08 13:25:31 +02:00
test_suite_xtea.function The Great Renaming 2015-04-08 13:25:31 +02:00