forked from ZcashFoundation/zcash-fpga
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
1. ecdsa_test.cpp: hardcoded several TV and feed to FPGA for test; | ||
|
||
To compile the ecdsa_test.cpp | ||
make -f openssl_verify.cpp | ||
Usage: (before doing below, make sure you had already load the fpga image, check master help document) | ||
- Compile the ecdsa_test.cpp | ||
make -f makefile_ecdsa | ||
|
||
- Usage: (before doing below, make sure you had already load the fpga image, check master help document) | ||
sudo ./ecdsa_test | ||
|
||
----------------------------- | ||
|
||
2. openssl_verify.cpp: utilize the openssl lib to generate the test vector dynamiclly and feedback to fpga for verify test. | ||
|
||
To compile the openssl_verify.cpp | ||
- Compile the openssl_verify.cpp | ||
make -f openssl_verify.cpp | ||
|
||
Usage: (before doing below, make sure you had already load the fpga image, check the master help document) | ||
|
||
sudo ./openssl_verify <iteration num> <verbose mode: t | f> | ||
|
||
iteration num is used to define how much round test to be done, just give a number; | ||
verbose mode: control if you want to output more debug infor. (for exp, signature body, etc.) | ||
- Usage: (before doing below, make sure you had already load the fpga image, check the master help document) | ||
sudo ./openssl_verify <iteration num> <verbose: t | f> | ||
|
||
<iteration num> is used to define how much round test to be done, just give a number; | ||
<verbose> control if you want to output more information(t) or not(f) |