Commit Graph

  • 3f86a90261 Update test to handle changed error code Dave Rodgman 2021-11-16 12:05:38 +00:00
  • d69da6c3c3 Improve PSA error return code Dave Rodgman 2021-11-16 10:32:48 +00:00
  • 51070849fa mbedtls_ssl_handshake_params: use bytes for some small values Gilles Peskine 2021-11-16 16:34:14 +01:00
  • 4a13ebff39 Tweak whitespace for readability Gilles Peskine 2021-11-16 15:21:44 +01:00
  • b8006a66f2 PSA global data: move fields around to save code size Gilles Peskine 2021-11-08 22:20:03 +01:00
  • f5d7eef11f PSA operation structures: move less-used fields to the end Gilles Peskine 2021-11-08 22:12:47 +01:00
  • 2dcccbfc19 Fix function name in debug message Gabor Mezei 2021-11-16 13:34:05 +01:00
  • a3087e881e Fix finished message decryption fail issue XiaokangQian 2021-11-16 02:04:21 +00:00
  • fff613aa10 Fix list of LTS braches in CONTRIBUTING.md, and back link from BRANCHES.md Tom Cosgrove 2021-11-15 13:54:59 +00:00
  • 58efe6184e Fix builds when config.h only defines MBEDTLS_BIGNUM_C Tom Cosgrove 2021-11-15 09:59:53 +00:00
  • 9ec8fcfddd Improve failure messag for calculating verify data XiaokangQian 2021-11-15 08:24:08 +00:00
  • dce82245ac Fix the compile issue about prepare message XiaokangQian 2021-11-15 06:01:26 +00:00
  • 0fa6643eb5 Align coding stles and remove useless code XiaokangQian 2021-11-15 03:33:57 +00:00
  • 35dc625e37 Move the location of functions XiaokangQian 2021-11-11 08:16:19 +00:00
  • 8773aa0da9 Align coding styles in generic for client finish XiaokangQian 2021-11-10 07:33:09 +00:00
  • cc90c94413 Rebase and change code XiaokangQian 2021-11-09 12:30:09 +00:00
  • e1655e4db8 Change naming styles and fix ci failure XiaokangQian 2021-11-03 07:13:47 +00:00
  • c00ba81310 Remove MBEDTLS_SSL_NEW_SESSION_TICKET in TLS1.3 MVP XiaokangQian 2021-10-29 02:42:35 +00:00
  • eab1023dbf Fix some compiling errors for name mismatch XiaokangQian 2021-10-25 07:38:31 +00:00
  • 74af2a827e TLS1.3: Add client finish processing in client side XiaokangQian 2021-09-22 07:40:30 +00:00
  • a226ac9738 ssl_client2/ssl_server2: Rework ordering of cleanup Przemyslaw Stekiel 2021-11-10 10:46:11 +01:00
  • e9dea7c3b0 ssl_client2: move memory leak check before rng_free() Przemyslaw Stekiel 2021-11-03 14:19:52 +01:00
  • b66bc0ad4a Move psa_crypto_slot_management.h out from psa_crypto_helpers.h Przemyslaw Stekiel 2021-11-03 09:35:35 +01:00
  • d6e0a5824a ssl_client2/ssl_server2: Move is_psa_leaking() before mbedtls_psa_crypto_free() (and rng_free()) Przemyslaw Stekiel 2021-11-03 09:06:09 +01:00
  • 7c7fb877c6 ssl_client2, ssl_server2: add check for psa memory leaks Przemyslaw Stekiel 2021-10-26 14:32:10 +02:00
  • 834d229117 Fix dynamic library extension on macOS Gilles Peskine 2021-11-12 14:30:22 +01:00
  • bb41a88f2e Merge pull request #5120 from yuhaoth/pr/fix-memory-leak-and-version-header Ronald Cron 2021-11-12 13:49:26 +01:00
  • 28777db226 Merge pull request #4952 from xkqian/add_server_finished Ronald Cron 2021-11-12 12:30:10 +01:00
  • c1e79fd2e3 Enable CMAC for PSA crypto compliance tests Bence Szépkúti 2021-11-11 20:13:14 +01:00
  • 24ec529f82 Multipart AEAD is not supported in Mbed TLS 2.x Bence Szépkúti 2021-11-11 16:33:48 +01:00
  • 853c0da8de Fix for pkcs12 with NULL or zero length password Paul Elliott 2021-11-11 19:00:38 +00:00
  • e30fcb6ed5 Remove superfluous expected failures from list Bence Szépkúti 2021-11-11 16:24:19 +01:00
  • b9e1f2a3cf Update generated files Gabor Mezei 2021-11-11 15:42:41 +01:00
  • 84d739846c Update changelog with the new public API Gabor Mezei 2021-11-03 17:12:56 +01:00
  • dbe0f892b3 Fix documentation and comments Gabor Mezei 2021-11-03 16:13:32 +01:00
  • c0ae1cf45a Rename internal header constant_time.h to constant_time_internal.h Gabor Mezei 2021-10-20 12:09:35 +02:00
  • 18a44949d0 Rename constant-time functions to have mbedtls_ct prefix Gabor Mezei 2021-10-20 11:59:27 +02:00
  • f127a0e2b1 Remove unneeded include Gabor Mezei 2021-10-20 11:19:16 +02:00
  • da20651b73 Fix documentation Gabor Mezei 2021-10-20 11:18:37 +02:00
  • 61bf64fbd0 Bind functions' availability for config options Gabor Mezei 2021-10-20 11:17:43 +02:00
  • e24dea8225 Move mbedtls_cf_memcmp to a new public header Gabor Mezei 2021-10-19 12:22:25 +02:00
  • 6e0e990544 Add macro guard for header file Gabor Mezei 2021-10-19 11:27:17 +02:00
  • 2b35880d41 Bind functions' availability for config options Gabor Mezei 2021-10-18 17:05:06 +02:00
  • 4e2de62fef Remove unused function Gabor Mezei 2021-10-18 17:02:29 +02:00
  • fd8a42d914 Make functions static Gabor Mezei 2021-10-18 16:35:23 +02:00
  • 4b4e4d8880 Update documentation and comments Gabor Mezei 2021-10-18 16:28:27 +02:00
  • 91deea7765 Rename and reorder function parameters Gabor Mezei 2021-10-18 16:17:57 +02:00
  • 150bdee126 Use condition for not sensitive data Gabor Mezei 2021-10-18 16:12:45 +02:00
  • 3c38b6e9e1 Move implementation specific comment Gabor Mezei 2021-10-18 16:09:41 +02:00
  • 2c5ed2244b Make mbedtls_cf_size_mask_lt function static Gabor Mezei 2021-10-18 16:05:50 +02:00
  • d5a392aa2c Fix missing includes gabor-mezei-arm 2021-09-29 10:50:31 +02:00
  • 10117d673e Add changelog entry gabor-mezei-arm 2021-08-25 20:39:07 +02:00
  • 7e6a1eaf8f Add documentation for the functions gabor-mezei-arm 2021-08-11 16:40:35 +02:00
  • 1ffd0ccf02 Unify equality checker functions return value gabor-mezei-arm 2021-08-11 17:28:49 +02:00
  • 60febd5d8a Propagate usage of mask generation functions gabor-mezei-arm 2021-08-11 15:07:02 +02:00
  • 2f2c0bead3 Unify mask generation functions gabor-mezei-arm 2021-08-10 20:56:21 +02:00
  • 5e4882498e Unify function parameters gabor-mezei-arm 2021-08-10 20:36:09 +02:00
  • 378e7eb5cc Unify memcmp functions gabor-mezei-arm 2021-07-19 15:19:19 +02:00
  • 04087dffcd Typo: Unify indentation of function parameters gabor-mezei-arm 2021-09-27 16:29:52 +02:00
  • f52941ef73 Move mbedtls_cf_rsaes_pkcs1_v15_unpadding function to the constant-time module gabor-mezei-arm 2021-09-27 16:11:12 +02:00
  • c2aee6fc0b Move the constant-time part of mbedtls_rsa_rsaes_pkcs1_v15_decrypt to a function gabor-mezei-arm 2021-09-26 15:20:48 +02:00
  • bc3a288b2c Create mbedtls_cf_size_if function gabor-mezei-arm 2021-09-27 15:47:00 +02:00
  • b10301d2fc Move mbedtls_mpi_lt_mpi_ct function to the constant-time module gabor-mezei-arm 2021-09-27 15:41:30 +02:00
  • 58fc8a65ab Move mbedtls_mpi_safe_cond_swap function to the constant-time module gabor-mezei-arm 2021-09-27 15:37:50 +02:00
  • b8caeeed5c Move mbedtls_mpi_safe_cond_assign function to the constant-time module gabor-mezei-arm 2021-09-27 15:33:35 +02:00
  • 6e4ace6b40 Delete ssl_invasive.h due to duplicated function declarations gabor-mezei-arm 2021-09-27 14:36:10 +02:00
  • cb4317b723 Move mbedtls_cf_hmac function to the constant-time module gabor-mezei-arm 2021-09-27 14:28:31 +02:00
  • 0f7b9e43e9 Move mbedtls_cf_memcpy_offset function to the constant-time module gabor-mezei-arm 2021-09-27 13:57:45 +02:00
  • ee06febbb4 Move mbedtls_cf_memcpy_if_eq function to the constant-time module gabor-mezei-arm 2021-09-27 13:34:25 +02:00
  • 7b23c0b46d Move mbedtls_cf_mem_move_to_left function to the constant-time module gabor-mezei-arm 2021-09-27 13:31:06 +02:00
  • 043192d209 Move mbedtls_cf_mpi_uint_cond_assign function to the constant-time module gabor-mezei-arm 2021-09-27 13:17:15 +02:00
  • 5cec8b44a8 Move mbedtls_cf_cond_select_sign function to the constant-time module gabor-mezei-arm 2021-09-27 13:03:57 +02:00
  • 7533253125 Move mbedtls_cf_uint_if function to the constant-time module gabor-mezei-arm 2021-09-27 12:59:30 +02:00
  • 097d4f555e Move mbedtls_cf_mpi_uint_lt function to the constant-time module gabor-mezei-arm 2021-09-27 12:55:33 +02:00
  • 17da4f2a4e Remove module dependency gabor-mezei-arm 2021-09-27 12:47:06 +02:00
  • 9d7bf09333 Move mbedtls_cf_size_gt function to the constant-time module gabor-mezei-arm 2021-09-27 12:25:07 +02:00
  • 96584ddd4b Move mbedtls_cf_size_bool_eq function to the constant-time module gabor-mezei-arm 2021-09-27 12:15:19 +02:00
  • a2bcabceb2 Move mbedtls_cf_size_mask_ge function to the constant-time module gabor-mezei-arm 2021-09-27 11:58:31 +02:00
  • 4d6b14624e Move mbedtls_cf_size_mask_lt function to the constant-time module gabor-mezei-arm 2021-09-27 11:53:54 +02:00
  • d361ccd663 Move mbedtls_cf_size_mask function to the constant-time module gabor-mezei-arm 2021-09-27 11:49:42 +02:00
  • c11cac9f1b Move mbedtls_cf_uint_mask function to the constant-time module gabor-mezei-arm 2021-09-27 11:40:03 +02:00
  • 944c107744 Move contatnt-time memcmp functions to the contant-time module gabor-mezei-arm 2021-09-27 11:28:54 +02:00
  • e41e3e8a8b Rename function to have suitable name gabor-mezei-arm 2021-09-28 16:14:47 +02:00
  • 9055972227 Add a new file for constant-time functions gabor-mezei-arm 2021-07-12 16:31:22 +02:00
  • a4c99f2c2d Remove useless blank line XiaokangQian 2021-11-11 06:46:35 +00:00
  • c13f935c05 Align code styles of indent and so on XiaokangQian 2021-11-11 06:13:22 +00:00
  • 3306284776 Change code base on comments XiaokangQian 2021-11-11 03:37:45 +00:00
  • d6d234f698 Solve the ABI_API check issue for mbedtls_ssl_session XiaokangQian 2021-11-11 02:22:12 +00:00
  • 7fb54c5674 More explicit output for the test program Gilles Peskine 2021-11-10 21:04:24 +01:00
  • 2290afc2d4 Merge pull request #5142 from mprse/generate_key2_2x Gilles Peskine 2021-11-10 20:55:38 +01:00
  • f1a7ea88d1 Merge pull request #5092 from mprse/generate_key2 Gilles Peskine 2021-11-10 20:55:35 +01:00
  • b6a0299708 Avoid undefined variable warning without MBEDTLS_MD_C Gilles Peskine 2021-11-10 19:11:32 +01:00
  • 88e3e70df5 Use CMake's knowledge of what system library has dlopen() Gilles Peskine 2021-11-10 19:10:27 +01:00
  • f80a029f28 Don't build dlopen when building for Windows Gilles Peskine 2021-11-04 15:18:00 +01:00
  • 5dbee582a3 Only link with libdl on Linux Gilles Peskine 2021-11-04 15:07:28 +01:00
  • ca144597e8 Run the dlopen test in shared library builds Gilles Peskine 2021-11-04 12:52:14 +01:00
  • a7c247e87d New test app for dynamic loading of libmbed* with dlopen Gilles Peskine 2021-11-04 12:45:19 +01:00
  • 1dbaaba067 Build psa-arch-tests with MISSING_CRYPTO_1_0=1 Bence Szépkúti 2021-11-10 17:44:37 +01:00
  • d1c6420aba Move to a fork with Mbed TLS 2.x specific fixes Bence Szépkúti 2021-11-10 17:43:20 +01:00
  • 9ad859929e Merge pull request #5150 from tom-cosgrove-arm/serialise-builds-of-archives-on-windows_2.x Dave Rodgman 2021-11-10 15:41:40 +00:00