Commit Graph

  • 242b05b7b6 Exercise string parsing in the test framework Gilles Peskine 2022-12-03 23:50:05 +01:00
  • 1780875e9b Simplify string escapes Gilles Peskine 2022-12-03 23:48:25 +01:00
  • ab56a6952b Factor get_function_info out of gen_from_test_data Gilles Peskine 2022-12-04 17:27:25 +01:00
  • f122aedb81 Add line number to a few error messages Gilles Peskine 2022-12-03 22:58:52 +01:00
  • 13e836a508 printf testing: exercise integer parsing in the test framework Gilles Peskine 2022-12-03 22:38:14 +01:00
  • af2fc50b76 Remove stdint.h substitute for older MSVC Gilles Peskine 2022-12-04 13:18:58 +01:00
  • 404923e15c Remove declarations of the nonstandard function strcasecmp Gilles Peskine 2022-12-04 13:34:50 +01:00
  • 534105044c Add guards for psa_is_dh_key_size_valid Przemek Stekiel 2023-04-28 13:18:43 +02:00
  • 14d6b1124b Merge pull request #7419 from yuhaoth/test/random-time-test-fail Gilles Peskine 2023-04-28 13:17:31 +02:00
  • 7351101704 Merge pull request #7502 from daverodgman/inline-clz Gilles Peskine 2023-04-28 13:06:47 +02:00
  • 53a9ac576d Merge pull request #7443 from mprse/psa_init_in_programs Gilles Peskine 2023-04-28 12:49:11 +02:00
  • a31c6eb509 Merge pull request #7488 from mprse/psa_init_in_programs_backport Gilles Peskine 2023-04-28 12:49:07 +02:00
  • d2e1dd098c Merge pull request #7499 from JonathanWitthoeft/development Gilles Peskine 2023-04-28 12:45:32 +02:00
  • 8388fddfdc test: use define for initializing ssl_message_queue struct Valerio Setti 2023-04-28 12:27:14 +02:00
  • 7c0f91be10 test: use define for initializing ssl_message_queue struct Valerio Setti 2023-04-28 12:20:34 +02:00
  • 6d85afa0cc Fix naming: FFDH key -> DH key and fix guard in psa_validate_key_type_and_size_for_key_generation Przemek Stekiel 2023-04-28 11:42:17 +02:00
  • 89ae9b6c3f test: fix USE_PSA_INIT position in test_suite_ssl Valerio Setti 2023-04-27 17:22:54 +02:00
  • 00a256f7b2 test: fix USE_PSA_INIT position in test_suite_ssl Valerio Setti 2023-04-27 17:22:27 +02:00
  • 0f2f996b92 change binary_string_parser for big-endian input Kusumit Ghoderao 2023-04-28 10:07:10 +05:30
  • 96074b1978 Merge pull request #7510 from daverodgman/fix-psa-aead-chacha20-test-dependency-2.28 Dave Rodgman 2023-04-27 19:14:06 +01:00
  • e93c90e881 Merge pull request #7433 from oberon-microsystems/fix-psa-aead-chacha20-test-dependency Dave Rodgman 2023-04-27 19:13:53 +01:00
  • b6ad6823f0 Update tests/suites/test_suite_psa_crypto.function Kusumit-Silabs 2023-04-27 22:42:19 +05:30
  • 771552d471 Fix PSA AEAD ChaCha20 test dependency. Stephan Koch 2023-04-11 17:54:31 +02:00
  • af0225e4de change binary_string_parser for big-endian input Kusumit Ghoderao 2023-04-27 20:06:58 +05:30
  • 914347bfa3 Don't explicitly inline mbedtls_mpi_core_clz Dave Rodgman 2023-04-27 14:20:30 +01:00
  • c6fdf1b683 Add tests with INPUT_INTEGER as key_type_arg Kusumit Ghoderao 2023-04-27 17:03:20 +05:30
  • 12e0b4b452 Use key_type_arg for determining input method Kusumit Ghoderao 2023-04-27 16:58:23 +05:30
  • a5376954ce Remove unrelated comment Kusumit Ghoderao 2023-04-27 16:57:24 +05:30
  • 4c0da51ee7 mbedtls_test_psa_exported_key_sanity_check: check for length equality for DH keys Przemek Stekiel 2023-04-27 13:04:20 +02:00
  • 2c9fc07cc4 Fix FFDH tests dependencies Przemek Stekiel 2023-04-27 12:41:32 +02:00
  • 2e7c33d530 Use import_with_data for testing FFDH invalid key length Przemek Stekiel 2023-04-27 12:29:45 +02:00
  • d1cf1bae5d Add function to validate dh key size Przemek Stekiel 2023-04-27 12:04:21 +02:00
  • d64e2493e1 test: update guards also for pkwrite and pkparse Valerio Setti 2023-04-24 13:53:21 +02:00
  • 57456b343e test: fix max value in test_mx32 Valerio Setti 2023-04-24 09:19:45 +02:00
  • 5346ef5601 test: minor fix for non-initialized variable valerio 2023-04-20 14:48:19 +02:00
  • 44570a5b66 test: fix USE_PSA_INIT/DONE for SSL test suite Valerio Setti 2023-04-19 15:10:45 +02:00
  • e7373a8a0f test: fix USE_PSA_INIT/DONE for x509 test suite Valerio Setti 2023-04-19 14:53:36 +02:00
  • 19c8196212 test: fix USE_PSA_INIT/DONE for PK test suite Valerio Setti 2023-04-19 14:25:52 +02:00
  • 5357a7a6d9 Use PSA_MAX_OF_THREE in PSA_EXPORT_KEY_PAIR_MAX_SIZE Przemek Stekiel 2023-04-27 11:22:36 +02:00
  • cf0156f3f3 mbedtls_psa_ffdh_generate_key: Fix random number generation Przemek Stekiel 2023-04-27 11:12:39 +02:00
  • 6fd72b687f Optimize code (if-else format, action on error) Przemek Stekiel 2023-04-27 10:20:56 +02:00
  • 9275d5d685 mbedtls_psa_ffdh_set_prime_generator: check if key size is equal and use sizeof Przemek Stekiel 2023-04-27 10:32:29 +02:00
  • ca4ca9a2f8 Merge pull request #7468 from mpg/review-contrib Manuel Pégourié-Gonnard 2023-04-27 10:09:30 +02:00
  • 2a878a85a6 Adjust ChangeLog JonathanWitthoeft 2023-04-26 16:17:12 -05:00
  • 16648be171 Add Curve 448 tests Paul Elliott 2023-04-23 23:19:21 +01:00
  • 47a3c82118 Enable curve 448 to be tested Paul Elliott 2023-04-23 23:18:50 +01:00
  • 9b265180cc Make mbedtls_ecdsa_can_do definition unconditional JonathanWitthoeft 2023-04-26 16:06:42 -05:00
  • 405ec94ea2 Bug Fix: mbedtls_ecdsa_verify_restartable fails with ECDSA_SIGN_ALT JonathanWitthoeft 2023-04-26 10:24:12 -05:00
  • 3b29364d61 Fix VS2022 build error Dave Rodgman 2023-04-26 21:53:30 +01:00
  • f549d9cb59 Stop supporting non-canonical case in mpi_write_string test data Gilles Peskine 2022-12-04 13:29:20 +01:00
  • 366e6859e3 Remove mbedtls_ prefix from bignum test cases Gilles Peskine 2023-04-26 22:43:54 +02:00
  • 98062a7c5d Merge pull request #7316 from yuhaoth/pr/Add-msvc-support-for-aesce-module Dave Rodgman 2023-04-26 21:27:08 +01:00
  • b70c4e07d0 Adjust code style for pointer types and casts Gilles Peskine 2023-04-26 19:59:28 +02:00
  • 2986accd20 typo Gilles Peskine 2023-04-26 19:57:46 +02:00
  • 578613322a Add test cases with a question mark Gilles Peskine 2023-04-26 19:50:57 +02:00
  • 9a75131da1 Fix wrong comment Gilles Peskine 2023-02-23 21:55:59 +01:00
  • 5472242b67 Explain the format argument expected by the test functions Gilles Peskine 2023-02-23 21:54:59 +01:00
  • fa83a7ec1e Fix typos in test descriptions Gilles Peskine 2023-02-23 21:54:06 +01:00
  • 8b32d20c50 Test the line number returned by parse_test_data Gilles Peskine 2023-02-23 20:47:24 +01:00
  • 7768a8e0a6 Remove string hack for mbedtls_mpi_mod_int testing Gilles Peskine 2022-12-04 15:58:48 +01:00
  • 6f5082bf4d Allow more signed integer types in test function arguments Gilles Peskine 2022-12-04 15:57:49 +01:00
  • 872948cc72 Support larger integer test arguments: C part Gilles Peskine 2022-12-04 15:32:54 +01:00
  • 4ea4ad082b parse_function_arguments: stricter type parsing Gilles Peskine 2022-12-04 15:11:00 +01:00
  • 47e2e8817d Support (void) as an argument list of a test function Gilles Peskine 2022-12-04 14:29:06 +01:00
  • 096f0ca7e5 parse_function_arguments: extract per-argument function Gilles Peskine 2022-12-04 14:10:39 +01:00
  • 400cde607b parse_function_arguments: make local_vars a list Gilles Peskine 2022-12-04 14:00:32 +01:00
  • b3c2eaf00f Support different types in the parameter store Gilles Peskine 2022-12-04 13:10:55 +01:00
  • 5226eb5cd3 Simplify parsing of integers in .datax files Gilles Peskine 2022-12-04 00:28:56 +01:00
  • a9946952b4 Exercise string parsing in the test framework Gilles Peskine 2022-12-03 23:50:05 +01:00
  • 1a24895bfd Simplify string escapes Gilles Peskine 2022-12-03 23:48:25 +01:00
  • ca25deee12 Factor get_function_info out of gen_from_test_data Gilles Peskine 2022-12-04 17:27:25 +01:00
  • 8542f5c81f Add line number to a few error messages Gilles Peskine 2022-12-03 22:58:52 +01:00
  • bc3db2e30a printf testing: exercise integer parsing in the test framework Gilles Peskine 2022-12-03 22:38:14 +01:00
  • 187932639b Remove stdint.h substitute for older MSVC Gilles Peskine 2022-12-04 13:18:58 +01:00
  • 6c607e5a55 Remove declarations of the nonstandard function strcasecmp Gilles Peskine 2022-12-04 13:34:50 +01:00
  • 017f0b7369 Stop supporting non-canonical case in mpi_write_string test data Gilles Peskine 2022-12-04 13:29:20 +01:00
  • c787cf73b3 bignum_core.py: Add "BignumCoreShiftL()" Minos Galanakis 2023-04-25 12:13:25 +01:00
  • 503f487cbe Merge pull request #7469 from xkqian/2.28/bignumber_update_comments Tom Cosgrove 2023-04-26 16:22:09 +01:00
  • 09d23786f6 Merge pull request #7429 from xkqian/bignumber_update_comments Tom Cosgrove 2023-04-26 16:21:56 +01:00
  • 19c6f47dbc Allocate the right amount of memory Gabor Mezei 2023-04-26 15:22:11 +02:00
  • fead53311b Remove unused macro Gabor Mezei 2023-04-26 15:20:01 +02:00
  • 03367fe42d Ignore carry since it can not be generated Gabor Mezei 2023-04-24 16:34:29 +02:00
  • d2c0ba172c Fix value in comment Gabor Mezei 2023-04-24 16:33:17 +02:00
  • 7097447b84 Ensure input parameter size for Koblitz reduction Gabor Mezei 2023-04-21 17:28:25 +02:00
  • 8183c5dcc3 Use core API in ecp_mod_koblitz() Gabor Mezei 2023-04-20 15:50:59 +02:00
  • b6ff8a2c4b Add ChangeLog entry for string-to-OID parsing David Horstmann 2023-04-26 12:10:36 +01:00
  • 9643575d92 Limit OIDs to 128 components David Horstmann 2023-04-26 11:50:14 +01:00
  • db368dea88 fix clang test fail Jerry Yu 2023-04-26 16:55:37 +08:00
  • 91a618375a Merge pull request #7427 from minosgalanakis/ecp/7258_ecp_mod_p256K1_add_test_cases Janos Follath 2023-04-26 08:52:24 +01:00
  • 654bef0be0 Fix typos, comments, style, optimize macros Przemek Stekiel 2022-12-15 13:28:02 +01:00
  • 87d9a4a30c Provide PSA_WANT_KEY_TYPE_FFDH_PUBLIC_KEY configuration Przemek Stekiel 2022-12-15 13:22:11 +01:00
  • c829816fb6 psa_export_public_key_internal: add missing check for FFDH key type Przemek Stekiel 2022-12-05 15:11:49 +01:00
  • a9ca13136c Move check of the key type to mbedtls_psa_key_agreement_ffdh Przemek Stekiel 2022-12-05 15:02:32 +01:00
  • 0dd746d998 Add psa_crypto_ffdh to build Przemek Stekiel 2022-12-05 14:17:17 +01:00
  • 1702d5a1f4 test driver: add support for FFDH key agreement Przemek Stekiel 2022-12-05 14:12:51 +01:00
  • 359f4625a3 Move FFDH layer to separate file Przemek Stekiel 2022-12-05 14:11:55 +01:00
  • 7cf26dfca3 Add sanity check for FFDH key excercise Przemek Stekiel 2022-12-01 15:09:40 +01:00
  • 9e65a81ef8 Remove redundant test case (PSA_ALG_FFDH key agreement is now supported) Przemek Stekiel 2022-12-01 15:08:32 +01:00
  • b231c9dd23 Add FFDH key agreement tests Przemek Stekiel 2022-12-01 15:06:15 +01:00
  • 564eb5864b Add FFDH key generation tests Przemek Stekiel 2022-12-01 15:05:56 +01:00