-
Notifications
You must be signed in to change notification settings - Fork 731
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[otbn/sca] Add new sca features for otbn_ecdsa_256
Enable OTBNsim simulation of p256_ecdsa_sca.s, and enable receiving of all secret input shares(k0, k1, d0, d1) from the host-side Python code. *.s file: - Change file to enable OTBNsim simulation. - Set default values for k0, k1, msg, x, y, d0, d1. - This values can be modified to compare the OTBNsim results to FPGA results. *.c file: - Remove all the LOG_INFO between the two triggers to make sure the measured ECDSA operation's timing will be same for all runsi. - Enable receiving of k0, k1, d0, d1 from the host-side Python code. - Add a new simpleserial command ('k') to separate the start_ecdsa,'p', and set secret scalar 'k'. Signed-off-by: Bilgiday Yuce <bilgiday@google.com>
- Loading branch information
Showing
2 changed files
with
151 additions
and
50 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
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