Commit Graph

  • 1fdf2c2d1c Fix build with gcc -Wshadow Gilles Peskine 2019-02-11 18:23:42 +01:00
  • 9597238058 ECDH: Make benchmarks check MBEDTLS_ERR_PLATFORM_FEATURE_UNSUPPORTED Christoph M. Wintersteiger 2019-02-06 18:06:15 +00:00
  • 6ea2dea1c5 3rdparty: Add additional build facilities for 3rd-party code Christoph M. Wintersteiger 2019-01-21 17:26:19 +00:00
  • 405b371a84 Silences missing documentation warning for MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED Christoph M. Wintersteiger 2019-01-17 13:40:58 +00:00
  • 78450a3dd1 ECDH: Disables MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED by default Christoph M. Wintersteiger 2019-01-17 12:17:54 +00:00
  • ea24394c03 ECDH: Fix whitespace and permission problems Christoph M. Wintersteiger 2019-01-07 14:12:25 +00:00
  • 0082f9df6f ECDSA: Add mbedtls_ecdsa_can_do Christoph M. Wintersteiger 2019-01-07 13:47:30 +00:00
  • 8a0f5bb3c1 Make check-names.sh find the right names in 3rdparty Christoph M. Wintersteiger 2018-12-14 15:46:34 +00:00
  • 1083a25a29 ECDH: Exclude FStar and Hacl* from exported symbol checks Christoph M. Wintersteiger 2018-12-14 13:34:06 +00:00
  • 7cc4c68eb6 Fix preprocessor directive recognition in list-enum-consts.pl Christoph M. Wintersteiger 2018-12-14 13:18:52 +00:00
  • 62dddd08fd Add new 3rdparty build scripts Christoph M. Wintersteiger 2018-12-14 13:07:50 +00:00
  • 2e724a18a1 ECDH: Fix Everest ECDH side type Christoph M. Wintersteiger 2019-01-07 14:19:41 +00:00
  • 24fbceff50 ECDH: Everest: Remove unnecessary file Christoph M. Wintersteiger 2018-12-14 12:36:10 +00:00
  • 3c449621ce ECDH: Fix error checks in benchmark.c Christoph M. Wintersteiger 2018-12-14 11:54:59 +00:00
  • 34811a8db2 ECDH: Use LOCAL_CFLAGS instead of CFLAGS Christoph M. Wintersteiger 2018-12-14 11:46:43 +00:00
  • c3cbddecb5 ECDH: Fix whitespace, permissions Christoph M. Wintersteiger 2018-12-14 11:03:02 +00:00
  • 999f3b53a1 ECDH: Remove YOTTA config #define Christoph M. Wintersteiger 2018-12-14 10:57:01 +00:00
  • 4936beb513 ECDH: Clean up the interface to Everest code Christoph M. Wintersteiger 2018-12-12 17:26:41 +00:00
  • 48d26c21c6 ECDH: Add Everest Curve25519 to VS project files Christoph M. Wintersteiger 2018-12-06 18:59:19 +00:00
  • 79acf95199 ECDH: Improve ECDH full handshake benchmark Christoph M. Wintersteiger 2018-12-07 13:32:59 +00:00
  • 6acfbb52d7 ECDH: Add #ifdef to cleanly disable the Everest code Christoph M. Wintersteiger 2018-12-07 13:19:53 +00:00
  • 86e36c4c2b ECDH: Replace hex literal with decimal in ecp.c Christoph M. Wintersteiger 2018-12-06 17:27:31 +00:00
  • fb72367f96 ECDH: Remove old code from mbedtls_everest_make_params Christoph M. Wintersteiger 2018-12-06 17:23:07 +00:00
  • fba94e9726 ECDH: Fix error code in mbedtls_ecdsa_sign Christoph M. Wintersteiger 2018-12-06 17:18:24 +00:00
  • 78c9c461cf ECDH: Fix typo in ecdh.c Christoph M. Wintersteiger 2018-12-06 17:16:32 +00:00
  • 65bab9772e ECDH: Rename full handshake benchmark Christoph M. Wintersteiger 2018-12-06 17:15:12 +00:00
  • 6817b9e819 ECDH: Add #ifdef filter to tests/scripts/list-enum-consts.pl Christoph M. Wintersteiger 2018-10-25 13:12:05 +01:00
  • c9f737b4ba ECDH: Enable Everest Curve25519 in ECDH/ECDSA/ECP Christoph M. Wintersteiger 2018-10-25 13:03:05 +01:00
  • 696dedaed6 ECDH: Add new (non-legacy) ECDH benchmark Christoph M. Wintersteiger 2018-10-25 12:47:18 +01:00
  • d5fd766c49 ECDH: Include Everest Curve25519 in build scripts Christoph M. Wintersteiger 2018-10-25 12:47:03 +01:00
  • de4fcf2ae3 ECDH: Add new ECDH context for Everest Curve25519 Christoph M. Wintersteiger 2018-10-25 12:41:04 +01:00
  • 2a9684e7c9 ECDH: Add VS2010 support files for Everest Curve25519 Christoph M. Wintersteiger 2018-10-25 12:32:55 +01:00
  • bee486146e ECDH: Add Everest Curve25519 to 3rdparty/everest Christoph M. Wintersteiger 2018-10-25 12:32:07 +01:00
  • c95d9eedbf Remove a redundant function call Ron Eldor 2019-04-14 17:36:10 +03:00
  • badbc32259 Update the crypto submodule k-stachowiak 2019-08-18 08:22:30 +02:00
  • 81053a5584 Use multipart PSA key derivation API k-stachowiak 2019-08-17 10:30:28 +02:00
  • b2d61e3742 Merge remote-tracking branch 'origin/pr/2792' into development Jaeden Amero 2019-08-27 08:32:27 +01:00
  • 472a2a2fcd Don't redefine calloc and free Jarno Lamsa 2019-08-23 13:13:52 +03:00
  • 9e90df58c0 Add changelog entry to record checking Jarno Lamsa 2019-08-23 09:08:31 +03:00
  • b7b486cfd1 Fix compiler warning Jarno Lamsa 2019-08-21 15:30:44 +03:00
  • 8c51b7cd94 Add debug messages Jarno Lamsa 2019-08-21 13:45:05 +03:00
  • bccf03591f Remove duplicate entries from ChangeLog Jarno Lamsa 2019-08-20 12:11:48 +03:00
  • b9ca1b0868 Fix parameter name in doxygen Jarno Lamsa 2019-08-20 12:05:57 +03:00
  • c84bd24224 Add missing guards for mac usage Jarno Lamsa 2019-08-16 12:06:56 +03:00
  • e458869b3f Improve reability and debugability of large if Manuel Pégourié-Gonnard 2019-07-29 12:28:52 +02:00
  • 4ca930f8b9 Fix a typo in a comment Manuel Pégourié-Gonnard 2019-07-26 16:31:53 +02:00
  • f041f4e19c Fix MSVC warning Manuel Pégourié-Gonnard 2019-07-24 00:58:27 +02:00
  • 9a96fd7ac3 Fix compile error in reduced configurations Manuel Pégourié-Gonnard 2019-07-23 17:11:24 +02:00
  • 45ac1f0c92 Avoid duplication of session format header Manuel Pégourié-Gonnard 2019-07-23 16:52:45 +02:00
  • 4e9370ba91 Implement config-checking header to context s11n Manuel Pégourié-Gonnard 2019-07-23 16:31:16 +02:00
  • 5c0e377532 Provide serialisation API only if it's enabled Manuel Pégourié-Gonnard 2019-07-23 16:13:17 +02:00
  • 5ea13b854a Fix compiler warning: comparing signed to unsigned Manuel Pégourié-Gonnard 2019-07-23 15:02:54 +02:00
  • 9df5a82079 Actually reset the context on save as advertised Manuel Pégourié-Gonnard 2019-07-23 14:51:09 +02:00
  • 142ba736d9 Re-use buffer allocated by handshake_init() Manuel Pégourié-Gonnard 2019-07-23 14:43:30 +02:00
  • 862b3196d6 Enable serialisation tests in ssl-opt.sh Manuel Pégourié-Gonnard 2019-07-23 14:13:43 +02:00
  • 13c8e68477 Change requirements for setting timer callback Manuel Pégourié-Gonnard 2019-07-15 12:23:22 +02:00
  • 0eb3eac023 Add setting of forced fields when deserializing Manuel Pégourié-Gonnard 2019-07-15 11:53:51 +02:00
  • c86c5df081 Add saved fields from top-level structure Manuel Pégourié-Gonnard 2019-07-15 11:23:03 +02:00
  • 3309a67996 Fix memory leak in client/server2 Manuel Pégourié-Gonnard 2019-07-15 10:31:11 +02:00
  • c2a7b891a1 Add transform (de)serialization Manuel Pégourié-Gonnard 2019-07-15 09:04:11 +02:00
  • b9dfc9fd30 Fix English in comments Manuel Pégourié-Gonnard 2019-07-12 10:50:19 +02:00
  • a88399c091 Improve demo/testing code in client/server2 Manuel Pégourié-Gonnard 2019-07-12 10:41:55 +02:00
  • 4b7e6b925f Add session saving/loading Manuel Pégourié-Gonnard 2019-07-11 12:50:53 +02:00
  • 4c90e858b5 Add (stub) header writing and checking Manuel Pégourié-Gonnard 2019-07-11 10:58:10 +02:00
  • 0ff76407d2 Add usage checks in context_load() Manuel Pégourié-Gonnard 2019-07-11 09:56:30 +02:00
  • 00400c2bf6 Document internal serialisation format Manuel Pégourié-Gonnard 2019-07-10 14:58:45 +02:00
  • 1aaf66940e Implement usage checks in context_save() Manuel Pégourié-Gonnard 2019-07-10 14:14:05 +02:00
  • 96fb0ee9cf Save Hello random bytes for later use Manuel Pégourié-Gonnard 2019-07-09 12:54:17 +02:00
  • ddf72a1cf6 Fix style issues Jarno Lamsa 2019-06-13 12:22:50 +03:00
  • 8e2532196d Set timer callbacks with serialization Jarno Lamsa 2019-06-13 11:45:06 +03:00
  • 1a7f7936f3 Fix spacing Jarno Lamsa 2019-06-07 08:39:24 +03:00
  • 15b3a7ae4d Fix compiler warnings Jarno Lamsa 2019-06-06 15:10:07 +03:00
  • c2376f049a Add tests for re-init flow for context serialization Jarno Lamsa 2019-06-06 10:44:14 +03:00
  • 304d61cede Add option for ssl-context re-initialization flow Jarno Lamsa 2019-06-06 10:40:52 +03:00
  • 12021ee115 Fix spacing Jarno Lamsa 2019-06-06 10:23:16 +03:00
  • 1d1657f11c Allow stub implementation of the context_save for now Jarno Lamsa 2019-06-04 16:03:28 +03:00
  • 93c6ff2392 Address review comments for code-style issues Jarno Lamsa 2019-06-04 15:36:18 +03:00
  • 378d64daad Remove mbedtls_ssl_free() and mbedtls_ssl_init() from serialization flow in test Jarno Lamsa 2019-06-04 15:22:55 +03:00
  • a0b2cd6f82 ssl-opt.sh tests for serialization are currently using stub implementation Jarno Lamsa 2019-06-04 15:21:13 +03:00
  • cbee1b3bda Add missing slashes to tests Jarno Lamsa 2019-06-04 15:18:19 +03:00
  • 2937d81eb8 Add serialization tests to ssl-opt.sh Jarno Lamsa 2019-06-04 11:33:23 +03:00
  • bbc7b41903 Use MBEDTLS_SSL_CONTEXT_SERIALIZATION flag Jarno Lamsa 2019-06-04 11:06:31 +03:00
  • 5a3a16cb1b Serialize/deserialize for ssl_server2 Jarno Lamsa 2019-05-29 15:41:21 +03:00
  • af30629686 Rely on opt.exchanges for sending after serialization Jarno Lamsa 2019-05-29 15:40:49 +03:00
  • 77e6665ffb Serialization/deserialization in ssl_client2 Jarno Lamsa 2019-05-29 15:15:08 +03:00
  • 9831c8a14c Add option for serialization in ssl_client/server2 Jarno Lamsa 2019-05-29 13:33:32 +03:00
  • d0a86f96dc Clarify documentation of mbedtls_ssl_context_load() Manuel Pégourié-Gonnard 2019-06-11 11:25:10 +02:00
  • 6d8f128790 Fix typos, grammar and wording in documentation Manuel Pégourié-Gonnard 2019-06-05 09:47:18 +02:00
  • ac87e28bb2 Declare and document ssl_context_save()/load() Manuel Pégourié-Gonnard 2019-05-28 13:02:16 +02:00
  • afa8f71700 Add new config MBEDTLS_SSL_CONTEXT_SERIALIZATION Manuel Pégourié-Gonnard 2019-05-28 12:28:17 +02:00
  • be34e8e9c0 Remove reference to outdated compile-time option Hanno Becker 2019-06-04 09:43:16 +01:00
  • f9b3303eb9 Introduce specific error for ver/cfg mismatch on deserialization Hanno Becker 2019-06-03 12:58:39 +01:00
  • fe1275e3fe Improve test for detection of ver/cfg corruption in serialized data Hanno Becker 2019-05-29 12:45:21 +01:00
  • 363b646dd8 Use US spelling 'serialize' instead of UK spelling 'serialise' Hanno Becker 2019-05-29 12:44:28 +01:00
  • 3e08866e06 Use def'n consts for bits in config-identifier of serialized data Hanno Becker 2019-05-29 11:10:18 +01:00
  • dc28b6c5e1 Note that ver+fmt bytes in serialized data must not be removed Hanno Becker 2019-05-29 11:08:00 +01:00
  • 50b596666d Improve doc'n of config-identifying bitfield in serialized session Hanno Becker 2019-05-28 14:30:45 +01:00
  • f37d91830a Session serialization: Fail with BAD_INPUT_DATA if buffer too small Hanno Becker 2019-05-28 13:59:44 +01:00
  • bb54d5a3b1 Use consistent spelling of 'serialise/serialize' in SSL test suite Hanno Becker 2019-05-28 13:58:14 +01:00
  • 861d0bbbf2 Add negative tests for unexpected ver/cfg in session deserialization Hanno Becker 2019-05-21 16:39:30 +01:00