Commit Graph

140 Commits (b96386c95e9aa0fe6d6821d2e22adc95c517420c)

Author SHA1 Message Date
David Garske adbccfd8a2
Fix for TLS v1.3 key log examples (#273) 2021-10-27 14:38:05 -04:00
David Garske 012f447a1a
Fixes and cleanups to TLS UART example (#270) 2021-10-13 14:57:50 -04:00
David Garske 6b88ee7390 Template for TLS over UART. 2021-10-07 16:54:50 -07:00
Lealem Amedie c8d596269d Getting files to run and pass nightly-CDT test 2021-07-06 13:57:19 -06:00
Lealem Amedie be264f0511 Adding documentation where needed. Made changes to code to assure files build and implement good coding practices 2021-06-29 16:02:52 -06:00
Lealem Amedie d33ed22157 tls-callback app fix 2021-06-24 15:19:09 -06:00
David Garske 1e77a040ce
Merge pull request #258 from lealem47/non-blocking-tls 2021-06-23 12:07:15 -07:00
David Garske 0721ab9e6d Improvements to prevent high CPU spinning on read waits (use tcp_select). 2021-06-23 11:35:51 -07:00
Lealem Amedie 3b6d779aba client-tls-cryptocb.c fix 2021-06-23 11:13:49 -06:00
Lealem Amedie a6642b56d2 Adding tcp_select() and reworking wolfSSL_accept() loop 2021-06-23 09:08:00 -06:00
Lealem Amedie 81a26b18d4 fixing Shutdown code and adding server reply in client-tls-nonblocking.c 2021-06-22 16:38:36 -06:00
Lealem Amedie 02d6155dde Removing integrity OS code and retouching the cleanup code in tls/client-tls-nonblocking.c 2021-06-22 11:11:10 -06:00
Lealem Amedie 926ff6fc3b cleanup and minor adjustments 2021-06-22 10:34:36 -06:00
Lealem Amedie 9f8cdeb9d5 fix non-blocking tls server/client and adding bidirectional shutdown 2021-06-21 19:43:05 -06:00
David Garske 5ba15f1426 Spelling fixes. 2021-06-09 09:07:40 -07:00
David Garske 198f9f5ed7 Fixes for TLS v1.3 example compiler warnings. 2021-04-26 16:16:07 -07:00
David Garske 6822f6efe0 Fix set secret callback to be prior to connect. 2021-04-26 15:57:11 -07:00
David Garske 0f389f2524 Fix for server random. Added function comment. 2021-03-28 14:36:39 -07:00
David Garske af3384b4cf Added README.md instructions. Tested with Wireshark and works as described (all TLS v1.3 packets decrypted). 2021-03-25 08:46:05 -07:00
David Garske 0603cc30df Fix to append to end of file. 2021-03-25 08:23:22 -07:00
David Garske 8885d08476 Example client/server for TLS v1.3. Includes support for key logging when wolfSSL is built with `HAVE_SECRET_CALLBACK`. 2021-03-24 16:32:14 -07:00
David Garske 2f132cee13 Fix to use `CRYPTOCB_UNAVAILABLE`. 2020-10-30 15:40:27 -07:00
David Garske acdd790e11 Example for TLS with Crypto Callbacks. 2020-10-30 15:32:29 -07:00
kaleb-himes 5195bdbd31 Address other examples also based on peer feedback 2020-07-07 11:57:38 -06:00
kaleb-himes f45184fc4a remove unnecessary nonblock calls and update to _dtls_ on relevant calls 2020-07-07 09:33:17 -06:00
Kaleb Himes 031ef49415
Merge pull request #195 from dgarske/tls_server_verifycb
Added TLS server verify callback example.
2020-05-01 16:21:08 -07:00
kaleb-himes 26dcbdd200 Add cleanups to most used examples 2020-05-01 13:50:57 -06:00
David Garske b52636914e Added TLS server verify callback example. 2020-03-31 12:06:03 -07:00
Chris Conlon 9237d307b5 update copyright to 2020 2020-01-03 16:08:42 -08:00
Aaron Jense ead4080e5b Error checking for fgets to remove unused return warnings 2019-10-30 10:59:46 -06:00
David Garske 233c3ef1b4 Added TLS client example for using the BIO compatibility layer (thanks Jacob). 2019-09-19 06:52:30 -07:00
kaleb-himes 1640acdff9 resolve compiler warnings and remove executable from tracking 2019-05-24 15:07:25 -04:00
Kaleb Himes b961270293
Update server-tls-threaded.c 2019-04-30 14:35:42 -06:00
kaleb-himes 41b1b27eec Further enhancements 2019-04-30 14:32:40 -06:00
kaleb-himes f444f37fe1 Address review notes 2019-04-30 14:02:09 -06:00
kaleb-himes 6a3416f3e5 remove invalid error handling due to enhancements 2019-04-19 10:04:18 -06:00
kaleb-himes dbb1246d78 Add debugging if enabled and allow each thread to actually read/write before err'ing out 2019-04-19 09:56:20 -06:00
Sean Parkinson 5fd77f9571
Merge pull request #143 from dgarske/embedded_examples
Embedded example fix-ups
2019-04-09 08:09:23 +10:00
David Garske f941b992c4 Embedded example fixups. Add support for user_settings.h. Add build-time checks for required features. 2019-04-05 06:36:11 -07:00
David Garske fc7ea3c757 Fixes for building TLS examples with QAT v1.7. 2019-04-05 06:26:53 -07:00
David Garske d330c53baf Fixes for the server examples using incorect length for memcpy operation in reply and reading past const char string. Resolves Jenkins "wolfSSL Examples Repo Test - NIGHTLY BUILD" reports. 2019-03-13 09:16:43 -07:00
MJSPollard eb0da47e1f added define fixes to stop errors when executing make in tls dir 2018-09-06 13:11:24 -06:00
kaleb-himes ccc256b499 Update client ecdhe example to use new chain cert 2018-07-30 15:19:57 -06:00
Kaleb Himes 0edf43fde1
Merge pull request #41 from dgarske/cacb_example
Added example that has the CA callback
2018-05-31 15:52:31 -06:00
Kaleb Himes 55abb7e296
Merge pull request #42 from dgarske/server_accept
Added wolfSSL_accept to TLS server examples
2018-05-31 15:48:00 -06:00
kaleb-himes df4f87d634 fix pkcs12 client example 2018-05-31 15:43:38 -06:00
David Garske 341c05f9f7 Added wolfSSL_accept to TLS server examples, even though its not explicitly required. 2018-05-17 11:42:50 -07:00
David Garske 0ab56e39f2 Added example that has the CA callback “wolfSSL_CTX_SetCACb” API and shows how to print information for the X509. This works only with OPENSSL_EXTRA defined. Fixed typo in server epoll examples. 2018-05-17 11:42:43 -07:00
kaleb-himes df13803954 Updates following peer review
Update 2 following peer review
2018-03-13 10:45:35 -06:00
kaleb-himes 0647d0c808 Add pkcs12 examples client and remove build blockers
implement better memory handling
2018-03-13 09:15:22 -06:00