mbedtls/tests/suites
Waleed Elmelegy 76336c3e4d Enforce minimum key size when generating RSA key size
Add configuration to enforce minimum size when
generating a RSA key, it's default value is 1024
bits since this the minimum secure value currently
but it can be any value greater than or equal 128
bits. Tests were modifed to accommodate for this
change.

Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
2023-07-27 10:58:25 +00:00
..
helpers.function Support different types in the parameter store 2023-04-26 19:40:02 +02:00
host_test.function Support larger integer test arguments: C part 2023-04-26 19:40:02 +02:00
main_test.function Support larger integer test arguments: C part 2023-04-26 19:40:02 +02:00
test_suite_aes.cbc.data Add AES 128-bit key dependency for tests data 2023-05-05 11:21:30 +08:00
test_suite_aes.cfb.data Add AES 128-bit key dependency for tests data 2023-05-05 11:21:30 +08:00
test_suite_aes.ecb.data Add AES 128-bit key dependency for tests data 2023-05-05 11:21:30 +08:00
test_suite_aes.function Fix use of arithmetic on void* 2023-03-16 21:39:47 +01:00
test_suite_aes.ofb.data Add AES 128-bit key dependency for tests data 2023-05-05 11:21:30 +08:00
test_suite_aes.rest.data Add AES 128-bit key dependency for tests data 2023-05-05 11:21:30 +08:00
test_suite_aes.xts.data Add AES 128-bit key dependency for tests data 2023-05-05 11:21:30 +08:00
test_suite_alignment.data Improve parsing of test data 2022-12-01 13:31:20 +00:00
test_suite_alignment.function tests: Fix header inclusion 2023-07-17 11:52:32 +02:00
test_suite_aria.data Removal of the TEST_VALID_PARAM macro and its usages 2021-05-27 17:35:04 +02:00
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 Remove string hack for mbedtls_mpi_mod_int testing 2023-04-26 19:40:02 +02:00
test_suite_bignum.misc.data Remove string hack for mbedtls_mpi_mod_int testing 2023-04-26 19:40:02 +02:00
test_suite_bignum_core.function Merge pull request #7489 from minosgalanakis/ecp/7246_xtrack_core_shift_l 2023-05-16 17:13:19 +01:00
test_suite_bignum_core.misc.data Remove undesirable test 2023-04-25 18:07:29 +01:00
test_suite_bignum_mod.function bignum_mod: Fixed code-style 2023-06-16 13:48:47 +01:00
test_suite_bignum_mod.misc.data bignum: Removed merge scaffolding. 2023-04-05 16:13:11 +01:00
test_suite_bignum_mod_raw.data bignum: Removed merge scaffolding. 2023-04-05 16:13:11 +01:00
test_suite_bignum_mod_raw.function bignum_mod: Refactored mbedtls_mpi_mod_modulus_setup() 2023-06-16 13:48:47 +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 Use designated initializers for mbedtls_mpi 2023-07-11 16:02:46 +01:00
test_suite_camellia.data Removal of the TEST_VALID_PARAM macro and its usages 2021-05-27 17:35:04 +02:00
test_suite_camellia.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_ccm.data Add AES 128-bit key dependency for tests data 2023-05-05 11:21:30 +08:00
test_suite_ccm.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_chacha20.data Refactor optional parameter check tests 2021-05-27 17:27:14 +02:00
test_suite_chacha20.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_chachapoly.data Refactor optional parameter check tests 2021-05-27 17:27:14 +02:00
test_suite_chachapoly.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_cipher.aes.data Add AES 128-bit key dependency for tests data 2023-05-05 11:21:30 +08: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 Add AES 128-bit key dependency for tests data 2023-05-05 11:21:30 +08: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 Don't directly access key_bitlen 2023-06-24 11:07:40 +01:00
test_suite_cipher.gcm.data Add AES 128-bit key dependency for tests data 2023-05-05 11:21:30 +08:00
test_suite_cipher.misc.data
test_suite_cipher.nist_kw.data Add AES 128-bit key dependency for tests data 2023-05-05 11:21:30 +08:00
test_suite_cipher.null.data Uniquify test case descriptions 2019-09-20 15:59:31 +02:00
test_suite_cipher.padding.data Remove MD2, MD4, RC4, Blowfish and XTEA 2021-06-16 10:34:25 +02:00
test_suite_cmac.data Add AES 128-bit key dependency for tests data 2023-05-05 11:21:30 +08: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 xor over large blocks 2023-06-07 16:38:26 +01: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 Fix warning with GCC 12 2023-02-21 16:31:56 +00:00
test_suite_constant_time_hmac.data SSL: use MD_CAN macros 2023-03-21 16:29:31 +01:00
test_suite_constant_time_hmac.function Add missing include 2023-06-06 10:33:54 +02:00
test_suite_ctr_drbg.data Add AES 128-bit key dependency for tests data 2023-05-05 11:21:30 +08:00
test_suite_ctr_drbg.function Fix use of sizeof without brackets 2023-02-02 12:40:50 +00:00
test_suite_debug.data debug: replace occurence of ECP_LIGHT with PK_HAVE_ECC_KEYS 2023-07-10 09:13:57 +02:00
test_suite_debug.function test_suite_debug: fix USE_PSA_INIT/DONE guards in a test 2023-05-17 15:38:34 +02: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 Merge branch 'development' into Remove__CHECK_PARAMS_option 2021-06-07 15:41:49 +02:00
test_suite_ecdh.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_ecdsa.data OID + misc crypto: use MD_CAN and fix failures 2023-03-21 16:28:00 +01:00
test_suite_ecdsa.function Remove hash_info.[ch] 2023-06-06 10:33:54 +02: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 Remove legacy_or_psa.h 2023-03-21 16:29:31 +01:00
test_suite_ecp.data Add check for the ecp module variants 2023-06-30 11:39:21 +02:00
test_suite_ecp.function Update test function dependencies 2023-07-14 14:43:27 +02:00
test_suite_entropy.data Remove MBEDTLS_TEST_NULL_ENTROPY config option. 2021-05-11 13:15:19 +02:00
test_suite_entropy.function MBEDTLS_PSA_INJECT_ENTROPY: Skip incompatible tests 2023-04-28 23:45:36 +02: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 Add AES 128-bit key dependency for tests data 2023-05-05 11:21:30 +08:00
test_suite_gcm.aes192_en.data Add AES 128-bit key dependency for tests data 2023-05-05 11:21:30 +08:00
test_suite_gcm.aes256_de.data Add AES 128-bit key dependency for tests data 2023-05-05 11:21:30 +08:00
test_suite_gcm.aes256_en.data Add AES 128-bit key dependency for tests data 2023-05-05 11:21:30 +08:00
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 Removal of the TEST_VALID_PARAM macro and its usages 2021-05-27 17:35:04 +02:00
test_suite_hkdf.data Enable HKDF in driver-only hashes test 2023-03-21 16:42:05 +01:00
test_suite_hkdf.function Enable HKDF in driver-only hashes test 2023-03-21 16:42:05 +01:00
test_suite_hmac_drbg.function Enable HMAC-DRBG in driver-only hashes component 2023-03-21 16:42:05 +01:00
test_suite_hmac_drbg.misc.data Fix test dependencies 2023-06-08 13:48:42 +01:00
test_suite_hmac_drbg.no_reseed.data Enable HMAC-DRBG in driver-only hashes component 2023-03-21 16:42:05 +01:00
test_suite_hmac_drbg.nopr.data Enable HMAC-DRBG in driver-only hashes component 2023-03-21 16:42:05 +01:00
test_suite_hmac_drbg.pr.data Enable HMAC-DRBG in driver-only hashes component 2023-03-21 16:42:05 +01:00
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 Actually run MD<->PSA test, and fix it 2023-06-28 09:42:04 +02:00
test_suite_md.function Actually run MD<->PSA test, and fix it 2023-06-28 09:42:04 +02:00
test_suite_md.psa.data MD: use MD_CAN in test suite and check for parity 2023-03-21 16:29:31 +01:00
test_suite_mdx.data Remove MD2, MD4, RC4, Blowfish and XTEA 2021-06-16 10:34:25 +02:00
test_suite_mdx.function Fix use of sizeof without brackets 2023-02-02 12:40:50 +00:00
test_suite_memory_buffer_alloc.data More accurate test case description 2019-10-31 15:07:35 +01:00
test_suite_memory_buffer_alloc.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_mps.data Add unit test for integer overflow in mbedtls_mps_reader_reclaim() 2021-03-29 14:20:18 +01:00
test_suite_mps.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_net.data Add test for mbedtls_net_poll beyond FD_SETSIZE 2021-02-25 15:56:48 +01:00
test_suite_net.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_nist_kw.data Add AES 128-bit key dependency for tests data 2023-05-05 11:21:30 +08:00
test_suite_nist_kw.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_oid.data Merge pull request #7106 from davidhorstmann-arm/parse-oid-from-string 2023-06-06 20:57:17 +02:00
test_suite_oid.function Merge pull request #7106 from davidhorstmann-arm/parse-oid-from-string 2023-06-06 20:57:17 +02:00
test_suite_pem.data tests/test_suite_pem: Augment DES test cases with AES: PEM 2023-07-06 14:21:23 +01:00
test_suite_pem.function Use TEST_EQUAL instead of TEST_ASSERT 2023-05-03 17:47:29 +02:00
test_suite_pk.data Enforce minimum key size when generating RSA key size 2023-07-27 10:58:25 +00:00
test_suite_pk.function Enforce minimum key size when generating RSA key size 2023-07-27 10:58:25 +00:00
test_suite_pkcs1_v15.data RSA: use MD_CAN macros 2023-03-21 16:28:00 +01:00
test_suite_pkcs1_v15.function Remove legacy_or_psa.h 2023-03-21 16:29:31 +01:00
test_suite_pkcs1_v21.data RSA: use MD_CAN macros 2023-03-21 16:28:00 +01:00
test_suite_pkcs1_v21.function Remove legacy_or_psa.h 2023-03-21 16:29:31 +01:00
test_suite_pkcs5.data PKCS5: use MD_CAN macros 2023-03-21 16:28:00 +01:00
test_suite_pkcs5.function Remove legacy_or_psa.h 2023-03-21 16:29:31 +01:00
test_suite_pkcs7.data X.509: use MD_CAN macros 2023-03-21 16:28:00 +01:00
test_suite_pkcs7.function Fix missing includes 2023-07-06 12:47:28 +02:00
test_suite_pkcs12.data PKCS12: use MD_CAN macros 2023-03-21 16:28:00 +01:00
test_suite_pkcs12.function Remove legacy_or_psa.h 2023-03-21 16:29:31 +01:00
test_suite_pkparse.data test: set MBEDTLS_ECP_DP dependency also for Montgomery curves 2023-07-11 11:28:22 +02:00
test_suite_pkparse.function test: add more tests for Montgomery's invalid masks 2023-07-11 11:28:22 +02:00
test_suite_pkwrite.data test: replace occurencies of ECP_LIGHT with PK_HAVE_ECC_KEYS 2023-06-19 19:24:05 +02:00
test_suite_pkwrite.function test: optimizing test_suite_pkwrite code 2023-06-01 11:06:40 +02:00
test_suite_platform.data Remove delay milliseconds test 2023-05-05 17:03:29 +08:00
test_suite_platform.function fix wrong target detection 2023-05-06 13:45:12 +08:00
test_suite_platform_printf.data Add test cases with a question mark 2023-04-26 19:50:57 +02:00
test_suite_platform_printf.function Add test cases with a question mark 2023-04-26 19:50:57 +02:00
test_suite_platform_util.data Add tests that cover msan explicit_bzero issue 2023-03-16 12:02:15 +00:00
test_suite_platform_util.function Add explanatory comment 2023-03-16 13:43:32 +00:00
test_suite_poly1305.data Refactor optional parameter check tests 2021-05-27 17:27:14 +02:00
test_suite_poly1305.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_psa_crypto.data Enforce minimum key size when generating RSA key size 2023-07-27 10:58:25 +00:00
test_suite_psa_crypto.function Merge pull request #7902 from valeriosetti/issue7772 2023-07-25 17:13:43 +01:00
test_suite_psa_crypto_attributes.data Update PSA crypto test dependencies 2021-03-24 09:26:44 +01:00
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 test: replace RSA_KEY_PAIR_LEGACY with proper symbols 2023-07-11 14:06:00 +02:00
test_suite_psa_crypto_driver_wrappers.function lib/test: replace BASIC_IMPORT_EXPORT internal symbol with BASIC,IMPORT,EXPORT 2023-06-30 10:16:22 +02:00
test_suite_psa_crypto_entropy.data test: replace RSA_KEY_PAIR_LEGACY with proper symbols 2023-07-11 14:06:00 +02:00
test_suite_psa_crypto_entropy.function Fix copypasta in function documentation 2023-07-20 17:54:19 +02: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 Remove MD2, MD4, RC4, Blowfish and XTEA 2021-06-16 10:34:25 +02:00
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 MBEDTLS_PSA_INJECT_ENTROPY: Skip incompatible tests 2023-04-28 23:45:36 +02:00
test_suite_psa_crypto_init.function Use MD-light in entropy.c 2023-03-24 10:43:40 +01:00
test_suite_psa_crypto_metadata.data test: replace RSA_KEY_PAIR_LEGACY with proper symbols 2023-07-11 14:06:00 +02:00
test_suite_psa_crypto_metadata.function Minor adaptations after ffdh was enabled for tls1.3 2023-07-05 09:12:08 +02: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 New test suite for not-supported cases: key creation (import, generate) 2021-02-17 14:50:17 +01:00
test_suite_psa_crypto_op_fail.function Enable all keys for interruptible op fail tests 2023-03-02 16:03:43 +00:00
test_suite_psa_crypto_op_fail.misc.data test: replace RSA_KEY_PAIR_LEGACY with proper symbols 2023-07-11 14:06:00 +02:00
test_suite_psa_crypto_pake.data test: replace ECC_KEY_PAIR_LEGACY with DERIVE 2023-06-30 10:16:21 +02:00
test_suite_psa_crypto_pake.function Refactor injecting errors in the second round 2023-06-22 15:32:57 +01:00
test_suite_psa_crypto_persistent_key.data test: replace RSA_KEY_PAIR_LEGACY with proper symbols 2023-07-11 14:06:00 +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 AES 128-bit key dependency for tests data 2023-05-05 11:21:30 +08:00
test_suite_psa_crypto_se_driver_hal.function Manually fix two remaining instances of old macros 2023-03-24 10:43:40 +01:00
test_suite_psa_crypto_se_driver_hal_mocks.data Update SE support to pass a location when registering a driver 2020-05-11 11:15:26 +02:00
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 lib/test: replace BASIC_IMPORT_EXPORT internal symbol with BASIC,IMPORT,EXPORT 2023-06-30 10:16:22 +02:00
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 Fix instances of old feature macros being used 2023-03-24 10:43:40 +01:00
test_suite_random.function Use minimal include in test_suite_random 2023-07-06 12:47:29 +02:00
test_suite_rsa.data Enforce minimum key size when generating RSA key size 2023-07-27 10:58:25 +00:00
test_suite_rsa.function Remove legacy_or_psa.h 2023-03-21 16:29:31 +01:00
test_suite_shax.data Add tests for invalid paramters 2023-06-07 17:06:35 +01:00
test_suite_shax.function Fix test dependency 2023-06-07 18:27:09 +01:00
test_suite_ssl.data tls: replace occurencies of ECP_LIGHT with PK_HAVE_ECC_KEYS 2023-07-10 09:13:57 +02:00
test_suite_ssl.function Merge pull request #7848 from valeriosetti/issue7749 2023-07-18 10:33:21 +02: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 Whitespace fix 2023-03-31 18:04:34 +01:00
test_suite_version.data Bump library, libcrypto and libx509 versions 2023-03-23 10:57:39 +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 branch 'development' into mbedtls_x509_crt_parse_path-qemu-bug 2023-07-07 15:11:35 +01:00
test_suite_x509parse.function Merge branch 'development' into mbedtls_x509_crt_parse_path-qemu-bug 2023-07-07 15:11:35 +01:00
test_suite_x509write.data Add regression testcase for string_to_names() 2023-06-27 15:32:14 +01:00
test_suite_x509write.function Add missing include 2023-06-06 10:33:54 +02:00