Commit Graph

184 Commits (devin/1739912915-update-examples-docs)

Author SHA1 Message Date
Devin AI a74868a6e0 Add comprehensive documentation for example requirements
- Add configuration requirements for each example
- Document hardware dependencies for UART examples
- Add troubleshooting guide
- Categorize examples by functionality
- Add TLS 1.3 resume certificate requirements

Co-Authored-By: eric@wolfssl.com <eric@wolfssl.com>
2025-02-18 21:08:35 +00:00
Devin AI 5451ad7db3 Update client-tls-resume example with latest wolfSSL API
Co-Authored-By: eric@wolfssl.com <eric@wolfssl.com>
2025-02-18 18:25:41 +00:00
David Garske ab0d633d5b Peer review cleanups 2. 2024-01-10 17:26:55 -08:00
David Garske f808600853 Peer review feedback. 2024-01-10 15:05:48 -08:00
David Garske 1c6e1c4c9a Add mutual auth, RSA/ECC and TLS v1.2/v1.3 support to TLS crypto callback examples. 2023-12-19 12:31:28 -08:00
David Garske d505779dfe Improved TLS cryptocb test cases. 2023-12-19 11:26:44 -08:00
David Garske ed2549cfbe Support building TLS examples with `--disable-oldnames`. 2023-12-19 10:35:55 -08:00
David Garske 005e08db5a For crypto cb TLS examples do free if not a copy. 2023-12-19 08:03:36 -08:00
David Garske 1e5f87b32f Better example for crypto callback hashing. 2023-12-18 15:44:35 -08:00
David Garske 124998fb8b Add example for TLS server with crypto callbacks. 2023-12-18 11:25:40 -08:00
David Garske 90f5882e8b Fix typo with HMAC determination of update/final. 2023-12-14 10:54:06 -08:00
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