Commit Graph

  • 064b732d11 Use unused extension ID as tentative ID for CID extension Hanno Becker 2019-05-03 12:42:13 +01:00
  • 554b6ea30a Correct compile-time guard around unhexify() in ssl_server2 Hanno Becker 2019-04-30 14:18:06 +01:00
  • a34ff5b9a2 Correct compile-time guard around CID extension writing func on srv Hanno Becker 2019-04-30 14:17:40 +01:00
  • b7ee0cf3f9 Make integer truncation explicit in mbedtls_ssl_set_cid() Hanno Becker 2019-04-30 14:07:31 +01:00
  • fcffdccb85 Grep for dbug msgs witnessing use of CID in ssl_client2/ssl_server2 Hanno Becker 2019-04-26 17:19:46 +01:00
  • dec2552a92 Change formating of CID debug output in ssl_client2/ssl_server2 Hanno Becker 2019-04-26 17:19:15 +01:00
  • b1f89cd602 Implement mbedtls_ssl_get_peer_cid() Hanno Becker 2019-04-26 17:08:02 +01:00
  • 9ecb6c676c Grep for dbg msg witnessing copying of CIDs to SSL transform Hanno Becker 2019-04-26 16:23:52 +01:00
  • 4bf7465840 Copy CIDs into SSL transform if use of CID has been negotiated Hanno Becker 2019-04-26 16:22:27 +01:00
  • 1327fa7d14 Add fields holding in/out CIDs to SSL record transformation struct Hanno Becker 2019-04-25 15:54:02 +01:00
  • a6a4c7623c Grep for dbg msg witnessing parsing of CID extension in ServerHello Hanno Becker 2019-04-26 16:13:31 +01:00
  • a8373a11c0 Implement parsing of CID extension in ServerHello Hanno Becker 2019-04-26 15:37:26 +01:00
  • 4bc9e9d3f6 Grep for dbg msg witnessing writing of CID extension in ServerHello Hanno Becker 2019-04-26 16:00:29 +01:00
  • 51de2d3f69 Implement writing of CID extension in ServerHello Hanno Becker 2019-04-26 15:46:55 +01:00
  • 7dee2c6369 Grep for dbg msg witnessing parsing of CID extension in ClientHello Hanno Becker 2019-04-26 14:17:56 +01:00
  • 89dcc881d4 Implement parsing of CID extension in ClientHello Hanno Becker 2019-04-26 13:56:39 +01:00
  • 6b78c83829 Grep for dbg msg witnessing writing of CID extension in ClientHello Hanno Becker 2019-04-25 17:01:43 +01:00
  • 49770ffd93 Implement writing of CID extension in ClientHello Hanno Becker 2019-04-25 16:55:15 +01:00
  • 189a01309f Check static bounds of CID lengths in check_config.h Hanno Becker 2019-04-25 16:47:57 +01:00
  • 0652bc50c7 Add identifier for CID extension Hanno Becker 2019-04-25 16:24:57 +01:00
  • f157a97b75 Modify CID tests in ssl-opt.sh to grep for CID config debug msgs Hanno Becker 2019-04-25 16:05:45 +01:00
  • ca092246a7 Allow configuring own CID fields through mbedtls_ssl_get_peer_cid() Hanno Becker 2019-04-25 16:01:49 +01:00
  • 2f28c1031f Add fields to SSL structures describing state and config of CID ext Hanno Becker 2019-04-25 15:46:59 +01:00
  • 35c36a6760 Guard CID implementations by MBEDTLS_SSL_CID Hanno Becker 2019-04-23 12:31:42 +01:00
  • 5f925be378 Indicate ssl-opt.sh CID tests only test the stub CID code Hanno Becker 2019-04-23 12:02:34 +01:00
  • f1f9a82320 Add warnings about status of implementation of CID API Hanno Becker 2019-04-23 12:01:20 +01:00
  • 9bae30d00d Fix use of requires_config_enabled in ssl-opt.sh Hanno Becker 2019-04-23 11:52:44 +01:00
  • d029a2b57f Fix typo in CID test in ssl-opt.sh Hanno Becker 2019-04-23 11:52:14 +01:00
  • 957dd921f1 Print peer CID from ssl_client2 Hanno Becker 2019-04-23 11:50:59 +01:00
  • 735c716e2a Print peer CID from ssl_server2 Hanno Becker 2019-04-23 11:50:28 +01:00
  • 982182f342 Improve wording of CID debug msg in ssl_server2 example application Hanno Becker 2019-04-23 11:39:53 +01:00
  • 4f664cbb5c Clarify that mbedtls_ssl_set_cid() applies to all subsequent HSs Hanno Becker 2019-04-23 11:38:47 +01:00
  • 318a87b336 Document that the use of CID is disabled by default. Hanno Becker 2019-04-23 11:37:38 +01:00
  • 9742809531 Reference CID Draft in Connection ID documentation in config.h Hanno Becker 2019-04-23 11:36:56 +01:00
  • 7cf463e3cc Add basic Connection ID tests to ssl-opt.sh Hanno Becker 2019-04-09 18:08:47 +01:00
  • a7d2542248 ssl_server2: Add cmd line options to configure use of CID extension Hanno Becker 2019-04-09 17:28:10 +01:00
  • 90cb359cf0 ssl_client2: Add cmd line options to configure use of CID extension Hanno Becker 2019-04-09 17:24:19 +01:00
  • 1f583eecd8 ssl_client2: Add helper to unhexify binary command line data Hanno Becker 2019-04-09 17:12:56 +01:00
  • f8542cf620 Add dummy implementations for CID API Hanno Becker 2019-04-09 15:22:03 +01:00
  • f8c10269d1 Update version_features.c Hanno Becker 2019-04-09 15:15:42 +01:00
  • ebafe8b7cc Update query_config.c Hanno Becker 2019-04-09 15:15:32 +01:00
  • bb47cd906f Add dep of MBEDTLS_SSL_CID on MBEDTLS_SSL_PROTO_DTLS to config check Hanno Becker 2019-04-09 15:14:28 +01:00
  • 019f4b58de Add API for the use of the DTLS Connection ID extension Hanno Becker 2019-04-09 15:12:56 +01:00
  • 2234e650f7 Add new configuration option controlling CID extension Hanno Becker 2019-04-09 15:12:41 +01:00
  • 53756b3228 Add MD[245] test CRTs to tree Hanno Becker 2019-06-03 14:14:38 +01:00
  • 2e0f71f977 Add instructions for MD[245] test CRTs to tests/data_files/Makefile Hanno Becker 2019-06-03 14:14:04 +01:00
  • 9dbc56152f Add suppport for MD2 to CSR and CRT writing example programs Hanno Becker 2019-06-03 14:10:44 +01:00
  • 5dbcc9f441 Introduce specific error for ver/cfg mismatch on deserialization Hanno Becker 2019-06-03 12:58:39 +01:00
  • f78af3779a Improve test for detection of ver/cfg corruption in serialized data Hanno Becker 2019-05-29 12:45:21 +01:00
  • 08ec129dd8 Use US spelling 'serialize' instead of UK spelling 'serialise' Hanno Becker 2019-05-29 12:44:28 +01:00
  • baf968cf69 Use def'n consts for bits in config-identifier of serialized data Hanno Becker 2019-05-29 11:10:18 +01:00
  • b36db4f368 Note that ver+fmt bytes in serialized data must not be removed Hanno Becker 2019-05-29 11:08:00 +01:00
  • 26829e99b2 Improve doc'n of config-identifying bitfield in serialized session Hanno Becker 2019-05-28 14:30:45 +01:00
  • 1d8b6d7b12 Session serialization: Fail with BAD_INPUT_DATA if buffer too small Hanno Becker 2019-05-28 13:59:44 +01:00
  • cb9ba0f43c Use consistent spelling of 'serialise/serialize' in SSL test suite Hanno Becker 2019-05-28 13:58:14 +01:00
  • f99ec2618d Add negative tests for unexpected ver/cfg in session deserialization Hanno Becker 2019-05-21 16:39:30 +01:00
  • 41527624f6 Encode relevant parts of the config in serialized session header Hanno Becker 2019-05-16 12:50:45 +01:00
  • 557fe9ffde Add configuration identifier to serialized SSL sessions Hanno Becker 2019-05-16 12:41:07 +01:00
  • b5352f0489 Add Mbed TLS version to SSL sessions Hanno Becker 2019-05-16 12:39:07 +01:00
  • d5072d1f13 Merge pull request #133 from hanno-arm/dhm_selftest_der Jaeden Amero 2019-06-03 11:29:53 +01:00
  • a3b93ff893 Make docstring style consistent Gilles Peskine 2019-06-03 11:23:56 +02:00
  • 08f363baa9 Merge remote-tracking branch 'origin/pr/2666' into mbedtls-2.16 Jaeden Amero 2019-06-03 09:56:44 +01:00
  • 9883e899ef Merge remote-tracking branch 'origin/pr/2665' into mbedtls-2.7 Jaeden Amero 2019-06-03 09:56:26 +01:00
  • 7be9b4e932 Merge remote-tracking branch 'origin/pr/2664' into development Jaeden Amero 2019-06-03 09:56:07 +01:00
  • ba698da57a Remove use of MD2 in further x509parse tests Hanno Becker 2019-06-03 09:54:07 +01:00
  • c4f5080b34 Re-enable test that now works with new format Manuel Pégourié-Gonnard 2019-06-03 10:53:47 +02:00
  • 32b48ea364 Convert further x509parse tests to use lower-case hex data Hanno Becker 2019-06-03 09:48:09 +01:00
  • f8c355a012 Adapt buffering test to new ticket size Manuel Pégourié-Gonnard 2019-05-28 10:21:30 +02:00
  • 60a4299bbf Add new ABI-independent format for serialization Manuel Pégourié-Gonnard 2019-05-24 12:06:29 +02:00
  • 35ccdbb636 Normalize spelling to serialiZation Manuel Pégourié-Gonnard 2019-06-03 09:55:16 +02:00
  • e0cd1d0184 Improve documentation Manuel Pégourié-Gonnard 2019-05-27 09:58:07 +02:00
  • 4bb1b99c7f Demonstrate safe usage (zeroize) in ssl_client2 Manuel Pégourié-Gonnard 2019-05-24 10:26:41 +02:00
  • 2d8847e84d Add a ChangeLog entry for session serialisation Manuel Pégourié-Gonnard 2019-05-24 10:23:55 +02:00
  • 749312fb8a Fix undeclared dependency on FS_IO in test code Manuel Pégourié-Gonnard 2019-05-24 10:17:52 +02:00
  • d1a5451fb5 Fix style issues and typos in test code Manuel Pégourié-Gonnard 2019-05-24 09:54:21 +02:00
  • 081b15231f Fix another wrong check for errors in test code Manuel Pégourié-Gonnard 2019-05-24 09:52:10 +02:00
  • 5363e1f496 Add list of coupled functions to struct definition Manuel Pégourié-Gonnard 2019-05-24 09:48:05 +02:00
  • 2a62a05688 Add test that save-load is the identity Manuel Pégourié-Gonnard 2019-05-24 09:41:39 +02:00
  • aab6204dc1 Fix populate_session() and its usage in tests Manuel Pégourié-Gonnard 2019-05-24 09:40:17 +02:00
  • 5709811dd2 Add test for session_load() from small buffers Manuel Pégourié-Gonnard 2019-05-23 12:28:45 +02:00
  • 98fccc3f6a Add test for session_save() on small buffers Manuel Pégourié-Gonnard 2019-05-23 10:38:11 +02:00
  • 1ba5c68503 Disable test for load-save identity Manuel Pégourié-Gonnard 2019-05-23 12:56:17 +02:00
  • 16f6bb1aa3 Improve load-save test with tickets and certs Manuel Pégourié-Gonnard 2019-05-23 10:06:14 +02:00
  • dfa5a7ae76 Start adding unit test for session serialisation Manuel Pégourié-Gonnard 2019-05-23 09:30:55 +02:00
  • 32ce596c35 Improve save API by always updating olen Manuel Pégourié-Gonnard 2019-05-21 11:01:32 +02:00
  • 57a348ba8c Add tests for session copy without serialisation Manuel Pégourié-Gonnard 2019-05-20 12:46:26 +02:00
  • 37a5324c74 Add mbedtls_ssl_get_session_pointer() Manuel Pégourié-Gonnard 2019-05-20 11:12:28 +02:00
  • fbb44a422f Save session in serialised form in ssl_client2. Manuel Pégourié-Gonnard 2019-05-16 11:39:42 +02:00
  • ef4ae611e4 Add support for serialisation session with ticket Manuel Pégourié-Gonnard 2019-05-16 11:11:08 +02:00
  • 91f4ca2ed1 Move session save/load function to ssl_tls.c Manuel Pégourié-Gonnard 2019-05-16 10:08:35 +02:00
  • 2843fe10b9 Declare and document session save/load functions Manuel Pégourié-Gonnard 2019-05-15 16:13:59 +02:00
  • ada38317dd test: Always use make clean by itself Jaeden Amero 2019-05-31 12:26:42 +01:00
  • c03c6ac955 test: Always use make clean by itself Jaeden Amero 2019-05-31 12:26:42 +01:00
  • 8b0f9e6388 Allow DHM selftest to run if MBEDTLS_PEM_PARSE_C is unset Hanno Becker 2019-05-31 17:28:59 +01:00
  • 3b025ac52b test: Always use make clean by itself Jaeden Amero 2019-05-31 12:26:42 +01:00
  • 8d90015acb Correct placement of ChangeLog entry Hanno Becker 2019-05-30 11:18:42 +01:00
  • ba774bc0b6 Adapt ChangeLog Hanno Becker 2019-02-12 11:02:18 +00:00
  • 67d1848ed0 Use SHA-256 instead of MD2 in X.509 CRT parsing tests Hanno Becker 2019-02-12 13:32:06 +00:00
  • 556e6d84ea Consistently use lower case hex data in X.509 parsing tests Hanno Becker 2019-02-12 10:20:42 +00:00
  • 136512b810 Correct placement of ChangeLog entry Hanno Becker 2019-05-30 11:16:02 +01:00