Commit Graph

165 Commits (d114bf7f404dd2ef5838b38c508a1e56e2cd52e0)

Author SHA1 Message Date
Jämes Ménétrey d114bf7f40 Implement a TLS perf server with poll system call. 2022-07-25 11:43:05 +00:00
David Garske 62495aaa97 Revert "Tls client: fix bad comparison for non-blocking shutdown call."
This reverts commit 04db2c7cd9.
2022-07-20 16:25:22 -07:00
Jämes Ménétrey 04db2c7cd9 Tls client: fix bad comparison for non-blocking shutdown call. 2022-07-20 20:54:15 +00:00
gojimmypi 9b4de3591b whitespace & project cleanup 2022-06-03 16:29:12 -07:00
David Garske b2c0ca21da Various improvements to crypto callbacks. 2022-04-22 15:59:45 -07:00
David Garske a10c30d27b
Merge pull request #307 from gojimmypi/PR_squash
new ESP32 and tls examples using VisualGDB
2022-04-04 12:53:26 -07:00
gojimmypi 073cbc77a6 remove additional files not needed 2022-03-25 13:04:14 -07:00
gojimmypi 60c58c7c57 corrections re: https://github.com/wolfSSL/wolfssl-examples/pull/307#issuecomment-1077818201 2022-03-24 10:24:27 -07:00
gojimmypi c325718dfc new ESP32 and tls examples using VisualGDB 2022-03-24 08:26:38 -07:00
David Garske 0cfab1d5e4 Peer review feedback. 2022-03-21 14:17:31 -07:00
David Garske df2191396e Improvements to the PK callback example to use public key. Added RSA/PSS PK support to example. 2022-03-18 11:32:32 -07:00
David Garske 45a13e1491 Improvements based on peer review. Added section in README.md. 2022-02-23 15:59:17 -08:00
David Garske d0a152744b Peer review feedback fixes. 2022-02-22 13:45:10 -08:00
David Garske 1514f810f9 Example for using PK callbacks for ECC sign of the long term key. Supports use of the asynchronous `WC_PENDING_E` return code logic when used with the asynchronous version of wolfSSL. 2022-02-17 16:21:51 -08:00
Anthony Hu 7599da2674 TLS 1.3 over uart for PQ.
...also some minor fixes in the original UART examples.
2022-02-11 15:17:50 -05:00
David Garske 8575ac159b Fix example server to set `SO_REUSEADDR` to prevent bind issues on improper shutdown of example. Do socket setup before the TLS setup. 2022-02-04 12:34:03 -08:00
David Garske 86da90767e Add mutual authentication to TLS v1.3 example. 2022-02-03 14:44:31 -08:00
Anthony Hu 5bdf886138 asdfadsf and #if 0 and comment cleanup. 2022-02-03 16:39:24 -05:00
Anthony Hu 94dafcb952 Add a short caveat to client-tls13-resume.c 2022-02-03 15:59:14 -05:00
David Garske 0ad0d65531 Fixed session resumed message. 2022-02-02 15:22:05 -08:00
Anthony Hu d14d47ecbe removed debug on 2022-02-02 18:18:03 -05:00
David Garske 11e4a4eea4 Session ticket with peek 2022-02-02 14:59:25 -08:00
David Garske 4e70f0a5e4 Fixes for cleanups and not fatal on missing session tickets. Added the key logging. 2022-02-02 14:03:19 -08:00
Anthony Hu 6d2687245c Add a new client-tls13-resume.c sample 2022-02-02 12:28:56 -05:00
Anthony Hu c95798f240 Purge generated code and deprecated algorithms.
The algorithms are HC-128, RABBIT and IDEA.
2022-02-01 16:47:29 -05:00
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