aboutsummaryrefslogtreecommitdiff
path: root/src/Specific/montgomery32_2e382m105/fesquare.c
diff options
context:
space:
mode:
authorGravatar Jason Gross <jgross@mit.edu>2017-11-03 12:26:42 -0400
committerGravatar Jason Gross <jgross@mit.edu>2017-11-03 12:26:42 -0400
commite18f56add80534fba83a009990eab3917a25b834 (patch)
treed6ab6b60f0ec77837dd6bb8919bda07e9d15b680 /src/Specific/montgomery32_2e382m105/fesquare.c
parent3023b36389d67185786cb2537dad161d9ff630d5 (diff)
python3 generate_parameters.py primes.txt; (cd src/Specific/CurveParameters/; ./remake_curves.sh -f)
Diffstat (limited to 'src/Specific/montgomery32_2e382m105/fesquare.c')
-rw-r--r--src/Specific/montgomery32_2e382m105/fesquare.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Specific/montgomery32_2e382m105/fesquare.c b/src/Specific/montgomery32_2e382m105/fesquare.c
new file mode 100644
index 000000000..e3345edfe
--- /dev/null
+++ b/src/Specific/montgomery32_2e382m105/fesquare.c
@@ -0,0 +1,5 @@
+/* WARNING: This file was copied from Specific/CurveParameters/montgomery32/fesquare.c.
+ If you edit it here, changes will be erased the next time remake_curves.sh is run. */
+static void fesquare(uint32_t *out, const uint32_t *in) {
+ femul(out, in, in);
+}