Commit Graph

173 Commits (a22540563fb52f1acff6d6b97b71dd74c635b43c)

Author SHA1 Message Date
gojimmypi d85561c454
Fix enable session ticket hint
minor string correction, adding a missing `-`
2023-08-15 08:12:16 -07:00
John Bland f155379142
add example of how to use HPKE with all options (#356)
* add example of how to use HPKE with all options

* add example of how to use ech with a public server run by cloudflare

* move ech example to tls directory, update hpke instructions

* update client-ech based on pr comments

* update ech test to handle read error

* update hpke_test to match changed function signature

* add root CA cert for ech-client example, fix

various problems based on pr comments

* clear out variable for example

* remove unused variable
2023-07-10 14:25:20 -07:00
John Bland 39c101105b switch to using external base64 encoding for the ech config 2023-07-06 19:22:32 -04:00
John Bland 615c05c346 add examples for setting up an ech server and
connecting to it from a client. requested from https://github.com/wolfSSL/wolfssl/issues/6568
2023-07-04 06:17:33 -04:00
tim-weller-wolfssl 013a6da63d Phase 1 updates to wolfSSL examples based on testing with wolfSSL
release v5.5.4-stable.  Changes include minor build fixes and README
updates.
2023-03-25 09:15:11 -05:00
lealem47 3d37f3ecfc
Merge pull request #330 from JamesMenetrey/tls_poll_perf
Implement a TLS perf server with poll system call.
2022-09-26 15:10:16 -07:00
Eric Blankenhorn 81b8155643 Fix server-threaded to release ECC cache 2022-08-18 12:07:03 -05:00
Eric Blankenhorn 25dd758cad Add server-tls-writedup.c example 2022-07-25 08:50:33 -05:00
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