Commit Graph

  • 6848a61922 Revert "Replace internal usage of mbedtls_ssl_is_handshake_over" Jerry Yu 2022-10-27 13:03:26 +08:00
  • e219c11b4e Replace internal usage of mbedtls_ssl_is_handshake_over Jerry Yu 2022-10-24 01:27:01 +00:00
  • 0b61217c36 set new_session_ticket_* to handshake_over Jerry Yu 2022-10-12 15:29:58 +08:00
  • 6969eee5d2 Remove Terminated message on 22.04 Jerry Yu 2022-10-10 10:25:26 +08:00
  • 9ac62c3a97 Explain space preservation Gilles Peskine 2022-11-18 22:27:37 +01:00
  • 268ea5a9b0 Typos in comments Gilles Peskine 2022-11-18 22:26:03 +01:00
  • 45747a0779 Add test cases for comment nesting Gilles Peskine 2022-11-18 22:25:18 +01:00
  • 18f48eb48e Fix intended backslash in test data Gilles Peskine 2022-11-18 22:24:56 +01:00
  • 821d862159 Merge pull request #6624 from xkqian/tls13_disable_early_data_test Ronald Cron 2022-11-18 14:54:22 +01:00
  • 61ea17d30a tls: psa_pake: fix return values in parse functions Valerio Setti 2022-11-18 12:11:00 +01:00
  • 4e83173bb7 Skip early data basic check temp Xiaokang Qian 2022-11-18 10:57:46 +00:00
  • 597e87eb48 Merge pull request #974 from ronald-cron-arm/buffer-overflow-in-cid-fix-2.28 Manuel Pégourié-Gonnard 2022-11-18 09:48:15 +01:00
  • b7805b0a67 Merge pull request #972 from ronald-cron-arm/buffer-overflow-in-cid-fix Manuel Pégourié-Gonnard 2022-11-18 09:48:12 +01:00
  • ba7c006222 Merge pull request #6466 from mprse/driver-only-hash-ci Manuel Pégourié-Gonnard 2022-11-18 09:31:13 +01:00
  • aca21b717c tls: psa_pake: enforce not empty passwords Valerio Setti 2022-11-17 18:17:01 +01:00
  • 819de86895 tls: removed extra white spaces and other minor fix Valerio Setti 2022-11-17 18:05:19 +01:00
  • 6b3dab03b5 tls: psa_pake: use a single function for round one and two in key exchange read/write Valerio Setti 2022-11-17 17:14:54 +01:00
  • 9bed8ec5d8 tls: psa_pake: make round two reading function symmatric to the writing one Valerio Setti 2022-11-17 16:36:19 +01:00
  • 30ebe11f86 tls: psa_pake: add a check on read size on both rounds Valerio Setti 2022-11-17 16:23:34 +01:00
  • a988364767 tls: psa_pake: fix missing new round one parsing function on tls12 server Valerio Setti 2022-11-17 15:34:59 +01:00
  • a08b1a40a0 tls: psa_pake: move move key exchange read/write functions to ssl_tls.c Valerio Setti 2022-11-17 15:10:02 +01:00
  • f6e342cae2 Add test for single signature alg with openssl archive/dev/fix_tls12_sent_sigalgs Paul Elliott 2022-11-17 12:50:29 +00:00
  • 3b4cedaa71 Add SSL_SRV requirement to test Paul Elliott 2022-11-17 12:47:10 +00:00
  • ec71b0937f Introduce a test for single signature algorithm correctness Andrzej Kurek 2022-11-15 10:21:50 -05:00
  • 96a0fd951f Fix signature algorithms list entry getting overwritten by length. Paul Elliott 2022-11-08 17:09:56 +00:00
  • 7345073aaf Add ChangeLog Ronald Cron 2022-11-16 11:04:48 +01:00
  • f385fcebee tls: Fix in_cid buffer size in transform structure Ronald Cron 2022-11-16 10:23:05 +01:00
  • 5dc7999946 Simplify the change log Ronald Cron 2022-11-17 14:51:52 +01:00
  • 369ae0afc3 Zeroize pake password buffer before free Przemek Stekiel 2022-11-17 14:14:31 +01:00
  • 152ae07682 Change password ec j-pake operation fields to more suitable Przemek Stekiel 2022-11-17 13:24:36 +01:00
  • d12922a69a Merge pull request #6486 from xkqian/tls13_add_early_data_indication Ronald Cron 2022-11-17 12:48:50 +01:00
  • 85c54ea361 Allow providing space sepatated tasks Przemek Stekiel 2022-11-17 11:50:23 +01:00
  • ae7cbd7576 Express abs(z) in a way that satisfies GCC and MSVC Gilles Peskine 2022-11-15 23:25:27 +01:00
  • de1629aff9 Fix undefined behavior with the most negative mbedtls_mpi_sint Gilles Peskine 2022-11-15 23:02:14 +01:00
  • 103cf59e46 Fix NULL+0 in addition 0 + 0 Gilles Peskine 2022-11-15 22:59:00 +01:00
  • cab02f6bc8 Document mbedtls_mpi_uint and mbedtls_mpi_sint Gilles Peskine 2022-11-15 21:22:27 +01:00
  • e9622ac4ba Remove the fore_tls13 option case from client side Xiaokang Qian 2022-11-17 09:23:32 +00:00
  • 8c0eb9744c Must call mbedtls_mpi_mod_modulus_init() before anything else in tests Tom Cosgrove 2022-11-17 08:48:12 +00:00
  • 542d932352 Fix handling of default value for task argument Przemek Stekiel 2022-11-17 09:43:34 +01:00
  • e48eb04723 test dev/gilles-peskine-arm/all.sh-modern-ubsan Gilles Peskine 2022-11-16 17:00:14 +01:00
  • d3e14f9baa Update the Travis "full" build to use modern Clang Gilles Peskine 2022-11-16 16:28:53 +01:00
  • 1def5becc2 Add psa_get_and_lock_key_slot_with_policy to header file Przemyslaw Stekiel 2022-11-16 12:00:26 +01:00
  • 7c7954842b Adapt ec-jpake_setup test Przemek Stekiel 2022-11-15 22:26:12 +01:00
  • 0f0b548519 Limit ChangeLog entry to 80 characters Tom Cosgrove 2022-11-16 14:23:51 +00:00
  • 045158cac3 Merge pull request #6607 from gilles-peskine-arm/negative-zero-from-add-development Janos Follath 2022-11-16 14:06:16 +00:00
  • e530b5b4c4 Merge pull request #6579 from gilles-peskine-arm/negative-zero-from-add-2.28 Janos Follath 2022-11-16 14:06:04 +00:00
  • 6419ab5299 Reduce number of skipped suites (after making configs more similar) Przemek Stekiel 2022-11-16 12:57:06 +01:00
  • 52d8e96ff6 Disable PSA_WANT_ALG_STREAM_CIPHER, PSA_WANT_ALG_ECB_NO_PADDING also in reference config Przemek Stekiel 2022-11-16 12:55:27 +01:00
  • 6f1b5741ae tls12: psa_pake: simplify EC info parsing in server's 2nd round Valerio Setti 2022-11-16 10:00:32 +01:00
  • 4a9caaa0c9 tls12: psa_pake: check elliptic curve's TLS ID on handshake Valerio Setti 2022-11-16 08:17:09 +01:00
  • fbbc1f3812 tls12: psa_pake: use proper defines for the output size of each step in ECJPAKE Valerio Setti 2022-11-15 16:39:55 +01:00
  • 4da2bd6f7e Use modern Clang rather than old GCC for full-config ASan+UBSan test Gilles Peskine 2022-11-16 14:34:16 +01:00
  • bc0ff75455 Fix NULL+0 undefined behavior in ECB encryption and decryption Gilles Peskine 2022-10-22 19:57:16 +02:00
  • 02c25b5f83 tls12: psa_pake: use common code for parsing/writing round one and round two data Valerio Setti 2022-11-15 14:08:42 +01:00
  • f3be7ccade Keep drivers enabled also in reference build Przemek Stekiel 2022-11-16 12:53:20 +01:00
  • e7bab00825 Update enabled guards for early data cases Xiaokang Qian 2022-11-16 08:51:01 +00:00
  • 9a1396bfcc Add ChangeLog Ronald Cron 2022-11-16 11:04:48 +01:00
  • 6b7c3ccfed Use .datax for make test, not .data Gilles Peskine 2022-11-15 23:54:26 +01:00
  • e9f92c4fbc tls: Fix in_cid buffer size in transform structure Ronald Cron 2022-11-16 10:23:05 +01:00
  • 0cc4320e16 Add EARLY_DATA guard to the early data extension in session ticket Xiaokang Qian 2022-11-16 08:43:50 +00:00
  • 51c5a8b561 Update ticket flag macros Xiaokang Qian 2022-11-16 08:32:51 +00:00
  • f3cefb4f4c Move early data test cases to tls13-misc.sh Xiaokang Qian 2022-11-16 03:23:46 +00:00
  • 2dbfedae4a Update early data test cases with latest code message Xiaokang Qian 2022-11-15 10:52:57 +00:00
  • 298f781948 Use .datax for make test, not .data Gilles Peskine 2022-11-15 23:54:26 +01:00
  • ef7f4e47b1 Express abs(z) in a way that satisfies GCC and MSVC Gilles Peskine 2022-11-15 23:25:27 +01:00
  • af601f9751 Fix undefined behavior with the most negative mbedtls_mpi_sint Gilles Peskine 2022-11-15 23:02:14 +01:00
  • db14a9d180 Fix NULL+0 in addition 0 + 0 Gilles Peskine 2022-11-15 22:59:00 +01:00
  • 6110a16555 Document mbedtls_mpi_uint and mbedtls_mpi_sint Gilles Peskine 2022-11-15 21:22:27 +01:00
  • 348410f709 Make a copy of the key in operation while setting pake password Przemek Stekiel 2022-11-15 22:22:07 +01:00
  • 23875ceb11 Fix autocucumber in documentation Gilles Peskine 2022-11-11 15:59:51 +01:00
  • b9b9026c53 Pacify pylint Gilles Peskine 2022-11-10 09:15:21 +01:00
  • 35af02171d Add negative zero as an input to automatically generated tests Gilles Peskine 2022-11-15 20:43:33 +01:00
  • ca6e8aac58 Support negative zero as MPI test input Gilles Peskine 2022-11-09 21:08:44 +01:00
  • 806c9588ef Changelog entry for the negative zero from add/sub Gilles Peskine 2022-11-09 22:05:52 +01:00
  • 4a768dd17d Fix negative zero created by (-A) + (+A) or (-A) - (-A) Gilles Peskine 2022-11-09 22:02:16 +01:00
  • 4cbbfd8d4e For binary operations, test both x op y and y op x Gilles Peskine 2022-11-09 21:57:52 +01:00
  • 128895775d Document invariants of MPI objects Gilles Peskine 2022-11-09 21:55:33 +01:00
  • 72ee1e3f3c Unify mbedtls_mpi_add_mpi and mbedtls_mpi_sub_mpi Gilles Peskine 2022-11-09 21:34:09 +01:00
  • 9f0ec53c4c add a test for EC-JPAKE compatibility in TLS1.2 Valerio Setti 2022-11-08 13:03:24 +01:00
  • aa88e0b86b Make configurations (driver, reference) as close as possible Przemek Stekiel 2022-11-15 13:21:14 +01:00
  • 32605b24be Merge pull request #6559 from ihsinme/patch-1 Gilles Peskine 2022-11-15 12:38:41 +01:00
  • 0fcc1cb4c2 Merge pull request #6583 from aditya-deshpande-arm/bugfix-dh_genprime Gilles Peskine 2022-11-15 12:38:38 +01:00
  • 2909f53740 Merge pull request #6604 from tom-cosgrove-arm/call-mbedtls_mpi_mod_modulus_init-first-cid-381893-381894 Gilles Peskine 2022-11-15 12:33:13 +01:00
  • 2cd5ce0c6b Fix various issues cause rebase to latest code Xiaokang Qian 2022-11-15 10:33:53 +00:00
  • 8d8266468b Merge pull request #6509 from valeriosetti/issue4577-backport Manuel Pégourié-Gonnard 2022-11-15 09:39:11 +01:00
  • edce0b42fb Merge pull request #6454 from valeriosetti/issue4577 Manuel Pégourié-Gonnard 2022-11-15 09:39:07 +01:00
  • f90111b2b5 Must call mbedtls_mpi_mod_modulus_init() before anything else in tests Tom Cosgrove 2022-11-15 06:15:15 +00:00
  • 72b9b17e11 Add comments to fix mini format issue Xiaokang Qian 2022-11-11 06:08:51 +00:00
  • 9a0aafbe79 Enable/disable MBEDTLS_SSL_EARLY_DATA for cases in ssl-opt.sh Xiaokang Qian 2022-11-10 10:45:43 +00:00
  • d384b64dd2 Merge branch 'development' into rfc9146_2 Dave Rodgman 2022-11-14 17:43:15 +00:00
  • d3068af2a8 Optimize code (tasks list initialization, task verification) Przemek Stekiel 2022-11-14 16:15:19 +01:00
  • d3f7df4b8a Adding unit test for mbedtls_x509write_csr_set_extension() Valerio Setti 2022-10-19 15:14:29 +02:00
  • 48e8fc737a Adding unit test for mbedtls_x509write_csr_set_extension() Valerio Setti 2022-10-19 15:14:29 +02:00
  • 5b98d73864 Linewrap for the benefit of Uncrustify David Horstmann 2022-11-10 18:55:00 +00:00
  • 1b9cb62702 Merge pull request #6573 from tom-cosgrove-arm/convert-mpi_mod_int-test-cases-to-hex Janos Follath 2022-11-14 12:04:09 +00:00
  • 5c03ec3429 Merge pull request #6575 from tom-cosgrove-arm/convert-mpi_mod_int-test-cases-to-hex-228 Janos Follath 2022-11-14 12:03:00 +00:00
  • 4d0ea7f4cc Merge pull request #6550 from minosgalanakis/minos/6017_add_montgomery_conversion Janos Follath 2022-11-14 11:12:13 +00:00
  • 8b6826d309 Revert "Add fake dependency to test CI" Przemek Stekiel 2022-11-14 08:33:47 +01:00
  • 733c76e08a Fix style issues pointed by pylint Przemek Stekiel 2022-11-14 08:33:21 +01:00
  • 402bb1ee90 Update documents and check Xiaokang Qian 2022-11-10 10:38:17 +00:00