-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed implementation of value_at_weight function in Core.v to make it reifiable. Added stuff in Makefile.examples to generate dettman mul functions - renamed already-existing secp256k1 generated files to clarify that they're montgomery implementations, as opposed to the dettman secp256k1 functions that we now have as well.
- Loading branch information
1 parent
990bf2c
commit 7ccc514
Showing
17 changed files
with
413 additions
and
17 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
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
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,5 @@ | ||
Require Import Crypto.Bedrock.Standalone.StandaloneHaskellMain. | ||
Import Bedrock2First. | ||
|
||
(*Redirect "/tmp/bedrock2_dettman_multiplication.hs"*) Recursive Extraction DettmanMultiplication.main. | ||
(* cat /tmp/bedrock2_dettman_multiplication.hs.out | sed -f haskell.sed > ../../bedrock2_dettman_multiplication.hs *) |
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,4 @@ | ||
Require Import Crypto.StandaloneHaskellMain. | ||
|
||
(*Redirect "/tmp/dettman_multiplication.hs"*) Recursive Extraction DettmanMultiplication.main. | ||
(* cat /tmp/dettman_multiplication.hs.out | sed -f haskell.sed > ../../dettman_multiplication.hs *) |
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,5 @@ | ||
Require Import Crypto.Bedrock.Standalone.StandaloneHaskellMain. | ||
Import Bedrock2Later. | ||
|
||
(*Redirect "/tmp/bedrock2_dettman_multiplication.hs"*) Recursive Extraction DettmanMultiplication.main. | ||
(* cat /tmp/bedrock2_dettman_multiplication.hs.out | sed -f haskell.sed > ../../bedrock2_dettman_multiplication.hs *) |
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,4 @@ | ||
Require Import Crypto.Bedrock.Standalone.StandaloneOCamlMain. | ||
Import Bedrock2First. | ||
|
||
Extraction "src/ExtractionOCaml/bedrock2_dettman_multiplication.tmp" DettmanMultiplication.main. |
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,3 @@ | ||
Require Import Crypto.StandaloneOCamlMain. | ||
|
||
Extraction "src/ExtractionOCaml/dettman_multiplication.tmp" DettmanMultiplication.main. |
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,4 @@ | ||
Require Import Crypto.Bedrock.Standalone.StandaloneOCamlMain. | ||
Import Bedrock2Later. | ||
|
||
Extraction "src/ExtractionOCaml/with_bedrock2_dettman_multiplication.tmp" DettmanMultiplication.main. |
Oops, something went wrong.