Commit Graph

  • e269750f0d sha: fix description for starts functions Valerio Setti 2022-12-23 14:29:54 +01:00
  • 77b1452784 test: fix error in test_suite_ssl Valerio Setti 2022-12-23 10:53:06 +01:00
  • 676766ff77 Merge pull request #6776 from gabor-mezei-arm/6222_bignum_mod_mul Manuel Pégourié-Gonnard 2022-12-23 10:39:30 +01:00
  • 2fcb4c1d06 Merge pull request #6747 from gilles-peskine-arm/bignum-mod-random Manuel Pégourié-Gonnard 2022-12-23 10:36:22 +01:00
  • 68968f4d66 Require a space after a cast Gilles Peskine 2022-12-22 23:18:30 +01:00
  • e19d7e5141 Require a space after a cast Gilles Peskine 2022-12-22 23:18:30 +01:00
  • 38f514dbc2 Support restyling only the specified files Gilles Peskine 2022-12-22 16:34:01 +01:00
  • 59803dba2b Support restyling only the specified files Gilles Peskine 2022-12-22 16:34:01 +01:00
  • fe6c19b69c added changelog file for PR #6784 Valerio Setti 2022-12-22 15:05:27 +01:00
  • 65287636f8 config: remove SHA224_C from some config files Valerio Setti 2022-12-22 14:29:40 +01:00
  • b6bf7dcc28 test: fix depends.py for hash tests Valerio Setti 2022-12-22 14:28:03 +01:00
  • 543d00ef6f sha: remove SHA1 from ssl_cookie Valerio Setti 2022-12-22 14:27:34 +01:00
  • d55cb5b3f0 sha: decline MD defines for various SHA Valerio Setti 2022-12-22 14:26:55 +01:00
  • d10e0a6341 sha: fix minor issues/typos Valerio Setti 2022-12-22 14:25:26 +01:00
  • 2510dd41bf Merge pull request #6282 from gstrauss/sw_derive_y Manuel Pégourié-Gonnard 2022-12-22 10:20:31 +01:00
  • 5efe449a6a More robust dependency filtering Gilles Peskine 2022-12-21 20:33:30 +01:00
  • f287366376 Simplify logic and document test_cases_for_values Gilles Peskine 2022-12-21 20:28:29 +01:00
  • 394da2d857 Pacify pylint Gilles Peskine 2022-12-21 20:20:44 +01:00
  • 6d40e54db0 Split the high nesting of BignumModRawConvertRep.generate_function_tests Gilles Peskine 2022-12-21 20:18:23 +01:00
  • 636809f2b9 Fix type declaration Gilles Peskine 2022-12-21 20:12:31 +01:00
  • 342b9a903d bignum_mod_raw.py: Added a filtering logic to BignumModRawConvertRep.generate_function_tests() Minos Galanakis 2022-12-21 17:41:30 +00:00
  • afa7c04105 bignum_common.py: Refactored BignumModRawConvertRep.generate_function_tests() Minos Galanakis 2022-12-21 17:38:16 +00:00
  • ae4d2cf3e3 bignum_common.py: Introduce the set_representation setter. Minos Galanakis 2022-12-21 17:34:15 +00:00
  • 5689410083 bignum_mod_raw: Simplified BignumModRawCanonicalToFromModulusRep output expressions. Minos Galanakis 2022-12-21 17:31:56 +00:00
  • 3d2aab891b bignum_common: Adjusted format_arg to always size input according to modulo. Minos Galanakis 2022-12-21 17:30:10 +00:00
  • f65c71fbe6 Fix possible uninitialization error Gabor Mezei 2022-12-21 11:54:22 +01:00
  • a6e0291c51 Update documentation Manuel Pégourié-Gonnard 2022-12-21 09:59:33 +01:00
  • 3b1a706935 Disable 'wrong salt len' test with USE_PSA Manuel Pégourié-Gonnard 2022-06-28 12:47:44 +02:00
  • 4dacf58d6d Take advantage of now-public macro in pk.c Manuel Pégourié-Gonnard 2022-06-10 12:50:00 +02:00
  • 6958355a51 Use PSA Crypto more often in pk_verify_ext() Manuel Pégourié-Gonnard 2022-06-10 12:46:46 +02:00
  • 8ee18d3787 Merge pull request #6798 from gilles-peskine-arm/check_test_cases-quiet_ci-2.28 Manuel Pégourié-Gonnard 2022-12-21 09:42:59 +01:00
  • eab43a62c3 Merge pull request #6795 from gilles-peskine-arm/check_test_cases-quiet_ci Manuel Pégourié-Gonnard 2022-12-21 09:42:41 +01:00
  • ad335b55ff Fix representation conversion with 32-bit limbs Gilles Peskine 2022-12-20 22:39:15 +01:00
  • 4c950d5ff1 Cosmetic fix Gilles Peskine 2022-12-20 22:02:55 +01:00
  • d1aa75d7b2 Update of the RNG seed in mpi_mod_random_values Gilles Peskine 2022-12-20 22:01:27 +01:00
  • e1d8326e90 Fix representation of mod-random output Gilles Peskine 2022-12-20 19:31:09 +01:00
  • be69c7d559 Generate test cases for mpi_mod_raw_modulus_to_canonical_rep as well Gilles Peskine 2022-12-20 19:51:22 +01:00
  • 23636aca98 Generate test cases for mpi_mod_raw_canonical_to_modulus_rep Gilles Peskine 2022-12-20 19:30:47 +01:00
  • e655479528 Generalize representation handling in mbedtls_mpi_mod_read Gilles Peskine 2022-12-20 19:24:27 +01:00
  • eb2e77f617 Document modulus representation selectors Gilles Peskine 2022-12-20 19:22:44 +01:00
  • 1e2a4d4089 Functions to convert raw residues to/from the modulus representation Gilles Peskine 2022-12-20 19:21:17 +01:00
  • 7a708fd49f Helpers for generating representation-aware test cases Gilles Peskine 2022-12-20 19:19:18 +01:00
  • 5623ecc2d6 Mod operations: fill arguments to the width of the modulus Gilles Peskine 2022-12-20 19:16:54 +01:00
  • f8a4463bd6 Add some missing type annotations Gilles Peskine 2022-12-20 19:12:22 +01:00
  • c377f31ad9 Remove unused import Gilles Peskine 2022-12-20 19:13:42 +01:00
  • 78c4fb4551 Fix possible uninitialization error Gabor Mezei 2022-12-20 18:09:49 +01:00
  • 496cd37bac Use equality checking for NULL value Gabor Mezei 2022-12-20 13:56:16 +01:00
  • f9728137d8 Fix the order of freeing memory Gabor Mezei 2022-12-20 13:55:37 +01:00
  • 61fd1fb4b1 Calling the residue_release() is not needed Gabor Mezei 2022-12-20 13:54:26 +01:00
  • 8a26164684 Supress pylint's duplicated code warning Gabor Mezei 2022-12-16 17:18:28 +01:00
  • 809baef2dd Use helper functions to simplify test code Gabor Mezei 2022-12-16 16:31:59 +01:00
  • 77b877d5a7 Generate operands in Mongomery representation for the test function Gabor Mezei 2022-12-16 15:25:02 +01:00
  • 2840884c35 Typo Gabor Mezei 2022-12-16 15:24:35 +01:00
  • 6a31b7252d Fix documentation Gabor Mezei 2022-12-16 15:24:03 +01:00
  • eca74668c7 Add tests for mod_mul Gabor Mezei 2022-12-13 10:53:50 +01:00
  • 9db81e9cca Add mod_mul function Gabor Mezei 2022-12-13 10:51:37 +01:00
  • 3e0418fe50 Merge pull request #6825 from minosgalanakis/bignum/adjust_pylint Dave Rodgman 2022-12-20 16:26:57 +00:00
  • 2038da9266 Merge pull request #6826 from daverodgman/fix_gettimeofday Dave Rodgman 2022-12-20 16:01:53 +00:00
  • 97a85fe110 Merge pull request #6827 from daverodgman/mbedtls-2.28 Dave Rodgman 2022-12-20 16:01:34 +00:00
  • e5c5b1d3ea Add Changelog entry Dave Rodgman 2022-12-20 13:16:34 +00:00
  • b03c55892a Fix overflow in mbedtls_timing_hardclock() Dave Rodgman 2022-12-20 13:20:01 +00:00
  • 327b69c8a2 Add Changelog entry Dave Rodgman 2022-12-20 13:16:34 +00:00
  • 7796cc4f24 Fix overflow in mbedtls_timing_hardclock Dave Rodgman 2022-12-20 13:12:23 +00:00
  • e080cc31f2 pylint: Set a minimum duplicate match to 10 lines. Minos Galanakis 2022-12-20 11:59:08 +00:00
  • efde9d58de remove duplicated consecutive preproc directives Glenn Strauss 2022-12-20 04:20:12 -05:00
  • 8b6d14be8b Extract common code for computing X^3 + AX + B Manuel Pégourié-Gonnard 2022-12-20 10:02:52 +01:00
  • 452416121d move mbedtls_ecp_sw_derive_y after MPI_ECP_ macros Glenn Strauss 2022-12-19 19:37:07 -05:00
  • fcabc28cfc use MPI_ECP_* macros in mbedtls_ecp_sw_derive_y() Glenn Strauss 2022-12-19 19:30:54 -05:00
  • 71e934f8d1 Merge pull request #6821 from gilles-peskine-arm/code-style-skip-generated-files-2.28 Manuel Pégourié-Gonnard 2022-12-19 13:06:29 +01:00
  • 82dad10746 Merge pull request #6820 from gilles-peskine-arm/code-style-skip-generated-files Manuel Pégourié-Gonnard 2022-12-19 13:06:25 +01:00
  • 910222bc1b Merge pull request #6822 from mpg/basic-build-test-lcov-format-robustness-2.28 Manuel Pégourié-Gonnard 2022-12-19 13:03:40 +01:00
  • bb12621746 Merge pull request #6808 from gilles-peskine-arm/basic-build-test-lcov-format-robustness-3.3 Manuel Pégourié-Gonnard 2022-12-19 13:03:37 +01:00
  • c572246fa5 Use OPENSSL everywhere, not OPENSSL_CMD Manuel Pégourié-Gonnard 2022-12-19 11:42:12 +01:00
  • 38a49560de Simplify the coverage statistics summary Gilles Peskine 2022-12-16 12:03:39 +01:00
  • 4ca54d417e Don't touch the style of generated files Gilles Peskine 2022-12-19 00:48:58 +01:00
  • 3b56d29147 List all the places with instructions to generate those files Gilles Peskine 2022-12-19 00:56:44 +01:00
  • 9a3771e1b3 Don't touch the style of generated files Gilles Peskine 2022-12-19 00:48:58 +01:00
  • e162b4725c Merge pull request #6777 from tom-cosgrove-arm/issue-6292-mod_inv Gilles Peskine 2022-12-17 13:26:02 +01:00
  • cf86d70162 Merge pull request #6742 from gabor-mezei-arm/6022_bignum_mod_raw_mul Gilles Peskine 2022-12-17 13:25:43 +01:00
  • 2200f12094 Merge pull request #6807 from mpg/doc-docker-from-ci-2.28 Gilles Peskine 2022-12-17 01:54:27 +01:00
  • 546493bee9 Merge pull request #6789 from mpg/doc-docker-from-ci Gilles Peskine 2022-12-17 01:54:24 +01:00
  • 77f9984cc3 Merge pull request #6810 from davidhorstmann-arm/fix-check-names-enum-regex Gilles Peskine 2022-12-17 01:52:35 +01:00
  • cdae0d3752 Merge pull request #6811 from davidhorstmann-arm/2.28-fix-check-names-enum-regex Gilles Peskine 2022-12-17 01:52:29 +01:00
  • f723754f6d Fix typos Tom Cosgrove 2022-12-16 16:10:36 +00:00
  • cbfd5e9db7 comment Glenn Strauss 2022-12-16 11:03:20 -05:00
  • 369bfb94c5 comments and whitespace Glenn Strauss 2022-12-16 10:47:15 -05:00
  • 210ea63d8b Fix documentation Gabor Mezei 2022-12-16 16:35:24 +01:00
  • e1e776caf7 Fix an incorrect regex in check_names.py David Horstmann 2022-12-16 13:39:04 +00:00
  • e7221a21ad test: adjust depends.py to new SHA224/SHA384 changes Valerio Setti 2022-12-16 11:53:45 +01:00
  • f91090e4a3 Fix an incorrect regex in check_names.py David Horstmann 2022-12-16 13:39:04 +00:00
  • b31b2e62ec Generate operands in Mongomery representation for the test function Gabor Mezei 2022-12-15 15:00:44 +01:00
  • 98d3a67a5c Simplify the coverage statistics summary Gilles Peskine 2022-12-16 12:03:39 +01:00
  • 342d00bc22 Oops, use mbedtls_free() not plain free() Tom Cosgrove 2022-12-16 11:02:06 +00:00
  • fbc115f43c Merge pull request #6794 from ronald-cron-arm/tls13-fix-some-test-dependencies Ronald Cron 2022-12-16 11:07:00 +01:00
  • 7314798412 Point to docker images used in the CI Manuel Pégourié-Gonnard 2022-12-15 10:08:26 +01:00
  • 071f47343b Document the test strategy Gilles Peskine 2022-12-14 19:00:56 +01:00
  • d878d1c638 Add validation tests for mbedtls_mpi_{mod,mod_raw}_random Gilles Peskine 2022-12-08 12:59:51 +01:00
  • b1eea02f74 Implement and test mbedtls_mpi_mod_random Gilles Peskine 2022-12-07 22:59:27 +01:00
  • d008abbc4f Fix leak of modulus structures in tests Gilles Peskine 2022-12-08 19:50:29 +01:00
  • a57cf9813a Implement and test mbedtls_mpi_mod_raw_random Gilles Peskine 2022-12-06 22:54:09 +01:00