Commit Graph

1574 Commits (devin/1741050294-optimize-memory-buckets)

Author SHA1 Message Date
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
David Garske de246ca69f
Merge pull request #443 from anhu/mldsa
Switching over to MLDSA for the X9.146 examples.
2024-07-19 07:45:02 -07:00
David Garske 30944737b9
Merge pull request #441 from wolfSSL/PKCS7_verify
pkcs7-verify.c addition for PKCS7 PEM and DER wolfssl examples.
2024-07-19 07:44:22 -07:00
David Garske c3847f05a1
Merge pull request #442 from wolfSSL/ecc_sign_determinsitic_k2
ecc_sign_determinisitic.c test for for deterministic ECDSA Prime Field for SECP256R1, SECP384R1, and SECP521R
2024-07-19 07:42:04 -07:00
Anthony Hu c6f520911d New example for post-handshake authentication. 2024-07-12 00:30:58 -04:00
Anthony Hu 4b8f66a4fa
Merge pull request #444 from embhorn/zd18256
Add wc_ecc_set_rng to ecdh_gen_secret
2024-07-10 11:43:20 -04:00
Eric Blankenhorn 3c14ef823a Add wc_ecc_set_rng to ecdh_gen_secret 2024-07-10 10:25:52 -05:00
aidan garske 08c24d4cf3 Added pkcs7-verify verification of matching output and .p7b
added DER to PEM check  wc_DerToPem.
2024-07-08 16:25:46 -07:00
Anthony Hu ce8179b5c9 Switching over to MLDSA for the X9.146 examples. 2024-07-03 18:10:36 -04:00
aidan garske 413b997e7f ecc_sign_determinisitic.c test for for deterministic ECDSA Prime Field for SECP256R1, SECP384R1, and SECP521R .gitignore addition and binary file exclusion. 2024-07-03 11:54:26 -07:00
aidan garske 49bfb703a7 ecc_sign_determinisitic.c test for for deterministic ECDSA Prime Field for SECP256R1, SECP384R1, and SECP521R. With SHA256, SHA384, and SHA512 tests. 2024-07-03 09:58:38 -07:00
aidan garske ecd8ce1882 ecc_sign_determinisitic.c test for for deterministic ECDSA Prime Field for SECP256R1, SECP384R1, and SECP521R. With SHA256, SHA384, and SHA512 tests. 2024-07-03 09:44:51 -07:00
aidan garske 4465fe0a5d Merge branch 'PKCS7_verify' of https://github.com/aidangarske/wolfssl-examples into PKCS7_verify 2024-07-02 12:01:59 -07:00
aidan garske 2e8642ddd3 PKCS7-verify example for PKCS7 DER and PEM. 2024-07-02 11:46:53 -07:00
aidan garske 0971b433d7 PKCS7-verify example for PKCS7 DER and PEM. 2024-07-02 11:30:23 -07:00
JacobBarthelmeh ec737760ba
Merge pull request #440 from anhu/12345
Remove addition of unknown extension in dual alg cert demos
2024-06-21 09:23:53 -06:00
Anthony Hu a601c7e284 Remove addition of unknown extension in dual alg cert demos 2024-06-19 17:07:07 -04:00
David Garske 7014d6961e
Merge pull request #429 from JacobBarthelmeh/pkcs7_stream
update example to handle larger inputs
2024-06-06 08:16:21 -07:00
David Garske 37f622e492
Merge pull request #434 from SparkiDev/certvfy
Low-level certificate verification examples
2024-06-06 07:10:40 -07:00
Sean Parkinson 03af3cf231 Low-level certificate verification examples 2024-06-06 15:53:14 +10:00
David Garske b88dc1b0f4
Merge pull request #437 from anhu/pre-gen-pem
Pre-generate PQ PEM priv keys for the X9.146 demos
2024-05-23 10:43:12 -07:00
Anthony Hu abac0000d2 Pre-generate PQ PEM priv keys for the X9.146 demos 2024-05-22 17:02:11 -04:00
David Garske a68fe84c0f
Merge pull request #436 from philljj/update_lms_xmss_examples
Update lms xmss examples
2024-05-13 09:16:40 -07:00
jordan 1252dd6a34 Add missing wc_LmsKey_Init call. 2024-05-09 15:31:11 -05:00
jordan 64aedb43d0 Small readme cleanup. 2024-05-09 15:12:26 -05:00
jordan 946e6f3e7e Update LMS and XMSS examples. 2024-05-09 15:08:29 -05:00
Sean Parkinson 2326995fb0
Merge pull request #435 from bandi13/ConsolidateNaming
Several fixes in various tests across the repository
2024-05-02 10:42:57 +10:00
Andras Fekete 21b7c8e4fe Addressing PR comment 2024-05-01 14:13:58 -04:00
Andras Fekete 077ac687d7 Avoid the word "WARNING" in messages 2024-05-01 14:03:01 -04:00
Andras Fekete a698039f54 Give an error when dependencies are unmet 2024-04-30 14:34:12 -04:00
Andras Fekete 1d689c8e1b Fix library path 2024-04-30 12:41:33 -04:00
Andras Fekete 53b1c7d577 Added 'ecc-client-keyPub.der' needed by pkcs7/signedData-cryptocb 2024-04-30 11:00:42 -04:00
Anthony Hu d9fcb0e62c
Merge pull request #433 from philljj/fix_lms_example
Check privSz after GetPrivLen.
2024-04-25 11:10:30 -04:00
jordan c47e7a8bb7 Check privSz after GetPrivLen. 2024-04-25 10:05:02 -05:00
Andras Fekete e9ef698710 Don't ignore errors when building executable 2024-04-22 10:42:27 -04:00
Andras Fekete 953b896d86 Fix compile error 2024-04-22 10:12:56 -04:00
Andras Fekete 843e4ac8e2 Grab the latest certs from the `wolfSSL` repo 2024-04-19 14:27:42 -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
philljj 7eff6cb7fb
Merge pull request #431 from rizlik/dtls-server-fixes
dtls: server fixes
2024-04-11 09:44:11 -05:00
Marco Oliverio ae0372d06a dtls: client-threaded: remove 1 sec sleep between wolfSSL_Connect 2024-04-11 14:24:44 +02:00
JacobBarthelmeh 0f2a276dd5
Merge pull request #432 from cconlon/androidUpdate
Android: update wolfssljni Android Studio project
2024-04-09 16:05:10 -06:00
Chris Conlon 12fdd23b08 Android: update wolfssljni Android Studio project, bump Android Gradle Plugin from 8.0.2 to 8.3.1 2024-04-08 13:36:11 -06:00
Tobias Frauenschläger ea6825ce1c
X9.146: Sign certificates with the right key (#426)
* X9.146: Sign certificates with the right key

The hybrid certificate X9.146 examples used the wrong private key for
creating the alternative signature of the server certificate. It has to
be the issuer key (from the root certificate), not the private key from
the server certificate. Also add -d for server to disable mutual authentication.



---------

Signed-off-by: Tobias Frauenschläger <t.frauenschlaeger@me.com>
Co-authored-by: Anthony Hu <anthony@wolfssl.com>
2024-04-04 22:10:10 -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