Commit Graph

1349 Commits (0424308d2e6520157c0e803f2e5fa59ffe7adc7c)

Author SHA1 Message Date
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
Anthony Hu 59dc4f482b Change generated file names to reflect NIST levels and some other cosmetic fixes. 2021-11-01 11:54:12 -04:00
Anthony Hu d6513447e4 WOLFSSL_BAD_FILE and OPENSSL over-rideable. 2021-11-01 11:54:12 -04:00
Anthony Hu a60fe89bc9 Fixes as suggested by dgarske. 2021-11-01 11:54:12 -04:00
Anthony Hu 28d18f41ff putting back `wolfSSL_CertManagerSetVerify(cm, myVerify);` 2021-11-01 11:54:12 -04:00
Anthony Hu 885db8126b Fixes suggested by dgarske. 2021-11-01 11:54:12 -04:00
Anthony Hu 46f61cc8f8 Example of how to verify a falcon certificate chain. 2021-11-01 11:54:12 -04:00
David Garske adbccfd8a2
Fix for TLS v1.3 key log examples (#273) 2021-10-27 14:38:05 -04:00
David Garske 244fd99568
Merge pull request #272 from anhu/csr_comment_fix
Comment fixup for csr_example.c
2021-10-18 09:22:14 -07:00
Anthony Hu bb753dc179 Comment fixup for csr_example.c 2021-10-18 10:11:06 -04:00
David Garske 012f447a1a
Fixes and cleanups to TLS UART example (#270) 2021-10-13 14:57:50 -04:00
Anthony Hu 07d8433f97
Merge pull request #269 from dgarske/tls_uart
Template for TLS over UART
2021-10-07 20:04:50 -04:00
David Garske 6b88ee7390 Template for TLS over UART. 2021-10-07 16:54:50 -07:00
John Safranek b986d1bca3
Merge pull request #268 from JacobBarthelmeh/wolfclu
wolfCLU was moved to its own repository
2021-09-23 13:34:38 -07:00