Commit Graph

1119 Commits (aa701a77d330b749123a591f6758ac265c85e9c5)

Author SHA1 Message Date
David Garske aa701a77d3 Add links to examples. 2022-02-15 15:45:03 -08:00
David Garske 894059f675 Added missing `string.h` for `strcasestr`. 2022-02-15 15:07:33 -08:00
David Garske b9b85d8efb Textual updates from peer review. 2022-02-15 14:20:04 -08:00
David Garske 1b6974e4ee Improve TLS example to accept STDIN and "exit" command. Improve documentation. 2022-02-15 13:58:04 -08:00
David Garske 809e5351bb Added BTLE TLS v1.3 example. 2022-02-15 13:10:41 -08:00
David Garske 3b21b61df6
Merge pull request #292 from anhu/pq_uart
TLS 1.3 over uart for PQ.
2022-02-11 12:35:49 -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
Anthony Hu 47d1e9f4bb
Merge pull request #291 from dgarske/tls13_fixes 2022-02-09 10:12:00 -05:00
David Garske 55cad5f79a
Merge pull request #282 from rizlik/psa
psa: add tls13 ecc client/server examples
2022-02-07 10:40:33 -08:00
Marco Oliverio 6b3a23244f psa: add Trusted Firmware-M example 2022-02-04 21:37:09 +01:00
Marco Oliverio d7b950ba53 psa: add tls13 ecc client/server examples 2022-02-04 21:37:09 +01: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
Anthony Hu 1aa2f39d50
Merge pull request #289 from dgarske/tls13_mutual 2022-02-04 15:24:18 -05:00
David Garske 86da90767e Add mutual authentication to TLS v1.3 example. 2022-02-03 14:44:31 -08:00
David Garske 812b3e985b
Merge pull request #288 from anhu/caveat
Add a short caveat to client-tls13-resume.c
2022-02-03 13:55:40 -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 84bc92ef8d
Merge pull request #287 from anhu/tls13-resume
Add a new client-tls13-resume.c sample
2022-02-02 15:22:25 -08: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
David Garske dd73de6d54
Merge pull request #286 from anhu/purge_algos
Purge generated code and deprecated algorithms.
2022-02-01 14:44:18 -08:00
Anthony Hu 730ddccec7 Bring back defines of NO_<ALG>. 2022-02-01 17:30:41 -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
Sean Parkinson 5cd93ef0d5
Merge pull request #285 from dgarske/curve25519_test
Curve25519 example for hex string test vectors
2022-01-28 16:37:42 +10:00
David Garske f61f8f9a5b Improve the endianess logic for test vector. 2022-01-27 14:40:45 -08:00
David Garske a93591c6b0 Added simple README.md. 2022-01-27 07:38:53 -08:00
David Garske dd3549220f Added endianess to the example. All tests pass now. 2022-01-27 07:36:42 -08:00
David Garske c24f179233 Curve25519 test vectors. 2022-01-26 16:09:10 -08:00
David Garske 48b7d5af0c
Merge pull request #280 from LinuxJedi/native-can-isotp
Alter ISO-TP example to use wolfSSL native
2022-01-06 10:24:47 -08:00
Andrew Hutchings 8aee626efe Fix CAN messages
client/server names were incorrect
2022-01-06 18:02:11 +00:00
Andrew Hutchings ef0ee3649c Alter ISO-TP example to use wolfSSL native
Uses the wolfSSL native ISO-TP instead of a third-party one.
2022-01-06 11:40:36 +00:00
David Garske 7be7d7fa9e
Merge pull request #279 from LinuxJedi/add-canbus
Add a CAN bus TLS example using ISO-TP transport
2021-12-09 09:26:18 -08:00
Andrew Hutchings dca547c504 Minor fixes to CAN bus
* Init `sock` with -1 and make static
* Brace style fix in `isotp_user_debug`
* Use wolfCrypt `MEMORY_E` for memory allocation error
2021-12-09 17:23:19 +00:00
Andrew Hutchings 809acb3e3c Cleanups to CAN bus
* Add warnings to CFLAGS (except for isotp)
* Fix items found by warnings
* Remove %.*s usage
* Fix indentation issue
* Use WOLFSSL_* instead of SSL_* constants
* Switch to TLS v1.3
* Add missing wolfSSL_Cleanup()
2021-12-09 11:33:16 +00:00
Andrew Hutchings 0242c880ed Fix valgrind detected leak
Leak after Ctrl-C in CAN bus client.
2021-12-08 13:57:49 +00:00
Andrew Hutchings 191b5db535 Add a CAN bus TLS example using ISO-TP transport
This provides a simple echo server / client that uses ISO-TP over CAN
bus and wolfSSL for TLS.
2021-12-08 11:52:16 +00:00
Anthony Hu b96386c95e
Merge pull request #277 from dgarske/csr_sign 2021-11-30 10:15:51 -05:00
David Garske 0ce48b6028 Cleanup non ECC cases. 2021-11-29 14:34:44 -08:00
David Garske f304069438 Fixes for building without ECC enabled. Updated examples and remove duplicate with_altnames and combined into existing example. 2021-11-29 13:29:26 -08:00
David Garske 7212062235 Fixes issue with uninitialized `caKey` found with valgrind reported in ZD 13212. 2021-11-29 07:10:35 -08:00
lealem47 7931f0dff5
Merge pull request #276 from anhu/curl_httpd
Better certificate configurations to make the curl/httpd demo work.
2021-11-23 11:21:03 -07:00
Anthony Hu 4b95514c36 Better certificate configurations to make the curl/httpd demo work. 2021-11-23 11:18:13 -05:00
Kaleb Himes 70d2eb87e8
Merge pull request #275 from dgarske/csr_sign
Improvements to CSR examples
2021-11-19 16:12:09 -07:00
David Garske dfd8a09c19 Fixes to get csr_sign working correctly. Currently only supports ECC, but could be easily adopted for RSA or ED25519. 2021-11-18 22:10:10 -08:00
David Garske bde4231cb3 Improvements to CSR examples.
* Add ed25519 support to csr_example.
* Added example for signing a CSR using a CA.
* Cleanup the csrgen_example.
2021-11-17 17:08:58 -08:00
David Garske 6bb6275e95
Merge pull request #233 from SparkiDev/pkcs11_label
Pkcs11 label
2021-11-08 14:00:48 -08:00
David Garske 5d0b5fe36e
Merge pull request #274 from anhu/forLealem
Use the correct certificate file name.
2021-11-04 10:16:21 -07:00