Commit Graph

31 Commits (cfeb85c432ab0c36ef213bd0ea40861c78271411)

Author SHA1 Message Date
John Bland f155379142
add example of how to use HPKE with all options (#356)
* add example of how to use HPKE with all options

* add example of how to use ech with a public server run by cloudflare

* move ech example to tls directory, update hpke instructions

* update client-ech based on pr comments

* update ech test to handle read error

* update hpke_test to match changed function signature

* add root CA cert for ech-client example, fix

various problems based on pr comments

* clear out variable for example

* remove unused variable
2023-07-10 14:25:20 -07:00
tim-weller-wolfssl 013a6da63d Phase 1 updates to wolfSSL examples based on testing with wolfSSL
release v5.5.4-stable.  Changes include minor build fixes and README
updates.
2023-03-25 09:15:11 -05:00
Sean Parkinson cbe8214bd8 Add RSA key generation example 2022-05-11 11:41:27 +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
Lealem Amedie c8d596269d Getting files to run and pass nightly-CDT test 2021-07-06 13:57:19 -06:00
Lealem Amedie f30fea9e3c minor spelling and markdown fixes 2021-06-30 09:35:29 -06:00
Lealem Amedie be264f0511 Adding documentation where needed. Made changes to code to assure files build and implement good coding practices 2021-06-29 16:02:52 -06:00
David Garske 5ba15f1426 Spelling fixes. 2021-06-09 09:07:40 -07:00
kaleb-himes 770c6b589f Remove unused variables 2021-05-04 10:23:35 -06:00
kaleb-himes d4c25f24f7 Implement peer review feedback 2021-05-04 10:20:11 -06:00
Kaleb Himes 238019d1d2
Merge branch 'master' into TEST_CERT_KEY_PAIR 2020-06-18 07:31:36 -06:00
Sean Parkinson 0687fcb3b7 Add Curve448, Ed448 and Ed25519 examples
Curve448 example as part of pk/ecdh_generate_secret/ecdh_gen_secret.c
2020-06-18 13:16:03 +10:00
Kaleb Himes edd754a38a
Merge pull request #193 from SparkiDev/srp_examples
SRP examples
2020-06-17 21:01:53 -06:00
Sean Parkinson 037d296724 SRP examples
srp_gen - generates the verifier for username and password
srp_gen does client and server side work to create and verify proofs
2020-06-18 09:25:51 +10:00
kaleb-himes 05009a6255 Add executable to ignore, add check for FP_MAX_BITS 2020-05-27 14:35:39 -06:00
kaleb-himes 5bac34359e Quick example app to check if a cert and key match 2020-05-27 14:27:35 -06:00
kaleb-himes b9d5847fb4 Fix: ecc sign/verify examples calling wolfmath primitives without WOLFSSL_PUBLIC_MP check 2020-05-08 16:35:12 -06:00
David Garske 751d3ee4ad Updated Makefile to allow for wolf path. 2020-05-04 08:00:11 -07:00
David Garske 8b8915d17e Peer review feedback. Adjust README.md and fix possible use of un-init variable. 2020-05-04 07:58:43 -07:00
David Garske 4f732c9b6b Improved ECC sign/verify examples using raw key/signature elements. Add ECC public key export example. Cleanup ecc_keys.c example. 2020-05-04 07:52:27 -07:00
Chris Conlon 9237d307b5 update copyright to 2020 2020-01-03 16:08:42 -08:00
Sean Parkinson 3f51d20c36 Add RSA and DH samples
RSA key generation with sign-verify checks.
DH parameter generation or FFDHE with key agreement checks.
2019-11-26 17:34:43 +10:00
Kaleb Himes f749088e32
Formatting changes 2019-05-10 13:49:11 -06:00
kaleb-himes 0ab33c6e35 Remove unused prototype 2019-05-10 13:45:59 -06:00
kaleb-himes 6151460d61 Add ecdh generate secret example w/ 2 curves for now 2019-05-10 13:35:44 -06:00
David Garske bb06f661fe Fixes for nightly Jenkins reports (pass 1). 2019-03-26 10:27:25 -07:00
kaleb-himes 3eccfd6940 Peer feedback on size_t vs UL and update gitignore further 2019-02-26 11:20:33 -07:00
kaleb-himes c6ab48d9a5 Refactor PK examples out of crypto and mv non-sig specific to pk dir 2019-02-26 11:15:12 -07:00