wolfssl-examples/pk/ed25519_gen
Andras Fekete 4c2f96ff64 Clean up wolfSSL path variable name 2024-04-04 13:28:23 -04:00
..
Makefile Clean up wolfSSL path variable name 2024-04-04 13:28:23 -04:00
README.md 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
ed_priv_test_key.der Add Curve448, Ed448 and Ed25519 examples 2020-06-18 13:16:03 +10:00
ed_pub_test_key.der Add Curve448, Ed448 and Ed25519 examples 2020-06-18 13:16:03 +10:00
gen_key_files.c Spelling fixes. 2021-06-09 09:07:40 -07:00
genkeybuffers.pl Add Curve448, Ed448 and Ed25519 examples 2020-06-18 13:16:03 +10:00
sign_and_verify.c Spelling fixes. 2021-06-09 09:07:40 -07:00
test_keys.h Add Curve448, Ed448 and Ed25519 examples 2020-06-18 13:16:03 +10:00

README.md

Configure and install wolfSSL with these options:

./configure --enable-ed25519 make make install

(if any build issues due to previous installations please run 'ldconfig`)

To compile without Makefile:

gcc -o gen_key_files gen_key_files.c -lwolfssl gcc -o sign_and_verify sign_and_verify.c -lwolfssl

To re-create the ed25519 private/public key files and update the test_keys.h header file run these commands:

./gen_key_files ./genkeybuffers.pl

To sign a message and verify the signature run:

./sign_and_verify

Best wishes in all your testing!

  • The wolfSSL Team