aboutsummaryrefslogtreecommitdiff
path: root/src/ext/ed25519/ref10/Makefile
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-08-26 10:08:44 -0400
committerNick Mathewson <nickm@torproject.org>2014-08-26 10:08:44 -0400
commitb40ac6808f8a31f2f95de435036a6a7af111fdff (patch)
treea668d3a32778547b5f91086507cb6be56ab9cad9 /src/ext/ed25519/ref10/Makefile
parentfdb7fc70d03d21d967db4928960241a624483a24 (diff)
downloadtor-b40ac6808f8a31f2f95de435036a6a7af111fdff.tar.gz
tor-b40ac6808f8a31f2f95de435036a6a7af111fdff.zip
Add the ed25519 ref10 code verbatim from supercop-20140622
We might use libsodium or ed25519-donna later on, but for now, let's see whether this is fast enough. We should use it in all cases when performance doesn't matter.
Diffstat (limited to 'src/ext/ed25519/ref10/Makefile')
-rw-r--r--src/ext/ed25519/ref10/Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/ext/ed25519/ref10/Makefile b/src/ext/ed25519/ref10/Makefile
new file mode 100644
index 0000000000..9b0ba7ad45
--- /dev/null
+++ b/src/ext/ed25519/ref10/Makefile
@@ -0,0 +1,41 @@
+all: d.h d2.h sqrtm1.h base.h base2.h \
+ge_add.h ge_sub.h \
+ge_madd.h ge_msub.h \
+ge_p2_dbl.h \
+pow225521.h pow22523.h
+
+d.h: d.py
+ python d.py > d.h
+
+d2.h: d2.py
+ python d2.py > d2.h
+
+sqrtm1.h: sqrtm1.py
+ python sqrtm1.py > sqrtm1.h
+
+base.h: base.py
+ python base.py > base.h
+
+base2.h: base2.py
+ python base2.py > base2.h
+
+ge_add.h: ge_add.q q2h.sh
+ ./q2h.sh < ge_add.q > ge_add.h
+
+ge_sub.h: ge_sub.q q2h.sh
+ ./q2h.sh < ge_sub.q > ge_sub.h
+
+ge_madd.h: ge_madd.q q2h.sh
+ ./q2h.sh < ge_madd.q > ge_madd.h
+
+ge_msub.h: ge_msub.q q2h.sh
+ ./q2h.sh < ge_msub.q > ge_msub.h
+
+ge_p2_dbl.h: ge_p2_dbl.q q2h.sh
+ ./q2h.sh < ge_p2_dbl.q > ge_p2_dbl.h
+
+pow22523.h: pow22523.q q2h.sh
+ ./q2h.sh < pow22523.q > pow22523.h
+
+pow225521.h: pow225521.q q2h.sh
+ ./q2h.sh < pow225521.q > pow225521.h