Commit Graph

197 Commits (master)

Author SHA1 Message Date
Anthony Hu bf66a60442 Also prevent a dangling pointer 2025-04-30 16:04:19 -04:00
Anthony Hu 83ec2dc0fd Let user know they need to use --enable-keygen 2025-04-30 12:34:01 -04:00
Anthony Hu b848ae0527 Use the timeout value for non-blocking 2024-11-21 10:45:14 -05:00
Anthony Hu 7f96232480 options.h 2024-07-24 15:16:36 -04:00
Anthony Hu b4112f075f Better guarding on TLS 1.3. 2024-07-23 13:49:57 -04:00
Anthony Hu 5b926f1827 Adding WOLFSSL_USER_SETTINGS guarding 2024-07-23 13:06:51 -04:00
Anthony Hu 70909ea2f9 Better instructions 2024-07-22 17:08:03 -04:00
Anthony Hu b375acd729 Better guarding, better commenting, remove irrelevant code 2024-07-22 17:04:21 -04:00
Anthony Hu 4b84114c6a Fix filename and copyright dates 2024-07-22 12:09:52 -04:00
Anthony Hu c6f520911d New example for post-handshake authentication. 2024-07-12 00:30:58 -04:00
Andras Fekete 21b7c8e4fe Addressing PR comment 2024-05-01 14:13:58 -04:00
Andras Fekete a5168edc72 Remove forced TLS1v3 in cryptocb example 2024-04-18 16:05:06 -04:00
Andras Fekete 0c031ea601 Client needs to have the same TLS version as server 2024-04-18 13:41:47 -04:00
Andras Fekete aaa1227d17 Allow TLS1.3 connections 2024-04-04 14:08:20 -04:00
Andras Fekete 4c2f96ff64 Clean up wolfSSL path variable name 2024-04-04 13:28:23 -04: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