wolfssl-examples/pk/ED25519
Chris Conlon 9237d307b5 update copyright to 2020 2020-01-03 16:08:42 -08:00
..
Makefile Refactor PK examples out of crypto and mv non-sig specific to pk dir 2019-02-26 11:15:12 -07:00
README Refactor PK examples out of crypto and mv non-sig specific to pk dir 2019-02-26 11:15:12 -07:00
ed_priv_test_key.der Refactor PK examples out of crypto and mv non-sig specific to pk dir 2019-02-26 11:15:12 -07:00
ed_pub_test_key.der Refactor PK examples out of crypto and mv non-sig specific to pk dir 2019-02-26 11:15:12 -07:00
gen_key_files.c Refactor PK examples out of crypto and mv non-sig specific to pk dir 2019-02-26 11:15:12 -07:00
genkeybuffers.pl update copyright to 2020 2020-01-03 16:08:42 -08:00
sign_and_verify.c Refactor PK examples out of crypto and mv non-sig specific to pk dir 2019-02-26 11:15:12 -07:00
test_keys.h Refactor PK examples out of crypto and mv non-sig specific to pk dir 2019-02-26 11:15:12 -07:00

README

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