Commit Graph

  • f886241f86 test_driver_aead.c: add support for LIBTESTDRIVER1 tests Przemek Stekiel 2022-10-02 21:01:23 +02:00
  • fb8ac46add Change the name of servername when re-connect Xiaokang Qian 2022-10-08 11:09:54 +00:00
  • be98f96de2 Remove useless hostname check in server side Xiaokang Qian 2022-10-08 11:09:20 +00:00
  • 6af2a6da74 Fix session save-load overflow issue Xiaokang Qian 2022-10-08 10:50:19 +00:00
  • ecd7528c7f Address some comments Xiaokang Qian 2022-09-28 07:11:02 +00:00
  • 281fd1bdd8 Add server name check when proposeing pre-share key Xiaokang Qian 2022-09-20 11:35:41 +00:00
  • 8b56f23db2 all.sh: add testing of AEAD drivers with libtestdriver1 Przemek Stekiel 2022-10-02 20:58:39 +02:00
  • c2e95fa2b3 Merge pull request #6394 from mprse/enc_types_2_28_backport Gilles Peskine 2022-10-12 12:45:52 +02:00
  • 8fd3254cfc Merge pull request #6374 from mprse/enc_types Gilles Peskine 2022-10-12 12:45:50 +02:00
  • 78317c832b Merge pull request #6327 from yuhaoth/pr/tls13-psk-after-session-tickets Ronald Cron 2022-10-12 12:39:51 +02:00
  • 3211bbb428 Print the list of failed suites in verbose mode Manuel Pégourié-Gonnard 2022-10-11 10:48:32 +02:00
  • ea37bb2403 Add changelog entry Przemek Stekiel 2022-10-12 10:11:25 +02:00
  • ee1bb4145f Make sure that disabled features are not included in image and fix test config Przemek Stekiel 2022-10-11 11:52:25 +02:00
  • fcee740b83 Automatically enable PK_PARSE for RSA in PSA Gilles Peskine 2022-10-11 21:15:24 +02:00
  • aef1ba679d Add build with a typical configuration for a PSA crypto service Gilles Peskine 2022-10-11 21:05:06 +02:00
  • fd94304f9d PSA RSA needs pk_write Gilles Peskine 2022-10-11 20:59:29 +02:00
  • 58e5d804ee test_suite_pk: Add missing dependencies on MBEDTLS_PEM_PARSE_C Gilles Peskine 2022-10-11 20:57:38 +02:00
  • d23d8dee24 test_suite_dhm: Add missing dependencies on MBEDTLS_PEM_PARSE_C Gilles Peskine 2022-10-11 20:53:20 +02:00
  • 9624a5932e Add mbedtls_dhm_parse_dhmfile test case with DER input Gilles Peskine 2022-10-11 20:52:34 +02:00
  • 301e866f55 Merge pull request #6398 from gilles-peskine-arm/bignum-mbedtls_test_read_mpi_core-char Janos Follath 2022-10-11 15:08:06 +01:00
  • c79742303d Remove unnecessary empty line and fix format issue Jerry Yu 2022-10-11 21:22:33 +08:00
  • 8221f84034 Merge pull request #6402 from gilles-peskine-arm/config.py-python-version-2.28 Manuel Pégourié-Gonnard 2022-10-11 12:57:24 +02:00
  • 74b748dafe Merge pull request #6401 from gilles-peskine-arm/config.py-python-version-development Manuel Pégourié-Gonnard 2022-10-11 12:57:19 +02:00
  • 22c18c1432 Add NULL check in prepare hello Jerry Yu 2022-10-11 15:58:51 +08:00
  • c2bfaf00d9 fix wrong typo Jerry Yu 2022-10-11 15:55:52 +08:00
  • ac6c67053d Print the list of failed suites in verbose mode Manuel Pégourié-Gonnard 2022-10-11 10:48:32 +02:00
  • d61a4d3d1a Fix missing guard and double-space Przemek Stekiel 2022-10-11 09:40:40 +02:00
  • b50e433b66 Test mbedtls_mpi_core_bitlen Gilles Peskine 2022-10-09 21:17:26 +02:00
  • e943283f2f More mbedtls_mpi_bitlen test cases Gilles Peskine 2022-10-09 21:16:51 +02:00
  • 24baa81043 Improve mbedtls_mpi_bitlen test descriptions Gilles Peskine 2022-10-09 21:16:28 +02:00
  • c5772a194e mbedtls_test_read_mpi_core: allow odd number of hex digits Gilles Peskine 2022-10-09 21:14:09 +02:00
  • 78c34c2d15 Add a note that config.py must remain compatible with Python 3.4 Gilles Peskine 2022-10-10 22:52:30 +02:00
  • cf42536d4e Add a note that config.py must remain compatible with Python 3.4 Gilles Peskine 2022-10-10 22:52:30 +02:00
  • 6eaa75a79d fixed docstring sentence Asfandyar Orakzai 2022-10-10 19:55:40 +02:00
  • 1b5c85c75b Merge pull request #6386 from gilles-peskine-arm/bignum-mbedtls_test_read_mpi_core Janos Follath 2022-10-10 15:14:46 +01:00
  • f9c91cea19 Merge pull request #6387 from gilles-peskine-arm/bignum-mbedtls_test_read_mpi_core-2.28 Janos Follath 2022-10-10 15:14:36 +01:00
  • 4f77ecf409 disable session resumption when ticket expired Jerry Yu 2022-10-10 22:10:08 +08:00
  • 03aa174d7c Improve test message and title Jerry Yu 2022-10-10 21:48:37 +08:00
  • 0d72141ead Revert "Add MBEDTLS_CIPHER_MODE_AEAD dependency to auth_crypt_tv() test function" Przemek Stekiel 2022-10-10 14:41:13 +02:00
  • 6916e70521 fix various issues Jerry Yu 2022-10-10 21:33:51 +08:00
  • 44ba2f6db9 Add more test cases Gabor Mezei 2022-10-10 15:32:12 +02:00
  • a67a1a3ebc Remove the 'is_fail' parameter from the test functions Gabor Mezei 2022-10-10 15:25:59 +02:00
  • 21092062f3 Restrict cipher suite validation to TLS1.3 Jerry Yu 2022-10-10 21:21:31 +08:00
  • fa6094185e Revert: Enable Key Wrapping mode for 128-bit block ciphers Przemek Stekiel 2022-10-10 14:34:09 +02:00
  • d7edb1d225 Initialize variable Gabor Mezei 2022-10-10 14:32:09 +02:00
  • e9c013c222 Handle if parameters are alised Gabor Mezei 2022-10-10 14:26:57 +02:00
  • 7aca4e44fe Fix session tickets related build flags in fuzz_server and ssl_server2 Przemek Stekiel 2022-10-10 14:14:13 +02:00
  • 97d5740b7a Fix MBEDTLS_SSL_TICKET_C, MBEDTLS_SSL_SESSION_TICKETS dependencies Przemek Stekiel 2022-10-10 14:08:51 +02:00
  • 1834a2e985 Reword change log entry Przemek Stekiel 2022-10-10 11:41:30 +02:00
  • 1f02c6c25e Reword change log entry Przemek Stekiel 2022-10-10 11:41:30 +02:00
  • 68a01a6720 Fix session tickets related build flags in fuzz_server and ssl_server2 Przemek Stekiel 2022-10-10 11:31:58 +02:00
  • d71eb0c3ac Use better test macro Gabor Mezei 2022-10-10 13:09:04 +02:00
  • d6441da4c5 Remove redundant memory initialization Gabor Mezei 2022-10-10 13:05:16 +02:00
  • 251cb632f1 Remove unused macro definition Gabor Mezei 2022-10-10 13:02:21 +02:00
  • 52a428b824 Fix MBEDTLS_SSL_TICKET_C, MBEDTLS_SSL_SESSION_TICKETS dependencies Przemek Stekiel 2022-10-10 08:47:13 +02:00
  • 42bb3ff40b Adapt expected results in ChaCha20-Poly1305 ( invalid tag length) Przemek Stekiel 2022-10-10 07:28:40 +02:00
  • 88ade84735 psa_aead_setup: remove redundant tag length check Przemek Stekiel 2022-10-08 17:56:18 +02:00
  • 6ab50762e0 psa_aead_setup: validate tag length before calling driver setup Przemek Stekiel 2022-10-08 17:54:30 +02:00
  • 63b06ea06e Update test cases Jerry Yu 2022-10-08 14:24:46 +08:00
  • 03b8f9d299 Adjust guards for dummy_tickets Jerry Yu 2022-10-08 12:40:33 +08:00
  • a99cbfa2d3 fix various issues Jerry Yu 2022-10-08 11:17:14 +08:00
  • 40afab61a8 Add ciphersuite check in set_session Jerry Yu 2022-10-08 10:42:13 +08:00
  • 21f9095fa8 Revert "move ciphersuite validation to set_session" Jerry Yu 2022-10-08 10:30:53 +08:00
  • 379b91a393 add ticket age check Jerry Yu 2022-10-08 10:21:15 +08:00
  • 36b33ba42f Restore platform.h inclusion in error.c Gilles Peskine 2022-10-07 19:23:11 +02:00
  • 9c764bfd72 MBEDTLS_PLATFORM_VSNPRINTF_ALT requires MBEDTLS_PLATFORM_C Gilles Peskine 2022-09-18 14:05:23 +02:00
  • d84ed27935 No need to use MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED in tests Gilles Peskine 2022-09-15 21:05:04 +02:00
  • 0b7229d8c4 Include platform.h unconditionally: fixes undefined mbedtls_setbuf Gilles Peskine 2022-09-15 20:26:49 +02:00
  • 445aa5e1c1 Document the base state of platform abstraction Gilles Peskine 2022-09-15 20:19:01 +02:00
  • 7705a4614e Include platform.h unconditionally: gcm Gilles Peskine 2022-09-15 20:14:22 +02:00
  • 91e20a0580 Refactor macro-spanning ifs in ecdh.c David Horstmann 2022-10-06 19:11:28 +01:00
  • fc735dffd6 Refactor macro-spanning ifs in ecp.c David Horstmann 2022-10-06 19:11:04 +01:00
  • 8a7629fd0f Refactor macro-spanning if in asn1write.c David Horstmann 2022-10-06 18:57:57 +01:00
  • 2788f6b668 Refactor macro-spanning if in sha512.c David Horstmann 2022-10-06 18:45:09 +01:00
  • 687262ca7d Refactor macro-spanning if in sha256.c David Horstmann 2022-10-06 17:54:57 +01:00
  • 21b89761f8 Refactor macro-spanning if in ssl_tls13_server.c David Horstmann 2022-10-06 18:34:28 +01:00
  • 10be134d8e Refactor macro-spanning if in ssl_msg.c David Horstmann 2022-10-06 18:31:25 +01:00
  • 4a28563e84 Refactor macro-spanning ifs in ssl_client.c David Horstmann 2022-10-06 18:30:10 +01:00
  • e0af39a2ef Refactor macro-spanning ifs in ssl_tls12_server.c David Horstmann 2022-10-06 18:19:18 +01:00
  • 96d4770bde Merge pull request #6393 from KloolK/development Janos Follath 2022-10-07 08:43:43 +01:00
  • 86679c7bd8 psa_validate_tag_length(): use PSA_WANT_ALG_xxx instead MBEDTLS_PSA_BUILTIN_ALG_xxx guards Przemek Stekiel 2022-10-06 17:06:56 +02:00
  • 4a698341c9 Re-org selected_identity parser Jerry Yu 2022-09-30 12:22:01 +08:00
  • 6183cc7470 Re-org binders writer Jerry Yu 2022-09-30 11:08:57 +08:00
  • f75364bee1 Re-organize identities writer Jerry Yu 2022-09-30 10:30:31 +08:00
  • 8b41e893a2 fix various issues Jerry Yu 2022-09-30 10:00:20 +08:00
  • 19ae6f62c7 move ciphersuite validation to set_session Jerry Yu 2022-09-30 09:22:21 +08:00
  • 25ab654781 Add dummy ticket support Jerry Yu 2022-09-15 18:32:34 +08:00
  • b300e3c5be add selected_identity parser Jerry Yu 2022-09-28 22:12:07 +08:00
  • 1a0a0f4416 Add binders writer Jerry Yu 2022-09-28 22:11:02 +08:00
  • f7c125917c Add identites writer Jerry Yu 2022-09-28 22:09:38 +08:00
  • 0c6105bc9e empty pre_shared_key functions Jerry Yu 2022-08-12 17:26:40 +08:00
  • 8897c07075 Add server only guards for psk callback Jerry Yu 2022-08-12 13:56:53 +08:00
  • b21bbef061 Refactor macro-spanning if in ssl_tls12_client.c David Horstmann 2022-10-06 17:49:31 +01:00
  • 3b2276a439 Refactor macro-spanning ifs in ssl_tls.c David Horstmann 2022-10-06 14:49:08 +01:00
  • 8a05a646f4 Remove psa_driver_get_tag_len() and use PSA_ALG_AEAD_GET_TAG_LENGTH macro instead Przemek Stekiel 2022-10-06 17:01:58 +02:00
  • c1ceae4848 crypto_config_test_driver_extension.h: add support for ChaCha20 - Poly1305 Przemek Stekiel 2022-10-05 08:18:55 +02:00
  • ff1efc9a84 psa_aead_check_nonce_length: Fix unused variable warining Przemek Stekiel 2022-10-02 21:12:17 +02:00
  • 0763ccf04f Refactor ARIA_SELF_TEST_IF_FAIL macro David Horstmann 2022-10-06 14:32:30 +01:00
  • 0a48eaebc6 Add changelog entry: tls 1.2 builds with single encryption type Przemek Stekiel 2022-10-05 09:46:35 +02:00
  • efc894bf54 Add GCM dependency to "Per-version suites: TLS 1.2" Przemek Stekiel 2022-10-06 12:15:21 +02:00