Commit Graph

  • 94ef3b35f4 Encode relevant parts of the config in serialized session header Hanno Becker 2019-05-16 12:50:45 +01:00
  • f878707b8f Add configuration identifier to serialized SSL sessions Hanno Becker 2019-05-16 12:41:07 +01:00
  • a835da5cb1 Add Mbed TLS version to SSL sessions Hanno Becker 2019-05-16 12:39:07 +01:00
  • aa75583ced Re-enable test that now works with new format Manuel Pégourié-Gonnard 2019-06-03 10:53:47 +02:00
  • eef4c753f1 Adapt buffering test to new ticket size Manuel Pégourié-Gonnard 2019-05-28 10:21:30 +02:00
  • f743c03ea7 Add new ABI-independent format for serialization Manuel Pégourié-Gonnard 2019-05-24 12:06:29 +02:00
  • ee13a732d6 Fix serialization tests for !SSL_KEEP_PEER_CERT Manuel Pégourié-Gonnard 2019-07-29 13:00:39 +02:00
  • 51a0bfd9bc Fix bug in cert digest serialisation Manuel Pégourié-Gonnard 2019-07-31 10:40:26 +02:00
  • 686adb4d54 Normalize spelling to serialiZation Manuel Pégourié-Gonnard 2019-06-03 09:55:16 +02:00
  • df9bc2193b Improve documentation Manuel Pégourié-Gonnard 2019-05-27 09:58:07 +02:00
  • 4d591d6d3f Demonstrate safe usage (zeroize) in ssl_client2 Manuel Pégourié-Gonnard 2019-05-24 10:26:41 +02:00
  • 6472263ead Add a ChangeLog entry for session serialisation Manuel Pégourié-Gonnard 2019-05-24 10:23:55 +02:00
  • 1f6033a479 Fix undeclared dependency on FS_IO in test code Manuel Pégourié-Gonnard 2019-05-24 10:17:52 +02:00
  • 220403b954 Fix style issues and typos in test code Manuel Pégourié-Gonnard 2019-05-24 09:54:21 +02:00
  • b40799035b Fix another wrong check for errors in test code Manuel Pégourié-Gonnard 2019-05-24 09:52:10 +02:00
  • 7b3a8875a4 Add list of coupled functions to struct definition Manuel Pégourié-Gonnard 2019-05-24 09:48:05 +02:00
  • f9deaece43 Add test that save-load is the identity Manuel Pégourié-Gonnard 2019-05-24 09:41:39 +02:00
  • 6b840704c4 Fix populate_session() and its usage in tests Manuel Pégourié-Gonnard 2019-05-24 09:40:17 +02:00
  • a3d831b9e6 Add test for session_load() from small buffers Manuel Pégourié-Gonnard 2019-05-23 12:28:45 +02:00
  • f5fa0aa664 Add test for session_save() on small buffers Manuel Pégourié-Gonnard 2019-05-23 10:38:11 +02:00
  • 5b1674e0ba Disable test for load-save identity Manuel Pégourié-Gonnard 2019-05-23 12:56:17 +02:00
  • 3caa6caf4a Improve load-save test with tickets and certs Manuel Pégourié-Gonnard 2019-05-23 10:06:14 +02:00
  • 6eac11b007 Start adding unit test for session serialisation Manuel Pégourié-Gonnard 2019-05-23 09:30:55 +02:00
  • 26f982f50e Improve save API by always updating olen Manuel Pégourié-Gonnard 2019-05-21 11:01:32 +02:00
  • a7c3765760 Add tests for session copy without serialisation Manuel Pégourié-Gonnard 2019-05-20 12:46:26 +02:00
  • b5e4e0a395 Add mbedtls_ssl_get_session_pointer() Manuel Pégourié-Gonnard 2019-05-20 11:12:28 +02:00
  • 21548638b7 Save session in serialised form in ssl_client2. Manuel Pégourié-Gonnard 2019-05-16 11:39:42 +02:00
  • 35eb802103 Add support for serialisation session with ticket Manuel Pégourié-Gonnard 2019-05-16 11:11:08 +02:00
  • a3e7c65101 Move session save/load function to ssl_tls.c Manuel Pégourié-Gonnard 2019-05-16 10:08:35 +02:00
  • 5a6d6ece6e Declare and document session save/load functions Manuel Pégourié-Gonnard 2019-05-15 16:13:59 +02:00
  • 8faa70e810 Use more specific name in debug message for testing Manuel Pégourié-Gonnard 2019-05-20 12:09:50 +02:00
  • d91efa47c0 Fix alignment issues Manuel Pégourié-Gonnard 2019-05-20 10:27:20 +02:00
  • 47e33e11f7 Clarify comment about TLS versions Manuel Pégourié-Gonnard 2019-05-20 10:10:17 +02:00
  • 7fa1407adb Remove redundant debug message. Manuel Pégourié-Gonnard 2019-05-20 10:07:29 +02:00
  • 6fa57bfae5 Remove 'session' input from populate_tranform() Manuel Pégourié-Gonnard 2019-05-10 10:50:04 +02:00
  • 31d3ef11f5 Fix typo in comment Manuel Pégourié-Gonnard 2019-05-10 10:25:00 +02:00
  • a7505d18eb Enforce promise to not use whole ssl context Manuel Pégourié-Gonnard 2019-05-07 10:17:56 +02:00
  • c864f6a209 Partially rm 'ssl' input from populate_transform() Manuel Pégourié-Gonnard 2019-05-06 13:48:22 +02:00
  • 9b108c242d Remove "handshake" input from populate_transform() Manuel Pégourié-Gonnard 2019-05-06 13:32:17 +02:00
  • 344460c913 Work around bug in key exporter API Manuel Pégourié-Gonnard 2019-07-25 13:17:38 +02:00
  • cba40d92bd Start refining parameters of populate_transform() Manuel Pégourié-Gonnard 2019-05-06 12:55:40 +02:00
  • d73b47fe2e Move compress_buf allocation to derive_keys Manuel Pégourié-Gonnard 2019-05-06 12:44:24 +02:00
  • 040a9517b5 Move handling of randbytes to derive_keys() Manuel Pégourié-Gonnard 2019-05-06 12:05:58 +02:00
  • de718b99b5 Make calc_verify() return the length as well Manuel Pégourié-Gonnard 2019-05-03 11:43:28 +02:00
  • 0d56aaac7b Constify ssl_context param of calc_verify() Manuel Pégourié-Gonnard 2019-05-03 09:58:33 +02:00
  • de047adfb4 Improve signature of ssl_compute_master() Manuel Pégourié-Gonnard 2019-05-03 09:46:14 +02:00
  • 85680c49ef Reduce indentation in ssl_compute_master() Manuel Pégourié-Gonnard 2019-05-03 09:16:16 +02:00
  • 9951b712bd Start extracting ssl_compute_master() Manuel Pégourié-Gonnard 2019-04-30 12:08:59 +02:00
  • 8d2805c784 Fix signature of ssl_set_transform_prfs() Manuel Pégourié-Gonnard 2019-04-30 12:08:59 +02:00
  • 1b00c4f5b3 Start extraction ssl_set_handshake_prfs() Manuel Pégourié-Gonnard 2019-04-30 11:54:22 +02:00
  • e59ae23868 Start splitting populate_transform() out of derive_keys() Manuel Pégourié-Gonnard 2019-04-30 11:41:40 +02:00
  • e8ad49f069 Remove unused TG variable in mbedtls_mpi_gcd() Alexander K 2019-08-16 16:16:07 +03:00
  • 79a11fa0d6 Explicitly nullify grp->id instead of freeing. Alexander K 2019-08-16 16:10:34 +03:00
  • 58f11d010b Merge branch 'development' into development-restricted Jaeden Amero 2019-08-16 10:14:40 +01:00
  • 6d10a56ce8 Remove obsolete comment k-stachowiak 2019-08-16 08:15:04 +02:00
  • 3b0c430638 Unify the example programs' termination Krzysztof Stachowiak 2019-04-24 14:24:46 +02:00
  • 776521aee8 Return from the test and utility examples via exit() k-stachowiak 2019-05-23 09:46:47 +02:00
  • 5e1b195d1f Unify the example programs' termination Krzysztof Stachowiak 2019-04-24 14:24:46 +02:00
  • beec142010 Merge remote-tracking branch 'origin/pr/2790' into development Jaeden Amero 2019-08-22 11:09:15 +01:00
  • 9a09f511b5 Merge remote-tracking branch 'origin/pr/2781' into development Jaeden Amero 2019-08-22 11:08:52 +01:00
  • 9ed851d27f Merge remote-tracking branch 'origin/pr/2767' into development Jaeden Amero 2019-08-20 09:45:38 +01:00
  • da6ac01963 Rename local variables Janos Follath 2019-08-16 13:47:29 +01:00
  • edf6d5a025 Update submodule Janos Follath 2019-08-16 11:05:43 +01:00
  • 8e65c50202 Update Visual studio project file Janos Follath 2019-08-08 15:29:37 +01:00
  • be4efc2b38 Move the examples to PSA 1.0 Janos Follath 2019-08-08 11:38:18 +01:00
  • df3b0892ce Use psa_raw_key_agreement Janos Follath 2019-08-08 11:12:24 +01:00
  • 1239d70870 Remove calls to psa_allocate_key Janos Follath 2019-08-08 10:33:26 +01:00
  • 53b8ec27a2 Make variable naming consistent Janos Follath 2019-08-08 10:28:27 +01:00
  • 7bb5e6b4da Update psa_create_key to PSA 1.0 Janos Follath 2019-07-30 13:52:24 +01:00
  • ed73b04c6e Update psa_import_key to PSA 1.0 Janos Follath 2019-07-30 13:51:41 +01:00
  • bd096101b5 Update psa_generator_abort to PSA 1.0 Janos Follath 2019-07-30 12:57:15 +01:00
  • 6de99db449 Update psa_generator_read to PSA 1.0 Janos Follath 2019-07-30 12:55:06 +01:00
  • 8dee877e8a Update psa_crypto_generator_t to PSA 1.0 Janos Follath 2019-07-30 12:53:32 +01:00
  • 7d7ded85fb Update psa_key_agreement to PSA 1.0 Janos Follath 2019-07-30 12:47:23 +01:00
  • 7374ee6139 Update GENERATOR_INIT macro to PSA 1.0 Janos Follath 2019-07-30 12:43:12 +01:00
  • 3d158ebd2f Update KEYPAIR macros to PSA 1.0 Janos Follath 2019-07-30 12:39:25 +01:00
  • 8813fef228 Merge remote-tracking branch 'origin/pr/2756' into development Jaeden Amero 2019-08-16 10:12:09 +01:00
  • b9b4f09c47 Document new error type returned from the key derivation API k-stachowiak 2019-08-15 19:01:59 +02:00
  • ec1f91799f Update crypto to a repo with latest crypto Jaeden Amero 2019-07-25 10:19:49 +01:00
  • c5ad90a6a7 Update Mbed Crypto Jaeden Amero 2019-07-10 08:33:17 +01:00
  • 922013e46d tls: Remove duplicate psa_util.h include Jaeden Amero 2019-07-15 16:13:32 +01:00
  • 70de9dc052 Remove unused cryptography test files Jaeden Amero 2019-07-05 14:18:18 +01:00
  • a0aee30644 Remove crypto C files Jaeden Amero 2019-07-05 13:52:47 +01:00
  • 815e9a21a3 Remove files sourced from Mbed Crypto Jaeden Amero 2019-07-04 19:49:36 +01:00
  • dbe4ff80cf config: Fix Doxygen link to MBEDTLS_PARAM_FAILED Jaeden Amero 2019-07-04 21:15:37 +01:00
  • 6609aef809 Use mbedtls-based path for includes Jaeden Amero 2019-07-04 20:01:14 +01:00
  • 78d9d0c1e9 check-names: Consider crypto-sourced header files Jaeden Amero 2019-07-04 20:50:11 +01:00
  • 3794dec52b Change the expected error for two key derivation tests k-stachowiak 2019-08-14 19:23:24 +02:00
  • 4017d882dd Merge remote-tracking branch 'upstream-restricted/development-proposed' into development-restricted-proposed Gilles Peskine 2019-08-14 18:38:42 +02:00
  • 60b29d6bfd Merge remote-tracking branch 'upstream-restricted/pr/503' into development-restricted-proposed Gilles Peskine 2019-08-14 18:37:59 +02:00
  • f0f01e1f0a Merge remote-tracking branch 'origin/pr/630' into baremetal Simon Butcher 2019-08-14 16:53:38 +01:00
  • 434ab19164 Merge remote-tracking branch 'origin/pr/629' into baremetal Simon Butcher 2019-08-14 16:53:13 +01:00
  • 0863b2a259 Merge remote-tracking branch 'origin/pr/612' into baremetal Simon Butcher 2019-08-14 16:50:13 +01:00
  • 6d079baba8 Merge remote-tracking branch 'upstream-restricted/mbedtls-2.16-proposed' into mbedtls-2.16-restricted Gilles Peskine 2019-08-14 16:39:36 +02:00
  • 4d7c74811b Merge remote-tracking branch 'upstream-restricted/pr/503' into mbedtls-2.16-restricted Gilles Peskine 2019-08-14 16:39:24 +02:00
  • 33f66ba6fd Merge remote-tracking branch 'upstream-restricted/pr/556' into mbedtls-2.16-restricted Gilles Peskine 2019-08-14 16:37:16 +02:00
  • 3a930650c8 Merge remote-tracking branch 'upstream-restricted/pr/613' into mbedtls-2.16-restricted Gilles Peskine 2019-08-14 16:36:30 +02:00
  • ad72522fad Merge remote-tracking branch 'upstream-restricted/mbedtls-2.7-proposed' into mbedtls-2.7-restricted Gilles Peskine 2019-08-14 16:30:13 +02:00
  • 3b8cf47004 Merge remote-tracking branch 'upstream-restricted/pr/508' into mbedtls-2.7-restricted Gilles Peskine 2019-08-14 16:25:10 +02:00
  • 298a43a77e Merge remote-tracking branch 'upstream-restricted/pr/549' into mbedtls-2.7-restricted Gilles Peskine 2019-08-14 16:24:51 +02:00