aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Jason Gross <jagro@google.com>2018-06-28 18:24:30 -0400
committerGravatar Jason Gross <jasongross9@gmail.com>2018-07-03 19:28:55 -0400
commit4b1ad8d4886de4d037b1fc5f49b51e8b6d036938 (patch)
treebf2f67878ca490e50e3e726adfbc3274624b70b0 /Makefile
parent1ca948e2ca70d2b16109aeea7ea173be2d827367 (diff)
Synthesize more
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b923a8188..4d891d425 100644
--- a/Makefile
+++ b/Makefile
@@ -488,6 +488,7 @@ standalone-haskell: $(STANDALONE:%=src/Experiments/NewPipeline/ExtractionHaskell
standalone-ocaml: $(STANDALONE:%=src/Experiments/NewPipeline/ExtractionOCaml/%)
UNSATURATED_SOLINAS_C_FILES := curve25519_64.c curve25519_32.c
+FUNCTIONS_FOR_25519 := carry_mul carry_square carry_scmul121666 carry add sub opp to_bytes from_bytes
UNSATURATED_SOLINAS := src/Experiments/NewPipeline/ExtractionOCaml/unsaturated_solinas
.PHONY: c-files
c-files: $(UNSATURATED_SOLINAS_C_FILES)
@@ -495,10 +496,10 @@ c-files: $(UNSATURATED_SOLINAS_C_FILES)
$(UNSATURATED_SOLINAS_C_FILES): $(UNSATURATED_SOLINAS)
curve25519_64.c:
- $(UNSATURATED_SOLINAS) '25519' '5' '2^255' '1,19' '64' > $@
+ $(UNSATURATED_SOLINAS) '25519' '5' '2^255' '1,19' '64' $(FUNCTIONS_FOR_25519) > $@
curve25519_32.c:
- $(UNSATURATED_SOLINAS) '25519' '10' '2^255' '1,19' '32' > $@
+ $(UNSATURATED_SOLINAS) '25519' '10' '2^255' '1,19' '32' $(FUNCTIONS_FOR_25519) > $@
clean::
rm -f Makefile.coq remake_curves.log src/Specific/.autgenerated-deps