-
Notifications
You must be signed in to change notification settings - Fork 790
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[crypto] Consolidate P-384 OTBN binaries.
Analogous to the P-256 refactor but more dramatic, because P-384 was split into more pieces previously. With larger IMEM, we can use only one binary for P-384 operations, instead of the previous four (keygen/sign/verify/ecdh). There's again a lot of code churn here, but the vast majority of it is only moved, not changed. Like with P-256, some names had to be changed to fit the naming convention of definitions from the same C header starting with the same prefix (so e.g. "ecdsa_p384" became "p384_ecdsa"). This saves about 16.4 kB (!) of code size. Signed-off-by: Jade Philipoom <[email protected]> (cherry picked from commit 488bd4b)
- Loading branch information
1 parent
7e1d62d
commit 1d2955d
Showing
28 changed files
with
901 additions
and
1,716 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
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
Oops, something went wrong.