mbedtls/tests/suites
Nick Child ec81709516 pkcs7: Ensure all data in asn1 structure is accounted for
Several PKCS7 invalid ASN1 Tests were failing due to extra
data bytes or incorrect content lengths going unnoticed. Make
the parser aware of possible malformed ASN1 data.

Signed-off-by: Nick Child <nick.child@ibm.com>
2023-01-30 16:44:58 +00:00
..
helpers.function Switch to the new code style 2023-01-11 14:50:10 +01:00
host_test.function Switch to the new code style 2023-01-11 14:50:10 +01:00
main_test.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_aes.cbc.data
test_suite_aes.cfb.data
test_suite_aes.ecb.data Refactor AES context to be shallow-copyable 2022-06-29 16:17:50 +01:00
test_suite_aes.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_aes.ofb.data
test_suite_aes.rest.data
test_suite_aes.xts.data
test_suite_alignment.data Improve parsing of test data 2022-12-01 13:31:20 +00:00
test_suite_alignment.function Remove not-needed stdio include from tests 2023-01-20 14:04:48 +00:00
test_suite_aria.data
test_suite_aria.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_asn1parse.data Deprecate mbedtls_asn1_free_named_data() 2022-11-07 15:42:44 -05:00
test_suite_asn1parse.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_asn1write.data Fix copypasta in test data 2022-06-15 21:16:42 +02:00
test_suite_asn1write.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_base64.data Move the list of Base64 digits out of the test data 2021-10-25 22:15:19 +02:00
test_suite_base64.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_bignum.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_bignum.misc.data Move tests of random-in-range functions to their own suite 2022-12-06 22:50:11 +01:00
test_suite_bignum_core.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_bignum_core.misc.data New constant-flow function mbedtls_mpi_core_uint_le_mpi 2022-12-01 23:06:43 +01:00
test_suite_bignum_mod.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_bignum_mod.misc.data Add tests for mod_mul 2022-12-20 17:30:19 +01:00
test_suite_bignum_mod_raw.data Remove hand-written tests got raw_mod_sub 2022-11-24 11:48:59 +01:00
test_suite_bignum_mod_raw.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_bignum_random.data Fix representation of mod-random output 2022-12-20 20:28:02 +01:00
test_suite_bignum_random.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_camellia.data
test_suite_camellia.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_ccm.data Fix missing AES dependencies 2022-10-19 08:35:08 -04:00
test_suite_ccm.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_chacha20.data
test_suite_chacha20.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_chachapoly.data
test_suite_chachapoly.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_cipher.aes.data Fix test dependencies for cases that are PSA-based 2022-10-21 13:39:00 -04:00
test_suite_cipher.aria.data Fix missing padding dependencies 2022-10-19 08:35:08 -04:00
test_suite_cipher.camellia.data Fix missing padding dependencies 2022-10-19 08:35:08 -04:00
test_suite_cipher.ccm.data Fix test dependencies for cases that are PSA-based 2022-10-21 13:39:00 -04:00
test_suite_cipher.chacha20.data Modifies data files to match new test function name 2022-02-21 09:57:51 +00:00
test_suite_cipher.chachapoly.data Modifies data files to match new test function name 2022-02-21 09:57:51 +00:00
test_suite_cipher.des.data Fix missing padding dependencies 2022-10-19 08:35:08 -04:00
test_suite_cipher.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_cipher.gcm.data Fix test dependencies for cases that are PSA-based 2022-10-21 13:39:00 -04:00
test_suite_cipher.misc.data
test_suite_cipher.nist_kw.data
test_suite_cipher.null.data
test_suite_cipher.padding.data
test_suite_cmac.data Fix missing AES dependencies 2022-10-19 08:35:08 -04:00
test_suite_cmac.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_common.data Add tests for mbedtls_xor 2022-11-22 17:32:43 +00:00
test_suite_common.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_constant_time.data Test memcmp with differences starting after the first byte 2023-01-21 10:29:00 +00:00
test_suite_constant_time.function Add TEST_CF_SECRET to mbedtls_ct_memcpy_if_eq test 2023-01-21 11:13:55 +00:00
test_suite_constant_time_hmac.data Move constant-time HMAC testing to its own suite 2022-11-29 15:42:36 +01:00
test_suite_constant_time_hmac.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_ctr_drbg.data
test_suite_ctr_drbg.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_debug.data test_suite_debug: adapt dependenies so the test can run in the driver-only build 2022-10-18 14:52:41 +02:00
test_suite_debug.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_des.data
test_suite_des.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_dhm.data test_suite_dhm: Add missing dependencies on MBEDTLS_PEM_PARSE_C 2022-10-11 20:57:21 +02:00
test_suite_dhm.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_ecdh.data
test_suite_ecdh.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_ecdsa.data Simplify test for ecdsa_verify 2022-08-19 11:26:32 +01:00
test_suite_ecdsa.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_ecjpake.data mbedtls_ecp_point_read_binary from compressed fmt 2022-10-03 05:43:27 -04:00
test_suite_ecjpake.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_ecp.data Merge pull request #6282 from gstrauss/sw_derive_y 2022-12-22 10:20:31 +01:00
test_suite_ecp.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_entropy.data
test_suite_entropy.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_error.data
test_suite_error.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_gcm.aes128_de.data Fix PSA AEAD GCM's update output buffer length verification. 2021-10-04 13:54:55 +02:00
test_suite_gcm.aes128_en.data Fix missing AES dependencies 2022-10-19 08:35:08 -04:00
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 Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_gcm.misc.data
test_suite_hkdf.data
test_suite_hkdf.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_hmac_drbg.function Switch to the new code style 2023-01-11 14:50:10 +01: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_lmots.data Fix file names in reproduction instructions in test data 2022-10-13 20:48:15 +02:00
test_suite_lmots.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_lms.data Fix instructions and test data for pyhsslms interop tests 2022-10-13 20:45:05 +02:00
test_suite_lms.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_md.data
test_suite_md.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_mdx.data
test_suite_mdx.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_memory_buffer_alloc.data
test_suite_memory_buffer_alloc.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_mps.data
test_suite_mps.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_net.data
test_suite_net.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_nist_kw.data
test_suite_nist_kw.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_oid.data test_suite_oid: Replace MBEDTLS_MD5_C and MBEDTLS_SHAxxx_C with the corresponding MBEDTLS_HAS_ALG_xxx_VIA_LOWLEVEL_OR_PSA 2022-08-19 10:15:56 +02:00
test_suite_oid.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_pem.data Fix missing AES dependencies 2022-10-19 08:35:08 -04:00
test_suite_pem.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_pk.data Disable 'wrong salt len' PK test with USE_PSA 2022-12-29 10:07:08 +01:00
test_suite_pk.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_pkcs1_v15.data Apply test data changes for conflicting cases 2022-08-01 15:17:45 +01:00
test_suite_pkcs1_v15.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_pkcs1_v21.data Fix undeclared dependencies on SHA-1 2022-08-11 12:50:06 +02:00
test_suite_pkcs1_v21.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_pkcs5.data Fix missing padding dependencies 2022-10-19 08:35:08 -04:00
test_suite_pkcs5.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_pkcs7.data pkcs7: Ensure all data in asn1 structure is accounted for 2023-01-30 16:44:58 +00:00
test_suite_pkcs7.function test/pkcs7: Add more tests for better coverage 2023-01-30 15:55:44 +00:00
test_suite_pkcs12.data Remove MD dependency from pkcs12 module 2022-09-01 08:57:41 -04:00
test_suite_pkcs12.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_pkparse.data Adjust pkparse test dependencies 2022-09-02 15:33:20 -04:00
test_suite_pkparse.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_pkwrite.data
test_suite_pkwrite.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_poly1305.data
test_suite_poly1305.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_psa_crypto.data Add SECRET input validation test cases for PSA_WANT_ALG_TLS12_ECJPAKE_TO_PMS 2023-01-19 12:11:19 +01:00
test_suite_psa_crypto.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_psa_crypto_attributes.data
test_suite_psa_crypto_attributes.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_psa_crypto_driver_wrappers.data Add test function for opaque driver (simply returns PSA_ERROR_NOT_SUPPORTED), and address other review comments. 2022-11-28 14:46:30 +00:00
test_suite_psa_crypto_driver_wrappers.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_psa_crypto_entropy.data Redo of PR#5345. Fixed spelling and typographical errors found by CodeSpell. 2022-05-11 21:25:51 +01:00
test_suite_psa_crypto_entropy.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_psa_crypto_generate_key.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_psa_crypto_hash.data
test_suite_psa_crypto_hash.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_psa_crypto_init.data
test_suite_psa_crypto_init.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_psa_crypto_metadata.data Add metadata test case for PSA_ALG_TLS12_ECJPAKE_TO_PMS 2023-01-19 12:11:20 +01:00
test_suite_psa_crypto_metadata.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_psa_crypto_not_supported.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_psa_crypto_not_supported.misc.data
test_suite_psa_crypto_op_fail.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_psa_crypto_op_fail.misc.data Test attempts to use a public key for a private-key operation 2022-04-05 15:02:44 +02:00
test_suite_psa_crypto_pake.data test: psa_pake: fix dependency 2022-11-28 11:46:36 +01:00
test_suite_psa_crypto_pake.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_psa_crypto_persistent_key.data Add warnings to test code and data about storage format stability 2022-06-20 19:10:35 +02:00
test_suite_psa_crypto_persistent_key.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_psa_crypto_se_driver_hal.data Add ARIA to the PSA API 2021-09-21 11:59:39 +02:00
test_suite_psa_crypto_se_driver_hal.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_psa_crypto_se_driver_hal_mocks.data
test_suite_psa_crypto_se_driver_hal_mocks.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_psa_crypto_slot_management.data Remove dependency of builtin keys on storage 2021-08-17 02:46:00 +05:30
test_suite_psa_crypto_slot_management.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_psa_crypto_storage_format.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_psa_crypto_storage_format.misc.data Remove obsolete MBEDTLS_xxx dependencies 2021-07-13 17:12:53 +02:00
test_suite_psa_its.data BUGFIX: PSA test vectors use UID 1 instead of 0. 2022-02-08 15:19:26 +01:00
test_suite_psa_its.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_random.data
test_suite_random.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_rsa.data Apply test data changes for conflicting cases 2022-08-01 15:17:45 +01:00
test_suite_rsa.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_shax.data test: sha: test SHA224 and SHA256 separately 2022-12-14 10:58:02 +01:00
test_suite_shax.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_ssl.data Add missing key exchange requirements to test_suite_ssl 2023-01-19 18:31:00 -05:00
test_suite_ssl.function Add missing KEX DHE-RSA requirement for one ssl test 2023-01-19 18:27:57 -05:00
test_suite_timing.data Remove the dependency on MBEDTLS_HAVE_TIME from MBEDTLS_TIMING_C 2022-04-08 04:41:42 -04:00
test_suite_timing.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_version.data Bump version to 3.3.0. No changes to .so versions. 2022-12-08 14:43:19 +00:00
test_suite_version.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_x509parse.data Merge pull request #6784 from valeriosetti/issue6702 2023-01-03 09:36:58 +01:00
test_suite_x509parse.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_x509write.data Merge pull request #6454 from valeriosetti/issue4577 2022-11-15 09:39:07 +01:00
test_suite_x509write.function Fix test guards 2023-01-20 11:39:00 +00:00