JacobBarthelmeh
07fe3d305b
fix typo and remove magic number
2022-04-05 14:58:36 -07:00
JacobBarthelmeh
8fefc773a5
remove export kek example since it is an internal function
2022-03-17 10:29:36 -07:00
JacobBarthelmeh
6f11d1c5a1
add aes key update examples
2022-03-17 09:50:51 -07:00
JacobBarthelmeh
37e0b33f4b
adding devcrypto examples
2022-03-04 13:16:37 -08:00
JacobBarthelmeh
da15ec48e4
add stdio include
2022-03-02 15:38:16 -08:00
JacobBarthelmeh
8b8e61d35d
add seco examples
2022-03-02 15:24:13 -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
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
Jacob Barthelmeh
70c293a10e
remove wolfCLU from .gitignore
2021-09-23 12:04:34 -06:00
Jacob Barthelmeh
de23896c1d
remove wolfCLU from README.md
2021-09-20 11:34:15 -06:00
Jacob Barthelmeh
da8f86333b
wolfCLU was moved to its own repository
2021-09-20 11:31:52 -06:00
John Safranek
f84b80dbd4
Merge pull request #267 from dgarske/evp_tpm
...
Example using the EVP compatibility layer with the crypto callbacks and TPM
2021-09-02 15:56:05 -07:00
David Garske
621b801338
Example using the EVP compatibility layer with the crypto callbacks and TPM.
2021-08-24 12:43:54 -07:00