Commit Graph

  • 566c781290 Add dummy state for client_certifiate Jerry Yu 2022-01-26 15:41:22 +08:00
  • 960bc28bcc Add tests for no middlebox mode Jerry Yu 2022-01-26 11:12:34 +08:00
  • 4579a972bf Merge pull request #5426 from gilles-peskine-arm/ssl-get-version-3.1 Ronald Cron 2022-02-21 17:03:24 +01:00
  • e3a2dd787e Merge pull request #5521 from AndrzejKurek/rsa-pss-use-psa Manuel Pégourié-Gonnard 2022-02-21 16:58:57 +01:00
  • 4fded1359a Use PSA_INIT() Gabor Mezei 2022-02-15 16:35:23 +01:00
  • d860e0f18b Add comment Gabor Mezei 2022-02-15 16:02:59 +01:00
  • 0e7c6f4961 Check return value of psa_destroy_key Gabor Mezei 2022-02-15 15:47:54 +01:00
  • 26c6741c58 Add better name for variable. Gabor Mezei 2022-02-15 15:46:17 +01:00
  • 320d21cecf Update documentation Gabor Mezei 2022-02-09 17:25:43 +01:00
  • c5efb8e58b Use PSA error code Gabor Mezei 2022-02-08 13:15:45 +01:00
  • 5d7d201b87 Update test Gabor Mezei 2022-02-07 18:23:18 +01:00
  • ebc9368173 typo Gabor Mezei 2022-02-07 18:06:35 +01:00
  • 298a2d6109 Use ASSERT_ALLOC Gabor Mezei 2022-02-07 18:21:39 +01:00
  • 89c1a95f8f Delete leftover code Gabor Mezei 2022-02-07 18:19:05 +01:00
  • b1f53976ee Add documentation for mbedtls_psa_hkdf_extract Gabor Mezei 2022-02-07 18:18:16 +01:00
  • 62bf024025 Make the mbedtls_psa_hkdf_extract function more PSA compatible Gabor Mezei 2022-02-07 18:12:07 +01:00
  • 73cb6f54de Add tests for mbedtls_psa_hkdf_extrct Gabor Mezei 2022-01-31 16:35:50 +01:00
  • 9f4bb319c9 Implement HKDF extract in TLS 1.3 based on PSA HMAC Gabor Mezei 2022-01-31 16:33:47 +01:00
  • 57bf02bd58 ssl_conf_{min,max}_version documentation: update for 1.3 and improve Gilles Peskine 2022-02-16 12:06:22 +01:00
  • ce4f00de69 Reference get_version_number from the conf_xxx_version documentation Gilles Peskine 2022-02-12 00:47:23 +01:00
  • d44e050339 get_version_number documentation: explicitly mention VERSION_UNKNOWN Gilles Peskine 2022-02-12 00:45:21 +01:00
  • 860429f8af Add version number debug check to the GnuTLS interop test as well Gilles Peskine 2022-02-12 00:44:48 +01:00
  • 9cb08822a1 Minor clarification Gilles Peskine 2022-02-12 00:44:24 +01:00
  • ded2a42ac1 Use a union instead of casts Gilles Peskine 2022-02-12 00:20:08 +01:00
  • 1e265d2e68 Fix swapped documentation of set_user_data_{n,p} Gilles Peskine 2022-01-27 23:30:52 +01:00
  • 49d7ddf7f3 Serializing a context does not save the user data Gilles Peskine 2022-01-27 23:25:51 +01:00
  • 80dae04f24 Make user_data fields private Gilles Peskine 2022-01-21 23:50:39 +01:00
  • 66971f8ab1 Add prototype for automatically generated debug helper Gilles Peskine 2022-01-13 13:46:05 +01:00
  • c63a1e0e15 Fix mbedtls_ssl_get_version() for TLSv1.3 Gilles Peskine 2022-01-13 01:10:24 +01:00
  • 1255b0de98 Positive unit testing for SSL context version functions Gilles Peskine 2022-01-13 01:08:48 +01:00
  • e1a0c25f71 New function to access the TLS version from a context as an enum Gilles Peskine 2022-01-13 01:08:03 +01:00
  • 915896f03c Add accessor function from mbedtls_ssl_context to the configuration Gilles Peskine 2022-01-13 01:05:10 +01:00
  • 69477b5706 Add a field for application data to TLS structures Gilles Peskine 2022-01-13 01:01:45 +01:00
  • b9987fc344 Handle MBEDTLS_SHA256_USE_A64_* on Windows on ARM64 too Tom Cosgrove 2022-02-21 12:26:11 +00:00
  • 436b72690d Merge pull request #5362 from yuhaoth/pr/enable-tls13-only-build Paul Elliott 2022-02-21 11:22:37 +00:00
  • 4901978308 Modifies data files to match new test function name Thomas Daubney 2022-02-21 09:39:20 +00:00
  • f3ebd90a1c SECLIB-667: Accelerate SHA-256 with A64 crypto extensions Tom Cosgrove 2022-02-20 22:25:31 +00:00
  • 9b545c04f7 Merge pull request #5520 from gabor-mezei-arm/5402_implement_hkdf_expand_based_on_psa_hmac Manuel Pégourié-Gonnard 2022-02-21 09:30:31 +01:00
  • f1b23caa4e move wrong comments Jerry Yu 2022-02-18 11:48:47 +08:00
  • 18621dfd23 remove extra empty line Jerry Yu 2022-02-17 15:10:17 +08:00
  • 50f2f703a7 remove extra guards Jerry Yu 2022-02-17 15:02:57 +08:00
  • 840fbb2817 guards populate_transform reference Jerry Yu 2022-02-17 14:59:29 +08:00
  • 4f9e3efbeb move session_save/load_tls12 Jerry Yu 2022-02-17 14:58:27 +08:00
  • d9d91da7c7 move sig_hash_* Jerry Yu 2022-02-17 14:57:06 +08:00
  • ee40f9d4b3 move get_key_exchange_md_tls12 Jerry Yu 2022-02-17 14:55:16 +08:00
  • 9bccc4c63f move populate_transform Jerry Yu 2022-02-17 14:38:28 +08:00
  • e93ffcd2c7 move tls_prf_get_type Jerry Yu 2022-02-17 14:37:06 +08:00
  • 392112c058 move tls12prf_from_cs Jerry Yu 2022-02-17 14:34:10 +08:00
  • 0b3d7c1ea1 move parse_finished Jerry Yu 2022-02-17 14:30:51 +08:00
  • 3c8e47bbbf move write_finished Jerry Yu 2022-02-17 14:30:01 +08:00
  • 2a9fff571d move wrapup Jerry Yu 2022-02-17 14:28:51 +08:00
  • aef0015ba0 move wrapup_free_hs_transform Jerry Yu 2022-02-17 14:27:31 +08:00
  • b7ba49ef74 move calc_finished_tls_sha384 Jerry Yu 2022-02-17 14:25:53 +08:00
  • 615bd6f5b9 move calc_finished_tls_sha256 Jerry Yu 2022-02-17 14:25:15 +08:00
  • d952669ad8 move write_certificate Jerry Yu 2022-02-17 14:23:47 +08:00
  • c2c673da59 move resend_hello_request Jerry Yu 2022-02-17 14:20:39 +08:00
  • ce3dca4175 move psk_derive_premaster Jerry Yu 2022-02-17 14:16:37 +08:00
  • c1cb384708 move calc_verify_tls_sha384 Jerry Yu 2022-02-17 14:13:48 +08:00
  • 8392e0dae4 move calc_verify_tls_sha256 Jerry Yu 2022-02-17 14:10:24 +08:00
  • d62f87e151 move derive_keys Jerry Yu 2022-02-17 14:09:02 +08:00
  • 2a7b5ac791 move compute_master Jerry Yu 2022-02-17 14:07:00 +08:00
  • d6ab235972 move use_opaque_psk Jerry Yu 2022-02-17 14:03:43 +08:00
  • f009d86186 move set_handshake_prfs Jerry Yu 2022-02-17 14:01:37 +08:00
  • dc7bd17d11 move tls_prf_sha256/384 Jerry Yu 2022-02-17 13:44:15 +08:00
  • ed14c93008 add static prototypes Jerry Yu 2022-02-17 13:40:45 +08:00
  • baa4934e7b Add check tests Jerry Yu 2022-02-15 10:26:40 +08:00
  • 53d23e2c95 Guards tls_prf functions with TLS1_2 Jerry Yu 2022-02-09 16:25:09 +08:00
  • c73c618094 Wrap function not used by test_tls13_only Jerry Yu 2022-02-08 20:29:25 +08:00
  • bd19287a8e fix docs issue Jerry Yu 2022-02-08 10:20:53 +08:00
  • bef175db96 Wrap derive_keys with TLS1_2 option Jerry Yu 2022-01-28 10:52:05 +08:00
  • cc43c6bee5 fix coding style issue Jerry Yu 2022-01-28 10:24:45 +08:00
  • 6331909d12 remove ifndef guard Jerry Yu 2022-01-28 10:22:45 +08:00
  • e754193e87 Remove guard inside ssl_srv.c Jerry Yu 2022-01-28 10:21:24 +08:00
  • fb4b6478ee tls13_only: improve guards of files. Jerry Yu 2022-01-27 15:03:26 +08:00
  • db8c48aaff tls13_only:Remove unnecessary functions Jerry Yu 2022-01-27 14:54:54 +08:00
  • 7d2396332d fix wrong setting of max_minor version Jerry Yu 2022-01-27 14:16:44 +08:00
  • 81d5e1feca fix various issues Jerry Yu 2022-01-27 13:01:01 +08:00
  • adb1869f8d fix document about tls13 Jerry Yu 2022-01-27 12:55:32 +08:00
  • 72a0565e13 docs: Add version support description Jerry Yu 2022-01-25 14:36:30 +08:00
  • da5af22015 tls13_only: add tls13_only test component Jerry Yu 2021-12-24 18:45:45 +08:00
  • c5aef88be6 tls13_only: guard ssl_{cli,srv}.c with TLS1_2 Jerry Yu 2021-12-23 20:15:02 +08:00
  • ab08290c09 tls13_only: skip tls12 tests. Jerry Yu 2021-12-23 18:02:22 +08:00
  • 8a497205cc tls13_only: tls 1.3 suite pass Jerry Yu 2021-12-23 17:28:52 +08:00
  • c10f6b4735 tls13_only: simple test pass Jerry Yu 2021-12-23 17:16:42 +08:00
  • c3091b1c8c tls13_only: compile pass Jerry Yu 2021-12-23 14:57:39 +08:00
  • e0a6412d8d tls13_only: check_config pass Jerry Yu 2021-12-23 11:06:26 +08:00
  • 9c6a69274a Merge pull request #5551 from gilles-peskine-arm/jinja-markupsafe-2.1-dependency Paul Elliott 2022-02-20 16:00:41 +00:00
  • 7b2804bb3b Require an older version of markupsafe for the sake of older Jinja2 Gilles Peskine 2022-02-19 20:28:21 +01:00
  • 5dcbc4d326 Changes name of iv_check to iv_len_validity Thomas Daubney 2022-02-17 13:46:27 +00:00
  • 0bd08e7ac0 Initialise buffer before use Thomas Daubney 2022-02-17 13:38:26 +00:00
  • cbe5ba500a Add tests for mbedtls_psa_hkdf_expand Gabor Mezei 2022-02-17 11:52:12 +01:00
  • d70fa0e327 Restructure error handling in mbedtls_pk_verify_ext Andrzej Kurek 2022-02-17 10:51:15 -05:00
  • 3015148ae6 Improving readability pespacek 2022-02-17 15:18:47 +01:00
  • 3a066ec999 Initialise iv buffer before use Thomas Daubney 2022-02-17 12:01:28 +00:00
  • 8e3602569b Typo Gabor Mezei 2022-02-17 11:50:02 +01:00
  • 4e921870b1 Merge pull request #5546 from SiliconLabs/mbedtls-2.28/feature/PSEC-3195-PSA-test-suites-NOT-using-UID-0 Manuel Pégourié-Gonnard 2022-02-17 11:49:41 +01:00
  • 4fa604cc3b Merge pull request #5511 from SiliconLabs/feature/PSEC-3195-PSA-test-suites-NOT-using-UID-0 Manuel Pégourié-Gonnard 2022-02-17 11:49:33 +01:00
  • 57b1ff39c2 Merge pull request #5377 from hanno-arm/ecp_add_mixed_fewer_mpis Gilles Peskine 2022-02-17 10:27:18 +01:00
  • 41618da50e Clarify backward compatibility requirement Gilles Peskine 2022-02-16 22:32:12 +01:00
  • 3d1f8b9c00 Merge pull request #5532 from ronald-cron-arm/tls13_and_use_psa_crypto Manuel Pégourié-Gonnard 2022-02-16 17:33:47 +01:00