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
Eric Blankenhorn
241748cf75
Note direction in SetKey for CTR and CFB example
2022-01-06 13:53:28 -06: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
Anthony Hu
7f2b379d0e
Use the correct certificate file name.
2021-11-04 12:23:45 -04:00
David Garske
468a5fb583
Merge pull request #271 from anhu/gen_verify_falcon
...
Example of how to generate and verify a falcon certificate chain.
2021-11-02 11:02:19 -07:00
Anthony Hu
6edb15d7e7
Reference github PR
2021-11-02 13:32:54 -04:00
Anthony Hu
a534f9140a
Macro guards and quickstart in README.md
2021-11-02 13:09:11 -04:00
Anthony Hu
02662f720d
Stuff caught by dgarske
2021-11-01 19:06:33 -04:00
Anthony Hu
858c0c1744
Add new pq (post-quantum) directory
...
- Add Falcon certificates to the certs directory
- Move falcon_certverify.c and generate_falcon_chains.sh to pq directory
- tls/server-tls13.c -> pq/server-pq-tls13.c
- tls/client-tls13.c -> pq/client-pq-tls13.c
- create new Makefile and README.md for pq directory
- revert tls/server-tls13.c and tls/client-tls13.c
2021-11-01 16:30:37 -04:00
Anthony Hu
ab92c0ae4a
Make server-tls13.c and client-tls13.c quantum-safe.
2021-11-01 11:59:12 -04:00