Commit Graph

  • 946bf14608 Fix some test helper functions returning 0 on some failures Gilles Peskine 2025-04-08 09:48:40 +02:00
  • 55b8bb43e7 Check the status of mbedtls_ssl_set_hostname() Gilles Peskine 2025-04-08 09:44:34 +02:00
  • 3b819cf22f Merge pull request #10109 from mpg/merge-from-restricted Gilles Peskine 2025-04-07 14:04:06 +00:00
  • f02784bb2c Tune wording Manuel Pégourié-Gonnard 2025-04-07 10:49:49 +02:00
  • 16be0f09cf Merge pull request #10008 from valeriosetti/issue138-development Ronald Cron 2025-04-04 18:11:00 +02:00
  • 48e5c958a7 tf-psa-crypto: update reference Valerio Setti 2025-02-25 09:27:49 +01:00
  • 0690a63472 framework: update reference Valerio Setti 2025-02-25 09:27:36 +01:00
  • 09e35e7ac8 Update bug report template for security issues Manuel Pégourié-Gonnard 2025-04-04 12:59:49 +02:00
  • 8bbe60a67f Merge pull request #10102 from ronald-cron-arm/check-generated-files-follow-up Ronald Cron 2025-04-02 20:55:45 +00:00
  • 33770e75c3 Update tf-psa-crypto pointer Ronald Cron 2025-03-31 11:35:31 +02:00
  • 96121ed94f Update framework pointer Ronald Cron 2025-03-29 09:49:00 +01:00
  • 784041a28d Adapt dependencies to the 3.6 branch Manuel Pégourié-Gonnard 2025-04-01 10:46:37 +02:00
  • fa547780f2 Use same dependencies for helper functions Manuel Pégourié-Gonnard 2025-03-28 09:33:38 +01:00
  • 066ac1365b Tighten dependencies again Manuel Pégourié-Gonnard 2025-03-27 12:44:32 +01:00
  • 063c1ced17 Improve dependency declarations Manuel Pégourié-Gonnard 2025-03-27 11:47:13 +01:00
  • 05ff37fbf2 Tighten dependency declarations Manuel Pégourié-Gonnard 2025-03-26 12:41:19 +01:00
  • f267020565 Improve documentation Gilles Peskine 2025-03-10 14:53:16 +01:00
  • cb3cabd568 Remove redundant setup Gilles Peskine 2025-03-10 14:29:59 +01:00
  • 7fe3638b54 Fix copypasta Gilles Peskine 2025-03-10 14:24:22 +01:00
  • f9333a3ac4 Simulate closing the connection mid-message Gilles Peskine 2025-03-10 14:16:46 +01:00
  • 4f57212da2 Also test inserting non-empty, non-handshake records Gilles Peskine 2025-03-10 14:02:42 +01:00
  • d973387666 Fix the build without MBEDTLS_DEBUG_C Gilles Peskine 2025-03-07 23:04:23 +01:00
  • 7cdf563a7d Fix the build in PSK-only configurations Gilles Peskine 2025-03-07 23:01:42 +01:00
  • 544fdc6118 Fix printf of enum Gilles Peskine 2025-03-07 22:28:23 +01:00
  • aa9b45535b Pacify ancient clang -Wmissing-initializer Gilles Peskine 2025-03-07 22:26:36 +01:00
  • ad84044386 Test split, coalesced-split and empty handshake records Gilles Peskine 2025-03-07 20:48:01 +01:00
  • 39bcbb6036 Create handshake record coalescing tests Gilles Peskine 2025-03-07 20:40:50 +01:00
  • adefe78939 Document gotcha of move_handshake_to_state Gilles Peskine 2025-03-07 20:37:49 +01:00
  • da5f5b23d0 Add a log message on every SSL state transition Gilles Peskine 2025-03-07 20:45:29 +01:00
  • 49f179d9c8 Always call mbedtls_ssl_handshake_set_state Gilles Peskine 2025-03-07 15:09:32 +01:00
  • ed4a2b4f0a Merge branch 'development-restricted' into merge-from-restricted Manuel Pégourié-Gonnard 2025-04-01 09:40:47 +02:00
  • e2359585e4 Merge pull request #10078 from bjwtaylor/pk_rsa_alt-removal Manuel Pégourié-Gonnard 2025-04-01 07:32:46 +00:00
  • 762c80199d Use make_generated_files.py in make_generated_files.bat Ronald Cron 2025-03-27 11:36:42 +01:00
  • 444db895f7 Remove check-generated-files.sh Ronald Cron 2025-03-27 11:36:08 +01:00
  • 694cbfa6de Merge pull request #10101 from ronald-cron-arm/remove-all-sh-wrapper Ronald Cron 2025-03-31 09:36:25 +00:00
  • 5d9b9d244f Rename mbedtls-all.sh to just all.sh Ronald Cron 2025-03-29 10:06:38 +01:00
  • 8e2d40dbec Remove all.sh wrapper Ronald Cron 2025-03-29 10:01:40 +01:00
  • 850e5b317d Document assumption of mbedtls_get_pkcs_padding David Horstmann 2025-03-28 17:33:45 +00:00
  • bbf1a01503 Modify ChangeLog entry to full plaintext recovery David Horstmann 2025-03-28 17:31:15 +00:00
  • b2b1c3bb81 Add testcase for maximum padding length David Horstmann 2025-03-28 17:24:45 +00:00
  • d75c4c2381 Remove unnecessary TEST_CF_PUBLIC macro call David Horstmann 2025-03-28 17:16:27 +00:00
  • 1a1ec2fcce Fix up merge conflict resolution Max Fillinger 2025-03-28 17:54:08 +01:00
  • 29f8f9a49d Fix dependencies for TLS-Exporter tests Max Fillinger 2025-01-21 21:40:04 +01:00
  • 7577c9e373 Fix doxygen for MBEDTLS_SSL_KEYING_MATERIAL_EXPORT Max Fillinger 2025-01-17 14:10:08 +01:00
  • af2035fcad Fix mistake in previous comment change Max Fillinger 2024-12-02 19:34:40 +01:00
  • ee33b31f0b Fix HkdfLabel comment Max Fillinger 2024-12-02 19:26:13 +01:00
  • 5826883ca5 Allow maximum label length in Hkdf-Expand-Label Max Fillinger 2024-11-25 20:38:04 +01:00
  • 9f843332e8 Exporter: Add min. and max. label tests Max Fillinger 2024-11-25 20:21:29 +01:00
  • 9c5bae5026 Fix max. label length in key material exporter Max Fillinger 2024-11-21 12:33:46 +01:00
  • 53d9168502 Document BAD_INPUT_DATA error in key material exporter Max Fillinger 2024-11-18 18:22:51 +01:00
  • d23579c746 Fix requirements for TLS 1.3 Exporter compat test Max Fillinger 2024-11-14 21:11:26 +01:00
  • 22728dc5e3 Use mbedtls_calloc, not regular calloc Max Fillinger 2024-11-14 20:41:03 +01:00
  • 4e21703bcf Add fixed compatibility test for TLS 1.3 Exporter Max Fillinger 2024-11-14 17:50:42 +01:00
  • 7b97712164 Remove exporter compatibility test for TLS 1.3 Max Fillinger 2024-11-14 15:32:01 +01:00
  • 6d53a3a647 Fix openssl s_client invocation Max Fillinger 2024-11-14 15:28:05 +01:00
  • f8059db4ee Print names of new tests properly Max Fillinger 2024-11-13 15:27:23 +01:00
  • 144cccecb7 Fix memory leak in example programs Max Fillinger 2024-11-13 15:19:03 +01:00
  • 92b7a7e233 ssl-opt.sh: Add tests for keying material export Max Fillinger 2024-11-11 17:50:34 +01:00
  • ee467aae69 mbedtls_test_ssl_do_handshake_with_endpoints: Zeroize endpoints Max Fillinger 2024-11-08 22:17:33 +01:00
  • d6e0095478 Exporter tests: Don't use unavailbable constant Max Fillinger 2024-11-05 19:45:41 +01:00
  • 8e0b8c9d9f Exporter tests: Add missing depends-ons Max Fillinger 2024-11-01 14:14:19 +01:00
  • c6fd1a24d2 Use one maximum key_len for all exported keys Max Fillinger 2024-11-01 16:05:34 +01:00
  • a9a9e99a6b Exporter tests: Reduce key size in long key tests Max Fillinger 2024-10-31 15:31:55 +01:00
  • 9dc7b19a6a Exporter tests: Free endpoints before PSA_DONE() Max Fillinger 2024-10-31 12:43:19 +01:00
  • 364afea9d3 Exporter tests: Fix possible uninitialized variable use Max Fillinger 2024-10-30 18:58:50 +01:00
  • ea1e777c01 Coding style cleanup Max Fillinger 2024-10-30 00:49:10 +01:00
  • 8a2d2adf8c Exporter tests: Initialize allocated memory Max Fillinger 2024-10-30 00:39:54 +01:00
  • 8f12e31223 Exportert tests: Free endpoints and options Max Fillinger 2024-10-30 00:29:37 +01:00
  • 3e1291866d Fix output size check for key material exporter Max Fillinger 2024-10-29 19:18:54 +01:00
  • 28916ac8fe Increase allowed output size of HKDF-Expand-Label Max Fillinger 2024-10-29 18:49:30 +01:00
  • cf007ca8bb Add more tests for keying material export Max Fillinger 2024-10-29 16:57:09 +01:00
  • a5b63c5e40 Mention MBEDTLS_SSL_KEYING_MATERIAL_EXPORT in change log Max Fillinger 2024-10-28 14:46:46 +01:00
  • 0747388254 Fix #endif comment Max Fillinger 2024-10-28 14:44:25 +01:00
  • 51bec543bb Enable MBEDTLS_SSL_KEYING_MATERIAL_EXPORT by default Max Fillinger 2024-10-28 13:14:39 +01:00
  • 2fe35f61bf Create MBEDTLS_SSL_KEYING_MATERIAL_EXPORT option Max Fillinger 2024-10-25 00:52:24 +02:00
  • 281fb79116 Remove TLS 1.2 Exporter if we don't have randbytes Max Fillinger 2024-10-23 18:35:09 +02:00
  • c9f2c9adba Revert "Store randbytes for TLS 1.2 TLS-Exporter" Max Fillinger 2024-10-23 17:24:03 +02:00
  • dbe864569e Fix typos in comments Max Fillinger 2024-10-23 17:21:40 +02:00
  • 155cea0900 Use fewer magic numbers in TLS-Exporter functions Max Fillinger 2024-10-23 16:32:54 +02:00
  • f2dda15ce8 Add label length argument to tls_prf_generic() Max Fillinger 2024-10-23 15:47:23 +02:00
  • 48150f5dc3 Store randbytes for TLS 1.2 TLS-Exporter Max Fillinger 2024-10-18 16:19:39 +02:00
  • e10c9849e2 Fix coding style Max Fillinger 2024-09-22 01:28:12 +02:00
  • 29beade80f Fix build when one of TLS 1.2 or 1.3 is disabled Max Fillinger 2024-09-21 11:06:28 +02:00
  • 7b72220d42 Fix coding style Max Fillinger 2024-09-21 10:48:57 +02:00
  • 9073e041fc Fix TLS exporter changelog entry Max Fillinger 2024-09-20 17:57:52 +02:00
  • ae7d66a1d5 Fix doxygen comment parameter name Max Fillinger 2024-09-20 17:50:16 +02:00
  • 5561994020 Fix typos in comment Max Fillinger 2024-09-20 15:22:06 +02:00
  • 9c9989fc6d Fix mismatches in function declarations Max Fillinger 2024-08-14 16:44:50 +02:00
  • 91cff4406b Fix key_len check in TLS-Exporter Max Fillinger 2024-08-12 13:20:46 +02:00
  • 81dfc8830b Actually set exporter defaults in ssl_client2 Max Fillinger 2024-08-12 12:51:02 +02:00
  • 334c367052 Simplify mbedtls_ssl_tls13_exporter Max Fillinger 2024-08-12 11:20:39 +02:00
  • c7986427d4 Add test for TLS-Exporter in TLS 1.3 Max Fillinger 2024-08-09 19:46:15 +02:00
  • 136fe9e4be Fix commented out function declaration Max Fillinger 2024-08-09 18:54:36 +02:00
  • b84cb4b049 Add changelog entry for TLS-Exporter feature Max Fillinger 2024-07-25 16:16:02 +02:00
  • b2718e17e6 Add TLS-Exporter options to ssl_client2 Max Fillinger 2024-07-22 15:09:24 +02:00
  • 32ba7f4a17 Add TLS-Exporter options to ssl_server2 Max Fillinger 2024-07-22 14:44:09 +02:00
  • bd81c9d0f7 Implement TLS-Exporter feature Max Fillinger 2024-07-22 14:43:56 +02:00
  • 3189752b2f Merge pull request #10073 from felixc-arm/remove-inject-entropy Ronald Cron 2025-03-28 13:22:00 +00:00
  • 5a5440e63a Update to the new name in usages as well David Horstmann 2025-03-28 10:57:45 +00:00
  • 1459e75d3d Update tf-psa-crypto pointer Felix Conway 2025-03-28 10:36:00 +00:00