Commit Graph

  • bfe54d703d Cleanup: rm all files generated by cmake Manuel Pégourié-Gonnard 2021-09-09 11:11:44 +02:00
  • 389150d4db Cleanup: remove *.datax files with CMake Manuel Pégourié-Gonnard 2021-09-09 10:51:16 +02:00
  • e90e405e15 Introduce "Dev mode" option Manuel Pégourié-Gonnard 2021-09-08 13:27:09 +02:00
  • 313bcfcde8 Stop writing to the source tree. Manuel Pégourié-Gonnard 2021-09-07 12:16:49 +02:00
  • ce3ba8f030 Allow CMake to run generate_psa_tests Manuel Pégourié-Gonnard 2021-05-14 12:03:37 +02:00
  • a9cb894168 Add --directory option to generate_psa_tests.py Manuel Pégourié-Gonnard 2021-05-14 11:37:09 +02:00
  • 42681f3bd0 Improve formatting of CMake file Manuel Pégourié-Gonnard 2021-05-14 10:53:43 +02:00
  • 15a42c3e26 Allow CMake to generate psa_constant_names_generated.c Manuel Pégourié-Gonnard 2021-05-14 10:33:32 +02:00
  • 86cfa6c27f Allow CMake to generate query_config.c Manuel Pégourié-Gonnard 2021-05-14 10:07:33 +02:00
  • 3a8413d316 Allow generate_query_config.pl to take arguments Manuel Pégourié-Gonnard 2021-05-14 09:23:57 +02:00
  • aedca0c993 Simplify source declarations in ssl/CMakeLists.txt Manuel Pégourié-Gonnard 2021-05-11 13:45:54 +02:00
  • 65a7203119 Allow cmake to generate version_features.c Manuel Pégourié-Gonnard 2021-05-11 13:02:44 +02:00
  • cbdedc54b9 Allow cmake to generate error.c Manuel Pégourié-Gonnard 2021-05-11 12:47:30 +02:00
  • 188468b5f4 Add reference link for Random definition Jerry Yu 2021-10-25 10:48:24 +08:00
  • ad3a113fc6 Remove MBEDTLS_SSL_EXPORT_KEYS Jerry Yu 2021-10-25 10:46:43 +08:00
  • 7a186a0cbf fix comment issue Jerry Yu 2021-10-15 18:46:14 +08:00
  • 337d5318ae replace md_max_size with tls13_md_max_size Jerry Yu 2021-10-15 10:09:05 +08:00
  • 745bb616a4 Fix format issue and enhance test Jerry Yu 2021-10-13 22:01:04 +08:00
  • 193f0e7449 fix build fail on tls1_3_md_max_size Jerry Yu 2021-10-13 18:33:13 +08:00
  • b85277e3af Address various issues Jerry Yu 2021-10-13 13:36:05 +08:00
  • 435208a949 Improve generate_handshake_keys Jerry Yu 2021-10-13 11:22:16 +08:00
  • f532bb2577 Change MD size for tls13 keys Jerry Yu 2021-10-13 10:34:03 +08:00
  • c068b6671e Rename tls13 prefix to fix coding issues Jerry Yu 2021-10-11 22:30:19 +08:00
  • 4a1733831e fix various issues Jerry Yu 2021-10-11 21:45:31 +08:00
  • f0ac2352d6 Refactor key_schedule_stage_handshake Jerry Yu 2021-10-11 17:47:07 +08:00
  • 5ccfcd4ca1 Add local variable to represent handshake Jerry Yu 2021-10-11 16:39:29 +08:00
  • 42920ec5a5 tls1_3:skip handshake msg test with PSA_CRYPTO Jerry Yu 2021-09-28 14:31:15 +08:00
  • de4fb2cc34 Apply check read ptr macro Jerry Yu 2021-09-19 18:05:08 +08:00
  • fd532e506b fix set key exchange mode issue Jerry Yu 2021-09-19 15:57:53 +08:00
  • 4ae2d62cce Improve tls13 handshake test Jerry Yu 2021-09-15 15:34:56 +08:00
  • 0b17784932 Add finalize function Jerry Yu 2021-09-05 19:41:30 +08:00
  • e1b9c297b9 Add read_server_hello Jerry Yu 2021-09-10 10:08:31 +08:00
  • 1efa815db7 tls13: add ecdh_read_public Jerry Yu 2021-09-09 15:42:32 +08:00
  • a0650ebb9d tls13: add handshake key schedule Jerry Yu 2021-09-09 17:14:45 +08:00
  • 61e35e0047 tls13: add generate handshake keys Jerry Yu 2021-09-16 18:59:08 +08:00
  • 9bb56dc6be Add return info to sha256 docs Aaron Erhardt 2021-10-22 22:05:10 +02:00
  • a5a2399cb0 Remove mode param from AES-CTR docs Aaron Erhardt 2021-10-22 22:05:04 +02:00
  • 1893cd3f91 Merge pull request #5104 from gilles-peskine-arm/test_equal_verbose-2.x Gilles Peskine 2021-10-22 17:25:11 +02:00
  • f7946a6210 Merge pull request #5091 from gilles-peskine-arm/test_equal_verbose Gilles Peskine 2021-10-22 17:25:03 +02:00
  • 61a8b2daf2 Add changelog entry for CCM*-no-tag. Mateusz Starzyk 2021-10-21 11:46:42 +02:00
  • b436649a25 Show values when TEST_EQUAL fails Gilles Peskine 2021-04-29 20:28:54 +02:00
  • ba20fc98b8 Fix issues pointed by CI Przemyslaw Stekiel 2021-10-22 10:39:56 +02:00
  • 30bd7fa607 Change error code for MBEDTLS_ERR_GCM_BUFFER_TOO_SMALL. Mateusz Starzyk 2021-10-22 10:33:25 +02:00
  • 437da19f4f Remove unused param and duplicated test cases Przemyslaw Stekiel 2021-10-20 11:59:50 +02:00
  • 2400b50250 Add revision validation and escape filenames Xiaofei Bai 2021-10-21 12:22:58 +00:00
  • e05e126933 Remove bash specific code Paul Elliott 2021-10-20 15:59:33 +01:00
  • 33d01ffe60 Remove redundant value assignemnt to olen. Mateusz Starzyk 2021-10-21 14:55:59 +02:00
  • 8132c2ff46 Address review comments Przemyslaw Stekiel 2021-10-21 12:26:58 +02:00
  • ed71e92730 Add tests for CCM*-no-tag. Mateusz Starzyk 2021-10-21 10:04:57 +02:00
  • 594215be6e Add support for CCM*-no-tag to PSA. Mateusz Starzyk 2021-10-14 12:23:06 +02:00
  • bb2ced33dd Ignore plaintext length for CCM*-no-tag. Mateusz Starzyk 2021-10-13 13:37:30 +02:00
  • 3712501465 Move is-it-resend logic into a function Gilles Peskine 2021-10-20 14:17:02 +02:00
  • 838902547c Retry if a test case fails because of an unexpected resend Gilles Peskine 2021-10-19 18:00:10 +02:00
  • e31a9ea601 Move retry logic into check_test_failure Gilles Peskine 2021-10-19 17:23:25 +02:00
  • ad58e92eac Move the core loop of run_test into an auxiliary function Gilles Peskine 2021-10-19 16:35:35 +02:00
  • 342147a8a8 Move some code of run_test into auxiliary functions Gilles Peskine 2021-10-19 16:25:10 +02:00
  • 87b036f572 Add trivial record_outcome function to facilitate backports Gilles Peskine 2021-10-21 11:11:51 +02:00
  • 30b8132ca9 Remove redundant "should we skip?" block Gilles Peskine 2021-10-21 11:20:27 +02:00
  • aa1d6ad9d2 Move is-it-resend logic into a function Gilles Peskine 2021-10-20 14:17:02 +02:00
  • 2d3c9f898b Retry if a test case fails because of an unexpected resend Gilles Peskine 2021-10-19 18:00:10 +02:00
  • a28fd41ed1 Move retry logic into check_test_failure Gilles Peskine 2021-10-19 17:23:25 +02:00
  • 5d8e702ab8 Move the core loop of run_test into an auxiliary function Gilles Peskine 2021-10-19 16:35:35 +02:00
  • f9022b056b Move some code of run_test into auxiliary functions Gilles Peskine 2021-10-19 16:25:10 +02:00
  • 80b31c56eb Run the PSA Compliance test suite in all.sh Bence Szépkúti 2021-10-19 15:05:36 +02:00
  • 9e98573ca2 fix build fail with MBEDTLS_DEPRECATED Brett Warren 2021-10-19 22:16:51 +01:00
  • 3a96d09898 export MBEDTLS_DEPRECATED from platform_util.h Brett Warren 2021-10-19 22:01:12 +01:00
  • 788ad339b8 Move is-it-resend logic into a function Gilles Peskine 2021-10-20 14:17:02 +02:00
  • bca03e5f7d Add code size comparison script. Xiaofei Bai 2021-09-09 09:42:37 +00:00
  • 22c9a6fccc Rename internal header constant_time.h to constant_time_internal.h Gabor Mezei 2021-10-20 12:09:35 +02:00
  • 90437e3762 Rename constant-time functions to have mbedtls_ct prefix Gabor Mezei 2021-10-20 11:59:27 +02:00
  • 53dd04c13b Remove unneeded include Gabor Mezei 2021-10-20 11:19:16 +02:00
  • 116cd6a6b4 Fix documentation Gabor Mezei 2021-10-20 11:18:37 +02:00
  • 6a426c9f9f Bind functions' availability for config options Gabor Mezei 2021-10-20 11:17:43 +02:00
  • 8d468e4ee8 Remove key generation when given argument is invalid from NotSupported class Przemyslaw Stekiel 2021-10-18 14:58:20 +02:00
  • 1b0978b803 Add test class for key generation Przemyslaw Stekiel 2021-10-15 15:21:51 +02:00
  • a093d76a26 Update generated files Gilles Peskine 2021-10-19 22:39:45 +02:00
  • 89615eefe7 Show values when TEST_EQUAL fails Gilles Peskine 2021-04-29 20:28:54 +02:00
  • 9202ba37b1 Merge pull request #4960 from mpg/cleanup-tls-cipher-psa-3.x Gilles Peskine 2021-10-19 21:59:15 +02:00
  • 77624b2bd8 Always set a build type for cmake when building for testing Gilles Peskine 2021-10-19 21:33:32 +02:00
  • e7fc7ef38b Always set a build type for cmake when building for testing Gilles Peskine 2021-10-19 21:33:32 +02:00
  • 58ed8a7594 Remove use of -p with lsof Paul Elliott 2021-10-19 17:56:39 +01:00
  • f11d30ecda Retry if a test case fails because of an unexpected resend Gilles Peskine 2021-10-19 18:00:10 +02:00
  • 0e3534c67b Move retry logic into check_test_failure Gilles Peskine 2021-10-19 17:23:25 +02:00
  • 196d73bc1b Move the core loop of run_test into an auxiliary function Gilles Peskine 2021-10-19 16:35:35 +02:00
  • 236bf98cfd Move some code of run_test into auxiliary functions Gilles Peskine 2021-10-19 16:25:10 +02:00
  • 765862c4f3 Move mbedtls_cf_memcmp to a new public header Gabor Mezei 2021-10-19 12:22:25 +02:00
  • 291df7bbab Add macro guard for header file Gabor Mezei 2021-10-19 11:27:17 +02:00
  • 13236707a2 Fix cmake invocation syntax Gilles Peskine 2021-10-08 11:45:47 +02:00
  • 858373a26e Switch cmake -O2 builds around to where we test a lot Gilles Peskine 2021-10-07 19:34:57 +02:00
  • 3638a962bc Clarify a comment Gilles Peskine 2021-10-07 19:27:16 +02:00
  • 2ae243139d Correct support function name Gilles Peskine 2021-10-07 19:25:29 +02:00
  • c1317759f2 Build with -O2 when running ssl-opt Gilles Peskine 2021-10-05 09:36:03 +02:00
  • e212379810 Bind functions' availability for config options Gabor Mezei 2021-10-18 17:05:06 +02:00
  • 6210320215 Merge pull request #4989 from AndrzejKurek/remove-ssl-export-keys Gilles Peskine 2021-10-18 17:53:56 +02:00
  • e7997c494b Merge pull request #5085 from daverodgman/fix_naming Gilles Peskine 2021-10-18 17:52:07 +02:00
  • a686bf46f7 Merge pull request #5083 from mprse/issue_5065_2x Gilles Peskine 2021-10-18 17:51:53 +02:00
  • bf21c07923 Merge pull request #5072 from mprse/issue_5065 Gilles Peskine 2021-10-18 17:51:50 +02:00
  • 949455892f Remove unused function Gabor Mezei 2021-10-18 17:02:29 +02:00
  • a2d0f90c5a Make functions static Gabor Mezei 2021-10-18 16:35:23 +02:00
  • a316fc8eb0 Update documentation and comments Gabor Mezei 2021-10-18 16:28:27 +02:00