Commit Graph

  • b03420fb3b Clarify documentation Werner Lewis 2022-08-25 12:29:46 +01:00
  • b29f59f5ff Disable abstract check in pylint Werner Lewis 2022-08-25 11:17:35 +01:00
  • 412c497cbe Fix TARGET types and code style Werner Lewis 2022-08-25 10:02:06 +01:00
  • d77d33defb Raise NotImplementedError in abstract methods Werner Lewis 2022-08-25 09:56:51 +01:00
  • 486d25850f Disable pylint unused arg in __new__ Werner Lewis 2022-08-24 18:09:10 +01:00
  • 478a4ce1fe Use typing casts for fixed-width tuples Werner Lewis 2022-08-24 18:03:30 +01:00
  • 9509f44d79 Add missing typing Werner Lewis 2022-08-24 17:46:22 +01:00
  • 6d04142972 Remove trailing whitespace in description Werner Lewis 2022-08-24 17:20:29 +01:00
  • cace1aa02e Use __new__() for case counting Werner Lewis 2022-08-24 17:04:07 +01:00
  • c34d037fa0 Split generate_tests to reduce code complexity Werner Lewis 2022-08-24 12:42:00 +01:00
  • 47e37b3b75 Use ABCMeta for abstract classes Werner Lewis 2022-08-24 12:18:25 +01:00
  • 008d90d424 Add details to docstrings Werner Lewis 2022-08-23 16:07:37 +01:00
  • 1c2a732203 Convert bools to int before arithmetic Werner Lewis 2022-08-24 16:37:44 +01:00
  • 02998c470a Remove unneeded list concatenation Werner Lewis 2022-08-23 16:07:19 +01:00
  • 70d3f3dcdc Remove abbreviations and clarify attributes Werner Lewis 2022-08-23 14:21:53 +01:00
  • dcad1e93fe Separate common test generation classes/functions Werner Lewis 2022-08-24 11:30:03 +01:00
  • 92bb1cd8cb Fix incorrect indentation Werner Lewis 2022-07-20 15:16:50 +01:00
  • f0910ae380 Remove is None from if statement Werner Lewis 2022-07-20 14:45:23 +01:00
  • d76c5edc8e Fix type issues Werner Lewis 2022-07-20 14:13:44 +01:00
  • 1bdee226e3 Remove set() to preserve test case order Werner Lewis 2022-07-20 13:35:53 +01:00
  • 1c413bda51 Sort tests when generating cases Werner Lewis 2022-07-20 13:35:22 +01:00
  • 5c1173bc1b Add test case generation for bignum add Werner Lewis 2022-07-18 17:22:58 +01:00
  • 423f99bcef Add test generation for bignum cmp variant Werner Lewis 2022-07-18 15:49:43 +01:00
  • 545911f751 Add bignum test generation framework Werner Lewis 2022-07-08 13:54:57 +01:00
  • 9370612312 remove certificate setting from psk_ephemeral HRR test Jerry Yu 2022-09-21 22:44:24 +08:00
  • 2fdc7b3599 Return an error from mbedtls_ssl_handshake_step() if neither client nor server Tom Cosgrove 2022-09-21 12:33:17 +01:00
  • 119eae2e51 Update names of test cases in generate_bignum_tests.py Tom Cosgrove 2022-09-21 12:19:18 +01:00
  • c573882674 Merge remote-tracking branch 'upstream/development' into issue-6015-montgomery-multiplication Tom Cosgrove 2022-09-21 12:08:43 +01:00
  • e9ff465709 Merge pull request #6302 from davidhorstmann-arm/2.28-syntax-highlighting-function-files Manuel Pégourié-Gonnard 2022-09-21 10:52:17 +02:00
  • e5833c182c Merge pull request #6300 from davidhorstmann-arm/syntax-highlighting-function-files Manuel Pégourié-Gonnard 2022-09-21 10:52:14 +02:00
  • d433cd7d07 Merge pull request #6283 from mpg/driver-only-hashes-wrap-up Manuel Pégourié-Gonnard 2022-09-21 08:29:46 +02:00
  • 2db49df44b Add psk_ephemeral HRR tests Jerry Yu 2022-09-21 11:03:28 +08:00
  • 36e1d9ef1d Merge pull request #6203 from wernerlewis/ecp_group_test Dave Rodgman 2022-09-20 17:35:53 +01:00
  • 6af9ad321c Use GitHub C syntax highlighting on test files David Horstmann 2022-09-20 13:22:07 +01:00
  • 50969e3af5 ssl-opt.sh: TLS 1.3 opaque key: Add test with unsuitable sig alg Ronald Cron 2022-09-16 15:54:33 +02:00
  • 4ecb1b500b Fix missing file name in changelog Paul Elliott 2022-09-20 14:33:13 +01:00
  • 4782823ec3 Ensure we explicitly document the modulus for fixed-width arithmetic Tom Cosgrove 2022-09-20 13:51:50 +01:00
  • b0b77e1b13 Document and test aliasing of the bignums given to mbedtls_mpi_core_mla() Tom Cosgrove 2022-09-20 13:33:40 +01:00
  • b5d884815c Use GitHub C syntax highlighting on test files David Horstmann 2022-09-20 13:22:07 +01:00
  • 277cdcbcde ssl-opt.sh: tls13 opaque key: Enable client authentication Ronald Cron 2022-09-16 16:57:20 +02:00
  • e3196d270c ssl-opt.sh: tls13 opaque key: Do not force version on client side Ronald Cron 2022-09-16 16:43:35 +02:00
  • 6ec2123bf3 ssl-opt.sh: Align prefix of TLS 1.3 opaque key tests Ronald Cron 2022-09-16 16:41:53 +02:00
  • 067a1e735e tls13: Try reasonable sig alg for CertificateVerify signature Ronald Cron 2022-09-16 13:44:49 +02:00
  • 38391bf9b6 tls13: Do not impose minimum hash size for RSA PSS signatures Ronald Cron 2022-09-16 11:19:27 +02:00
  • 67ea2543ed tls13: server: Add sig alg checks when selecting best certificate Ronald Cron 2022-09-15 17:34:42 +02:00
  • ea45c1d2d4 Document and test aliasing of output for mbedtls_mpi_core_montmul() Tom Cosgrove 2022-09-20 13:17:51 +01:00
  • 2b984dea77 Restore vbuf value after modification Werner Lewis 2022-09-20 12:05:00 +01:00
  • 05feee1841 Restore vbuf value after modification Werner Lewis 2022-09-20 12:05:00 +01:00
  • 9a3463c9b7 Add explicit mbedtls_ecp_tls_read_group_id call Werner Lewis 2022-09-20 10:00:07 +01:00
  • c1498b3eb0 Add leading zeros to group metadata Werner Lewis 2022-09-20 09:16:50 +01:00
  • fad4030f90 Fix typo in MBEDTLS_ECP_DP_BP512R1 Werner Lewis 2022-09-20 09:16:11 +01:00
  • ccae25b4bf Add explicit mbedtls_ecp_tls_read_group_id call Werner Lewis 2022-09-20 10:00:07 +01:00
  • 7403d93f8a Add leading zeros to group metadata Werner Lewis 2022-09-20 09:16:50 +01:00
  • 57807308d5 Fix typo in MBEDTLS_ECP_DP_BP512R1 Werner Lewis 2022-09-20 09:16:11 +01:00
  • f2b3818a69 Test when all three inputs to mbedtls_mpi_core_sub() are aliased Tom Cosgrove 2022-09-20 09:08:31 +01:00
  • c155415f04 Merge branch 'Mbed-TLS:development' into codegen_1.1 Asfandyar Orakzai 2022-09-19 12:34:40 +02:00
  • b4e28aa2f7 Fix two typos Manuel Pégourié-Gonnard 2022-09-19 11:55:00 +02:00
  • 1367f40d38 Fix memory corruption in an SSL test function Manuel Pégourié-Gonnard 2022-09-19 11:00:23 +02:00
  • 3c16abebd4 Fix dependencies of KEY_EXCHANGE_ECJPAKE Manuel Pégourié-Gonnard 2022-09-19 10:44:42 +02:00
  • 73f9233a73 Use full config for testing driver-only hashes Manuel Pégourié-Gonnard 2022-09-19 10:38:46 +02:00
  • ac6f650a9f fixed formating Asfandyar Orakzai 2022-09-19 10:03:05 +02:00
  • 79e1467799 Fix include path for programs Manuel Pégourié-Gonnard 2022-09-19 09:27:53 +02:00
  • 7a51305478 Add multi-session tickets test Jerry Yu 2022-08-09 13:34:21 +08:00
  • d4e7500a07 Enable multi session tickets on Server Jerry Yu 2022-08-09 13:33:50 +08:00
  • 1ad7ace6b7 Add conf new session tickets Jerry Yu 2022-08-09 13:28:39 +08:00
  • cca6ce8829 Fix directory mixup with generated data files Gilles Peskine 2022-09-18 23:08:38 +02:00
  • e188734f51 Don't use parallel jobs for pylint Gilles Peskine 2022-09-18 21:27:37 +02:00
  • be0224aef3 Merge pull request #6167 from yuhaoth/pr/finalize-tls13-session-tickets Ronald Cron 2022-09-18 21:18:13 +02:00
  • d9071e7d96 Unify check_repo_path Gilles Peskine 2022-09-18 21:17:09 +02:00
  • ef843f2b0c MBEDTLS_PLATFORM_VSNPRINTF_ALT requires MBEDTLS_PLATFORM_C Gilles Peskine 2022-09-18 14:05:23 +02:00
  • 4ca4a930a9 fixed opaque schemas paths Asfandyar Orakzai 2022-09-18 12:37:53 +02:00
  • 9e6170d95e added some doc strings and fixed formating Asfandyar Orakzai 2022-09-17 23:37:16 +02:00
  • 5c9569a2bc fixed formating Asfandyar Orakzai 2022-09-17 23:13:52 +02:00
  • 4c93bb52ef removed changed made to the test/bionic/Dockerfile Asfandyar Orakzai 2022-09-17 22:20:33 +02:00
  • de08803170 refactored and addressed reviewer observations in generate_driver_wrappers.py Asfandyar Orakzai 2022-09-17 22:07:58 +02:00
  • b549776a23 Merge branch 'Mbed-TLS:development' into codegen_1.1 asfand-silabs 2022-09-17 19:54:01 +02:00
  • 15997bd389 Use relative imports when importing other modules in the same directory Gilles Peskine 2022-09-16 22:35:18 +02:00
  • 4537d6d838 Move implementation detail from docstring to comment Gilles Peskine 2022-09-16 22:26:38 +02:00
  • 7b3fa657af generate_*_tests.py --directory: fix handling of relative path Gilles Peskine 2022-09-16 22:22:53 +02:00
  • 049042586e Clarify the descriptions of test-case-data-related modules Gilles Peskine 2022-09-16 22:02:37 +02:00
  • 64f2efdc40 More precise name for test data generation Gilles Peskine 2022-09-16 21:41:47 +02:00
  • 1716f06ee3 Merge pull request #6093 from wernerlewis/bignum_test_script Gilles Peskine 2022-09-17 10:37:26 +02:00
  • 7763829c5c Add missing ifdef when calculating operation capacity Andrzej Kurek 2022-09-16 12:24:52 -04:00
  • c2fb540c67 Use a script specific description in CLI help Werner Lewis 2022-09-16 17:03:54 +01:00
  • 9512bde5c3 pkcs7: Fix pkcs7 error code values Nick Child 2022-09-16 09:49:06 -05:00
  • 3c4c514302 Remove PSA_ALG_IS_TLS12_ECJPAKE_TO_PMS Andrzej Kurek 2022-09-16 07:24:14 -04:00
  • 1fafb1f778 Documentation clarifications for ECJPAKE-to-PMS Andrzej Kurek 2022-09-16 07:19:49 -04:00
  • 1be45825ab Remove useless guard around include Manuel Pégourié-Gonnard 2022-09-16 13:18:36 +02:00
  • 2be1689504 Add capacity testing to EC J-PAKE to PMS tests Andrzej Kurek 2022-09-16 07:14:04 -04:00
  • b093650033 Add proper capacity calculation for EC J-PAKE to PMS KDF Andrzej Kurek 2022-09-16 07:13:00 -04:00
  • 39452a8ca4 fixed formating of driver generator script Asfandyar Orakzai 2022-09-16 13:02:06 +02:00
  • d37850404a Add derivation step testing to EC J-PAKE to PMS tests Andrzej Kurek 2022-09-16 06:45:44 -04:00
  • 702776f7cc Restrict the EC J-PAKE to PMS input type to secret Andrzej Kurek 2022-09-16 06:22:44 -04:00
  • ad4d2bb3e1 Exclude pre_shared_key for HRR Jerry Yu 2022-09-14 22:40:35 +08:00
  • 138387fc8c Fix some typos, improve wording & formatting Manuel Pégourié-Gonnard 2022-09-16 09:45:43 +02:00
  • d18c24b166 EC J-PAKE is now implemented in PSA Manuel Pégourié-Gonnard 2022-09-15 12:29:28 +02:00
  • c998e43eb4 Add ChangeLog entry about driver-only hashes. Manuel Pégourié-Gonnard 2022-09-15 12:26:32 +02:00
  • 72687b76ca Clarify dependencies in mbedtls_config.h Manuel Pégourié-Gonnard 2022-09-15 12:23:58 +02:00
  • f17f85ef0c Simplify definition of TLS 1.3 MD max size. Manuel Pégourié-Gonnard 2022-09-15 11:49:04 +02:00
  • e896705c1a Take advantage of legacy_or_psa.h being public Manuel Pégourié-Gonnard 2022-09-15 11:41:16 +02:00