-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add SAW proof for
ec_GFp_nistp384_point_mul_base
(#114)
* Add Cryptol specification for point_mul_base * Add SAW proof for point_mul_base
- Loading branch information
Showing
12 changed files
with
1,619 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/crypto/fipsmodule/ec/p384.c b/crypto/fipsmodule/ec/p384.c | ||
index 6941f2626..4cd58c6a4 100644 | ||
--- a/crypto/fipsmodule/ec/p384.c | ||
+++ b/crypto/fipsmodule/ec/p384.c | ||
@@ -715,6 +715,7 @@ static void p384_select_point(p384_felem out[3], | ||
|
||
// p384_select_point_affine selects the |idx|-th affine point from | ||
// the given precomputed table and copies it to |out| in constant-time. | ||
+__attribute__((noinline)) | ||
static void p384_select_point_affine(p384_felem out[2], | ||
size_t idx, | ||
const p384_felem table[][2], |
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
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.