Commit Graph

  • cf99beb8fe Improve naming consistency Manuel Pégourié-Gonnard 2022-02-08 10:54:26 +01:00
  • 839bb8a238 Fix an inaccuracy Manuel Pégourié-Gonnard 2022-02-08 10:33:41 +01:00
  • 80759c4917 Fix a few more typos Manuel Pégourié-Gonnard 2022-02-08 10:33:11 +01:00
  • 45c5768a74 Merge pull request #5434 from mprse/tls_use_psa Manuel Pégourié-Gonnard 2022-02-08 10:27:25 +01:00
  • 5d6053f548 Fix a typo Manuel Pégourié-Gonnard 2022-02-08 10:26:19 +01:00
  • 51f515a503 update based on comments Xiaofei Bai 2022-02-08 07:28:04 +00:00
  • 0ff8ac89f5 fix comments issues Jerry Yu 2022-02-08 10:10:48 +08:00
  • 08fb89d251 Require a driver prefix to be non-empty Gilles Peskine 2022-02-07 16:30:16 +01:00
  • 272ff9c309 Open a namespace for implementation-specific properties Gilles Peskine 2022-02-07 16:29:18 +01:00
  • 6c3b1a760a Allow comments in driver descriptions Gilles Peskine 2022-02-07 16:29:04 +01:00
  • c499e33ed0 ssl_msg.c: Change message in MBEDTLS_SSL_DEBUG_RET() to be the failed function name instead current function name Przemyslaw Stekiel 2022-02-07 15:12:05 +01:00
  • ff229cf639 Add debug message for wrong curve Manuel Pégourié-Gonnard 2022-02-07 12:00:32 +01:00
  • 422370d633 Improve a comment and fix some whitespace Manuel Pégourié-Gonnard 2022-02-07 11:55:21 +01:00
  • 6a0b1ef27e Merge pull request #5282 from AndrzejKurek/import-opaque-driver-wrappers Ronald Cron 2022-02-07 11:14:43 +01:00
  • 97f188289d Merge pull request #5502 from AndrzejKurek/backport-2-18-import-opaque-driver-wrappers Ronald Cron 2022-02-07 11:14:02 +01:00
  • c8a06feae6 ssl_msg.c: Optimize null/stream cipher decryption/encryption Przemyslaw Stekiel 2022-02-07 10:52:47 +01:00
  • 8ebed21216 Fix a few typos Manuel Pégourié-Gonnard 2022-02-07 10:23:49 +01:00
  • 539b9a52f9 Fix discussion of RSA-PSS salt length Manuel Pégourié-Gonnard 2022-02-07 10:19:08 +01:00
  • 8b8760885e Merge pull request #5465 from gilles-peskine-arm/cmake-test-suite-enumeration-2.28 Manuel Pégourié-Gonnard 2022-02-07 09:48:24 +01:00
  • d81e774083 Merge pull request #5463 from gilles-peskine-arm/cmake-test-suite-enumeration Manuel Pégourié-Gonnard 2022-02-07 09:48:23 +01:00
  • 98ef6dca68 Remove redundant new lines Przemyslaw Stekiel 2022-02-07 08:04:39 +01:00
  • d0c6a84dca Test driver: keep variable declarations first Andrzej Kurek 2022-02-04 09:05:50 -05:00
  • 28a7c06281 Test drivers: rename import call source to driver location Andrzej Kurek 2022-02-04 09:04:20 -05:00
  • 981a0ceeee Formatting and documentation fixes Andrzej Kurek 2022-02-03 09:42:47 -05:00
  • 96c8f9e89d Add tests for import hooks in the driver wrappers Andrzej Kurek 2022-02-04 07:12:30 -05:00
  • fcaef2ee4d doxygen: merge multiple descriptions of the same return codes Andrzej Kurek 2022-02-04 07:54:59 -05:00
  • d4c5c3d231 Remove obsolete calls to if_build_succeeded Gilles Peskine 2022-02-04 00:30:54 +01:00
  • fdddb9de8f Remove obsolete variable restoration or unset at the end of a component Gilles Peskine 2022-02-04 00:29:18 +01:00
  • 717d55edbe Remove obsolete cd at the end of a component Gilles Peskine 2022-02-04 00:25:06 +01:00
  • ca9cfcaed9 Stop CMake out of source tests running on 16.04 (continued) Gilles Peskine 2022-02-04 00:21:12 +01:00
  • 827dbd9d35 Remove obsolete calls to if_build_succeeded Gilles Peskine 2022-02-04 00:30:54 +01:00
  • c1247c0cbb Remove obsolete variable restoration or unset at the end of a component Gilles Peskine 2022-02-04 00:29:18 +01:00
  • 3bc3409edf Remove obsolete cd at the end of a component Gilles Peskine 2022-02-04 00:25:06 +01:00
  • a300099246 Stop CMake out of source tests running on 16.04 (continued) Gilles Peskine 2022-02-04 00:21:12 +01:00
  • f7c1f747e2 doxygen: merge multiple descriptions of the same return codes Andrzej Kurek 2022-02-03 11:30:54 -05:00
  • 59469d7c64 Test driver: keep variable declarations first Andrzej Kurek 2022-02-03 10:30:30 -05:00
  • ba4cadef14 Test drivers: rename import call source to driver location Andrzej Kurek 2022-02-03 10:27:01 -05:00
  • 333e0fac1d Formatting and documentation fixes Andrzej Kurek 2022-02-03 09:42:47 -05:00
  • 5648d577a4 Optimize psa_cipher_encrypt_helper() Przemyslaw Stekiel 2022-02-03 14:09:02 +01:00
  • 6928a5164d Compile mbedtls_ssl_cipher_to_psa() conditionally under MBEDTLS_USE_PSA_CRYPTO only Przemyslaw Stekiel 2022-02-03 13:50:35 +01:00
  • 8c010eb467 Fix comments, code style, remove debug code Przemyslaw Stekiel 2022-02-03 10:44:02 +01:00
  • 6b2eedd25f ssl_msg.c: add debug code for psa failures Przemyslaw Stekiel 2022-02-03 09:54:34 +01:00
  • 349a059f5f Merge pull request #5461 from gilles-peskine-arm/ssl-opt-self-signed-positive-2.28 Manuel Pégourié-Gonnard 2022-02-03 11:33:59 +01:00
  • 6f20595b6e Merge pull request #5462 from gilles-peskine-arm/ssl-test-pkey-message-clarity Manuel Pégourié-Gonnard 2022-02-03 11:33:03 +01:00
  • ca664c74a6 Merge pull request #5255 from AndrzejKurek/chacha-iv-len-16-fixes-2.x Manuel Pégourié-Gonnard 2022-02-03 11:31:34 +01:00
  • 141be6cc7f Fix missing check on server-chosen curve Manuel Pégourié-Gonnard 2022-01-25 11:46:19 +01:00
  • 0d63b84fa4 Add mbedtls_ssl_check_curve_tls_id() (internal) Manuel Pégourié-Gonnard 2022-01-18 13:10:56 +01:00
  • 3caa0edb9b Remove dead preprocessor code Manuel Pégourié-Gonnard 2022-01-18 12:41:48 +01:00
  • 4a0ac1f160 Remove mbedtls_psa_tls_ecpoint_to_psa_ec() Manuel Pégourié-Gonnard 2022-01-18 12:30:40 +01:00
  • 58d2383ef4 Remove mbedtls_psa_tls_psa_ec_to_ecpoint() Manuel Pégourié-Gonnard 2022-01-18 12:17:15 +01:00
  • 59753768f0 Simplify the definition of a macro Manuel Pégourié-Gonnard 2022-01-18 11:52:11 +01:00
  • bc4069596b Group related functions together Manuel Pégourié-Gonnard 2022-01-18 11:18:20 +01:00
  • e5119898e4 Improve a comment Manuel Pégourié-Gonnard 2021-12-09 11:45:03 +01:00
  • d66387f8fa Init psa status to PSA_ERROR_CORRUPTION_DETECTED Przemyslaw Stekiel 2022-02-03 08:55:33 +01:00
  • f4facef9ba Adapt ssl_decrypt_non_etm_cbc() test for psa crypto and remove redundant test cases Przemyslaw Stekiel 2022-02-02 21:31:04 +01:00
  • b97556e8d1 mbedtls_ssl_encrypt/decrypt_buf: remove dead code Przemyslaw Stekiel 2022-02-01 14:52:19 +01:00
  • dbd4882cd5 test_driver_rsa.c: Fix comment Przemyslaw Stekiel 2022-02-02 11:42:18 +01:00
  • 4576b91148 Compact the argument lists Przemyslaw Stekiel 2022-02-02 11:10:46 +01:00
  • 92d54fb41d Merge pull request #5444 from AndrzejKurek/use-psa-crypto-reduced-configs-2.28 Manuel Pégourié-Gonnard 2022-02-02 10:20:35 +01:00
  • 1ab2d6966c Merge pull request #5385 from AndrzejKurek/use-psa-crypto-reduced-configs Manuel Pégourié-Gonnard 2022-02-02 10:20:26 +01:00
  • f6ea19c66c Work around bug in PSA_MAC_LENGTH() Manuel Pégourié-Gonnard 2022-02-01 13:08:21 +01:00
  • f9cd60853f ssl_tls1X_populate_transform(): import psa keys only if alg is not MBEDTLS_SSL_NULL_CIPHER Przemyslaw Stekiel 2022-02-01 11:25:55 +01:00
  • 2467aed961 Misc updates to testing.md Manuel Pégourié-Gonnard 2022-02-01 10:42:30 +01:00
  • ce6c0875d1 Misc updates to strategy.md Manuel Pégourié-Gonnard 2022-02-01 10:34:20 +01:00
  • 8e559daaa8 Misc updates to psa-limitations.md Manuel Pégourié-Gonnard 2022-02-01 10:26:07 +01:00
  • 335cbf61da Remove temporary documents Manuel Pégourié-Gonnard 2022-02-01 09:55:45 +01:00
  • 12ec5719e7 Fix bug in md_hmac_demo Manuel Pégourié-Gonnard 2022-02-01 09:47:46 +01:00
  • 29088a4146 Avoid duplicate program names Manuel Pégourié-Gonnard 2022-02-01 09:38:26 +01:00
  • 6fdc9e8df1 Move aead_non_psa out of the psa/ directory Manuel Pégourié-Gonnard 2022-01-31 13:27:39 +01:00
  • b72ecfd5a0 Merge pull request #5468 from Unity-Technologies/mbedtls-2.28-windows-arm64-workaround Manuel Pégourié-Gonnard 2022-02-01 09:21:37 +01:00
  • 9cb7b8d263 Merge pull request #5469 from Unity-Technologies/windows-arm64-workaround Manuel Pégourié-Gonnard 2022-02-01 09:21:27 +01:00
  • cc50f1be43 Fix copypasta Gilles Peskine 2022-01-31 22:53:30 +01:00
  • 61156f8a6a Cap the workaround for mbedtls_mpi_safe_cond_assign on MSVC/ARM64 to MSVC versions prior to 17.1. Signed-off-by: Tautvydas Žilys <tautvydas.zilys@gmail.com> Tautvydas Žilys 2022-01-31 13:34:01 -08:00
  • 40fc7da101 Cap the workaround for mbedtls_mpi_safe_cond_assign on MSVC/ARM64 to MSVC versions prior to 17.1. Signed-off-by: Tautvydas Žilys <tautvydas.zilys@gmail.com> Tautvydas Žilys 2022-01-31 13:34:01 -08:00
  • 77aec8d181 Rename ssl_psa_status_to_mbedtls->psa_ssl_status_to_mbedtls Przemyslaw Stekiel 2022-01-31 20:22:53 +01:00
  • be47ecf5e2 mbedtls_ssl_get_record_expansion: use same condidion set as for non-psa build Przemyslaw Stekiel 2022-01-31 13:53:11 +01:00
  • a16ffaf811 Add a check in check_config.h for PK_WRITE_C when RSA is enabled Andrzej Kurek 2022-01-28 09:03:03 -05:00
  • 699290de04 Fix config-mini-tls1_1 PK_WRITE requirement when USA_PSA_CRYPTO is used Andrzej Kurek 2022-01-28 09:01:11 -05:00
  • 2c87a200a3 ssl_write_encrypt_then_mac_ext(): adapt to psa crypto Przemyslaw Stekiel 2022-01-31 10:59:30 +01:00
  • 89dad93a78 Rename psa_status_to_mbedtls->ssl_psa_status_to_mbedtls and add conversion for PSA_ERROR_INVALID_SIGNATURE Przemyslaw Stekiel 2022-01-31 09:18:07 +01:00
  • 2cb59df939 ssl-opt.sh: remove cipher context assertions (redundant when psa crypto is enabled) Przemyslaw Stekiel 2022-01-31 09:16:30 +01:00
  • 399ed51185 Fix condition in mbedtls_ssl_get_record_expansion Przemyslaw Stekiel 2022-01-31 08:38:00 +01:00
  • e5c2238a99 Move mbedtls_ssl_cipher_to_psa() and psa_status_to_mbedtls() defs out of MBEDTLS_KEY_EXCHANGE_SOME_PSK_ENABLED build flag Przemyslaw Stekiel 2022-01-25 00:56:34 +01:00
  • 4a36dd3da6 ssl test ssl_decrypt_non_etm_cbc(): add missing ret check Przemyslaw Stekiel 2022-01-25 00:43:58 +01:00
  • f4ca3f0e52 ssl test build_transforms(): in psa mode distinguish encrypt/decrypt keys Przemyslaw Stekiel 2022-01-25 00:25:59 +01:00
  • f57b45660d Rename tls_mbedtls_cipher_to_psa() to be consistent with function naming convention. Przemyslaw Stekiel 2022-01-25 00:04:18 +01:00
  • 1d714479a3 mbedtls_ssl_get_record_expansion: rework switch statement for psa Przemyslaw Stekiel 2022-01-24 23:46:50 +01:00
  • e88477844c Adapt the mbed tls mode: ccm or gcm or cachapoly to psa version Przemyslaw Stekiel 2022-01-24 23:19:21 +01:00
  • f4b3f087ae test_suite_ssl.data: remove redundant test cases(short tag + GCM) Przemyslaw Stekiel 2022-01-21 11:25:04 +01:00
  • 221b52791e ssl_msg.c: fix parm in call to mbedtls_ssl_decrypt_buf() Przemyslaw Stekiel 2022-01-20 09:18:44 +01:00
  • 5b2de0c35c test_suite_ssl.data: remove redundant test cases Przemyslaw Stekiel 2022-01-19 16:19:40 +01:00
  • 93cf4eea67 Adapt test_suite_ssl for psa crypto Przemyslaw Stekiel 2022-01-19 16:18:53 +01:00
  • 9b22c2b1e6 Rename: mbedtls_cipher_to_psa -> tls_mbedtls_cipher_to_psa Przemyslaw Stekiel 2022-01-19 16:09:58 +01:00
  • 6be9cf542f Cleanup the code Przemyslaw Stekiel 2022-01-19 16:00:22 +01:00
  • d4eab57933 Skip psa encryption/decryption for null cipher Przemyslaw Stekiel 2022-01-17 16:20:10 +01:00
  • ce09e7d868 Use psa_status_to_mbedtls() for psa error case Przemyslaw Stekiel 2022-01-17 16:03:22 +01:00
  • fe7397d8a7 Fix key attributes encrypt or decrypt only (not both) Przemyslaw Stekiel 2022-01-17 15:47:07 +01:00
  • dd7b501c92 Move PSA init after taglen is set Przemyslaw Stekiel 2022-01-17 15:28:57 +01:00
  • e87475d834 Move psa_status_to_mbedtls to ssl_misc.h Przemyslaw Stekiel 2022-01-17 15:23:04 +01:00
  • 8398a67e31 Fix description of the translation function Przemyslaw Stekiel 2022-01-17 14:52:42 +01:00