Commit Graph

  • 07018f97d2 Make legacy_or_psa.h public. Manuel Pégourié-Gonnard 2022-09-15 11:29:35 +02:00
  • 08f397a676 refactored generate_driver_wrappers.py Asfandyar Orakzai 2022-09-15 14:25:37 +02:00
  • a2cac3224d Update and document mbedtls extensions Archana 2022-04-14 09:31:28 +05:30
  • 1776dd9022 Doc improvements -Cosmetic Archana 2022-04-12 13:12:18 +05:30
  • 22c7827876 Schema and script improvements Archana 2022-04-11 10:12:08 +05:30
  • 01aa39e3ff Arg parse improvements Archana 2022-03-14 15:29:00 +05:30
  • 46886247ad Driver Wrappers code gen migration guide updated. Archana 2022-03-13 19:49:11 +05:30
  • a78dc70a50 Fix JsonObject type for MyPy Archana 2022-03-13 17:57:45 +05:30
  • fdbbcba3eb JSONschema and python improvements Archana 2022-02-27 05:38:55 +05:30
  • e17071a5ee Update Dockerfile with missing packages Archana 2022-01-11 02:40:46 +05:30
  • 634e0d25cb Update check_names.py to exclude autogen file Archana 2022-01-10 17:37:42 +05:30
  • 25876b8abb Adding JSONSchema to CI scripts Archana 2022-01-10 01:55:26 +05:30
  • 314380564c PyLint errors fixed Archana 2022-01-09 15:01:20 +05:30
  • 04cfe34639 JSON Validation added Archana 2022-01-09 13:28:28 +05:30
  • 05efa17549 JSON upgrade to give function names Archana 2022-01-09 09:30:32 +05:30
  • e829cd6953 Driver Wrapper CodeGen Rev 1.1 Archana 2021-12-24 12:50:36 +05:30
  • 6ee726e1ab Replace md translation function Jerry Yu 2022-09-16 16:32:27 +08:00
  • 7c7a3eaab5 Merge pull request #6290 from daverodgman/contributing_2.28 Manuel Pégourié-Gonnard 2022-09-16 09:02:06 +02:00
  • 1c341c8bc9 Merge pull request #6284 from daverodgman/contributing Manuel Pégourié-Gonnard 2022-09-16 09:01:56 +02:00
  • a5df584d87 fix build fail for test_psa_crypto_config_accel_hash_use_psa Jerry Yu 2022-09-16 11:27:57 +08:00
  • a844b4b370 No need to use MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED in tests Gilles Peskine 2022-09-15 21:05:04 +02:00
  • d6355caa8f Include platform.h unconditionally: fixes undefined mbedtls_setbuf Gilles Peskine 2022-09-15 20:26:49 +02:00
  • 04e4c19ee3 Document the base state of platform abstraction Gilles Peskine 2022-09-15 20:19:01 +02:00
  • ed1c7f4cd7 Include platform.h unconditionally: gcm Gilles Peskine 2022-09-15 20:14:22 +02:00
  • e9b55929dc Remove useless platform macro redefinitions: automatic part Gilles Peskine 2022-09-15 20:09:07 +02:00
  • a7aa80c058 Include platform.h unconditionally: second automatic part Gilles Peskine 2022-09-15 20:22:04 +02:00
  • 945b23c46f Include platform.h unconditionally: automatic part Gilles Peskine 2022-09-15 19:29:40 +02:00
  • 769695eeb0 Clarify legal requirements for contributions Dave Rodgman 2022-09-15 11:52:44 +01:00
  • 3bd7bc3add Use X rather than A for accumulator-style input (and output!) params, and rename others accordingly Tom Cosgrove 2022-09-15 15:55:07 +01:00
  • 5c0e8104bc Prefer 'fixed-size' to 'known-size' in doc comments Tom Cosgrove 2022-09-15 15:46:10 +01:00
  • c71ca0cb3c Remove some unnecessary whitespace (two spaces after commas) Tom Cosgrove 2022-09-15 15:38:17 +01:00
  • dbc156172c Don't bother to test b + a after testing a + b if a == b Tom Cosgrove 2022-09-15 15:36:23 +01:00
  • 17f1fdca0f Update comments in mpi_core_add_if() test Tom Cosgrove 2022-09-15 15:23:56 +01:00
  • b7438d1f62 Update name of mbedtls_mpi_montg_init() Tom Cosgrove 2022-09-15 15:05:59 +01:00
  • 2701deaa4b Use mbedtls_ct_mpi_uint_mask() rather than rolling our own Tom Cosgrove 2022-09-15 15:00:07 +01:00
  • 818d992cc7 Note that T must not overlap other parameters of mbedtls_mpi_core_montmul() Tom Cosgrove 2022-09-15 14:58:10 +01:00
  • 359feb0d2f Better wording for the reason why we use an input MPI for a scalar value Tom Cosgrove 2022-09-15 14:52:34 +01:00
  • e2159f2083 Use the MAX() macro Tom Cosgrove 2022-09-15 14:40:10 +01:00
  • be7209db1f Remove unnecessary casts Tom Cosgrove 2022-09-15 14:32:38 +01:00
  • 50c477bd6b Use S and sum (rather than X/expected) in mpi_core_add_if() Tom Cosgrove 2022-09-15 14:28:30 +01:00
  • 1feb5ac1b7 Switch to using TEST_LE_S() and TEST_LE_U() in tests Tom Cosgrove 2022-09-15 14:22:35 +01:00
  • 2b177926ad Use ASSERT_ALLOC() in tests Tom Cosgrove 2022-09-15 14:07:18 +01:00
  • c454aba203 ssl-opt.sh: add tests for key_opaque_algs option Przemek Stekiel 2022-07-07 09:56:13 +02:00
  • 632939df4b ssl_client2: print pk key name when provided using key_opaque_algs Przemek Stekiel 2022-07-07 09:27:20 +02:00
  • dca224628b ssl_tls13_select_sig_alg_to_psa_alg: optimize code Przemek Stekiel 2022-07-06 22:34:25 +02:00
  • f937e669bd Guard new code with MBEDTLS_USE_PSA_CRYPTO Przemek Stekiel 2022-07-05 22:42:44 +02:00
  • 3c326f9697 Add function to convert sig_alg to psa alg and use it Przemek Stekiel 2022-07-05 22:14:34 +02:00
  • b40f2e81ec TLS 1.3: Take into account key policy while picking a signature algorithm Przemek Stekiel 2022-07-04 16:16:15 +02:00
  • f184625223 Clarify legal requirements for contributions Dave Rodgman 2022-09-15 11:52:44 +01:00
  • c42c7e660e Update documentation in legacy_or_psa.h Manuel Pégourié-Gonnard 2022-09-15 11:11:00 +02:00
  • 1dc37258de Style: wrap a long line Manuel Pégourié-Gonnard 2022-09-15 11:10:26 +02:00
  • 409a620dea Merge pull request #6255 from mprse/md_tls13 Manuel Pégourié-Gonnard 2022-09-15 10:37:46 +02:00
  • 0a55cc647c Remove unnecessary var and improve comment Jerry Yu 2022-09-15 16:15:06 +08:00
  • 07c830c164 Fix setting for default test suite directory Werner Lewis 2022-09-15 09:02:07 +01:00
  • 18dff1f226 Merge pull request #5871 from superna9999/4153-psa-expose-ec-j-pake Manuel Pégourié-Gonnard 2022-09-15 09:25:55 +02:00
  • 62e24ba186 Merge pull request #6260 from yuhaoth/pr/add-multiple-pre-config-psks Ronald Cron 2022-09-15 08:58:40 +02:00
  • 8ce1b1afc8 pkcs7: Correct various syntatical mistakes Nick Child 2022-09-14 14:51:23 -05:00
  • 34d5e931cf pkcs7: Use better return code for unimplemented specifications Nick Child 2022-09-14 14:44:03 -05:00
  • 7089ce8381 pkcs7: Handle md errors in multisigner pkcs7 verification Nick Child 2022-09-14 14:10:00 -05:00
  • 4ba0e45f8e all.sh: don't build with ECJPAKE_TO_PMS if SHA256 is not available Andrzej Kurek 2022-09-14 12:47:26 -04:00
  • d60907b85d Define ECJPAKE_TO_PMS in config_psa only if SHA_256 is available Andrzej Kurek 2022-09-14 10:02:30 -04:00
  • 8a94de40c7 test/pkcs7: Reduce number of test functions Nick Child 2022-09-14 10:51:51 -05:00
  • 52ae326ebb Update references to file targets in docstrings Werner Lewis 2022-09-14 16:26:54 +01:00
  • ac446c8a04 Add combination_pairs helper function Werner Lewis 2022-09-14 15:12:46 +01:00
  • b6e809133d Use typing.cast instead of unqualified cast Werner Lewis 2022-09-14 15:00:22 +01:00
  • 00d02423a5 Remove argparser default for directory Werner Lewis 2022-09-14 13:39:20 +01:00
  • 858cffde1e Add toggle for test case count in descriptions Werner Lewis 2022-09-14 13:02:40 +01:00
  • 34d6d3e4e5 Update comments/docstrings in TestGenerator Werner Lewis 2022-09-14 12:59:32 +01:00
  • f7dad3cfbe fix various issues Jerry Yu 2022-09-14 22:31:39 +08:00
  • 67ffab5600 ssl.h: use PSA hash buffer size when PSA is used Przemyslaw Stekiel 2022-09-14 14:07:01 +02:00
  • 18f8e8d62c Document the input size restriction for EC J-PAKE to PMS Andrzej Kurek 2022-09-14 08:44:34 -04:00
  • d8705bc7b7 Add tests for the newly created ad-hoc EC J-PAKE KDF Andrzej Kurek 2022-07-29 10:02:05 -04:00
  • 08d34b8693 Add an EC J-PAKE KDF to transform K -> SHA256(K.X) for TLS 1.2 Andrzej Kurek 2022-07-29 10:00:16 -04:00
  • 208257b39f Merge pull request #6259 from yuhaoth/pr/add-psk_ephemeral-possible-group-tests Ronald Cron 2022-09-14 14:21:46 +02:00
  • ab9b9d4669 ssl_tls13_keys.h: use PSA max hash size Przemyslaw Stekiel 2022-09-14 13:51:07 +02:00
  • da6452578f ssl_tls13_generic.c: fix hash buffer sizes (use PSA_HASH_MAX_SIZE) Przemyslaw Stekiel 2022-09-14 12:50:51 +02:00
  • 6a12a7704d Fix typo in comment Neil Armstrong 2022-09-14 12:17:42 +02:00
  • 673b0f9ad3 Randomize order of psks Jerry Yu 2022-09-14 15:02:21 +08:00
  • 034492bd56 ssl.h: Fix hash guards Przemyslaw Stekiel 2022-09-14 11:09:20 +02:00
  • 004c2181f0 ssl_misc.h: hash guards adaptations Przemyslaw Stekiel 2022-09-14 09:09:16 +02:00
  • b2407f2b91 Merge pull request #6261 from mprse/hash_size_macro Manuel Pégourié-Gonnard 2022-09-14 10:00:06 +02:00
  • 40cafa8ff8 ssl_misc.h: hash guards adaptations md_tls13 Przemyslaw Stekiel 2022-09-14 09:09:16 +02:00
  • acff823846 Add negative tolerance window Jerry Yu 2022-09-14 14:35:11 +08:00
  • 95db17ed5f fix various issues Jerry Yu 2022-09-14 10:30:53 +08:00
  • ce0aa58fd9 check_config.h: make TLS1.3 requirements verification more readable Przemek Stekiel 2022-09-12 13:24:25 +02:00
  • 0852ef8b96 mbedtls_ssl_reset_transcript_for_hrr: remove redundant 'else' statement Przemek Stekiel 2022-09-07 10:56:30 +02:00
  • 8a2f2b0bd6 check_config.h: fix TLS 1.3 requirements (add HKDF_EXTRACT/EXPAND) and comments Przemek Stekiel 2022-09-06 08:07:43 +02:00
  • dcec7ac3e8 test_psa_crypto_config_accel_hash_use_psa: enable tls.1.3 at the end and adapt comment Przemek Stekiel 2022-09-06 07:54:33 +02:00
  • 9408b70513 check_config.h: revert HKDF requirements Przemek Stekiel 2022-09-06 07:44:12 +02:00
  • 9dfbf3a006 ssl_tls13_generic.c: optimize code to save memory Przemek Stekiel 2022-09-06 07:40:46 +02:00
  • 153b442cc3 mbedtls_ssl_tls13_sig_alg_is_supported: adapt guards Przemek Stekiel 2022-09-05 12:36:25 +02:00
  • a06787a629 build_info.h: include config_psa.h also when MBEDTLS_PSA_CRYPTO_C Przemek Stekiel 2022-09-02 14:41:44 +02:00
  • a4af13a46c test_psa_crypto_config_accel_hash_use_psa: enable TLS 1.3 Przemek Stekiel 2022-09-02 13:35:15 +02:00
  • cf9d972a9a Fix config for MBEDTLS_SSL_PROTO_TLS1_3 Przemek Stekiel 2022-09-02 13:29:25 +02:00
  • a9a8816107 ssl.h: adapt guards for MBEDTLS_SSL_TLS1_3_TICKET_RESUMPTION_KEY_LEN Przemek Stekiel 2022-09-02 13:18:55 +02:00
  • 47e3cb1875 ssl_tls13_generic.c: adapt guards for MBEDTLS_SHAxxx_C Przemek Stekiel 2022-09-02 13:17:03 +02:00
  • fa84962296 Add comment explaining PSA PAKE vs Mbedtls J-PAKE API matching strategy Neil Armstrong 2022-09-13 15:10:46 +02:00
  • 3d4966a5cb Move possible input/output steps check inside PSA_ALG_JPAKE handling Neil Armstrong 2022-09-13 14:54:15 +02:00
  • 017db4cdda Drop calls to mbedtls_ecjpake_check() Neil Armstrong 2022-09-13 14:49:53 +02:00
  • 1d0294f6ed Clarify sequence length calculation comment Neil Armstrong 2022-09-13 14:49:24 +02:00