]> git.ipfire.org Git - thirdparty/tor.git/commit
Add the ed25519 ref10 code verbatim from supercop-20140622
authorNick Mathewson <nickm@torproject.org>
Tue, 26 Aug 2014 14:08:44 +0000 (10:08 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 26 Aug 2014 14:08:44 +0000 (10:08 -0400)
commitb40ac6808f8a31f2f95de435036a6a7af111fdff
treea668d3a32778547b5f91086507cb6be56ab9cad9
parentfdb7fc70d03d21d967db4928960241a624483a24
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.
69 files changed:
src/ext/ed25519/ref10/Makefile [new file with mode: 0644]
src/ext/ed25519/ref10/api.h [new file with mode: 0644]
src/ext/ed25519/ref10/base.h [new file with mode: 0644]
src/ext/ed25519/ref10/base.py [new file with mode: 0644]
src/ext/ed25519/ref10/base2.h [new file with mode: 0644]
src/ext/ed25519/ref10/base2.py [new file with mode: 0644]
src/ext/ed25519/ref10/d.h [new file with mode: 0644]
src/ext/ed25519/ref10/d.py [new file with mode: 0644]
src/ext/ed25519/ref10/d2.h [new file with mode: 0644]
src/ext/ed25519/ref10/d2.py [new file with mode: 0644]
src/ext/ed25519/ref10/fe.h [new file with mode: 0644]
src/ext/ed25519/ref10/fe_0.c [new file with mode: 0644]
src/ext/ed25519/ref10/fe_1.c [new file with mode: 0644]
src/ext/ed25519/ref10/fe_add.c [new file with mode: 0644]
src/ext/ed25519/ref10/fe_cmov.c [new file with mode: 0644]
src/ext/ed25519/ref10/fe_copy.c [new file with mode: 0644]
src/ext/ed25519/ref10/fe_frombytes.c [new file with mode: 0644]
src/ext/ed25519/ref10/fe_invert.c [new file with mode: 0644]
src/ext/ed25519/ref10/fe_isnegative.c [new file with mode: 0644]
src/ext/ed25519/ref10/fe_isnonzero.c [new file with mode: 0644]
src/ext/ed25519/ref10/fe_mul.c [new file with mode: 0644]
src/ext/ed25519/ref10/fe_neg.c [new file with mode: 0644]
src/ext/ed25519/ref10/fe_pow22523.c [new file with mode: 0644]
src/ext/ed25519/ref10/fe_sq.c [new file with mode: 0644]
src/ext/ed25519/ref10/fe_sq2.c [new file with mode: 0644]
src/ext/ed25519/ref10/fe_sub.c [new file with mode: 0644]
src/ext/ed25519/ref10/fe_tobytes.c [new file with mode: 0644]
src/ext/ed25519/ref10/ge.h [new file with mode: 0644]
src/ext/ed25519/ref10/ge_add.c [new file with mode: 0644]
src/ext/ed25519/ref10/ge_add.h [new file with mode: 0644]
src/ext/ed25519/ref10/ge_add.q [new file with mode: 0644]
src/ext/ed25519/ref10/ge_double_scalarmult.c [new file with mode: 0644]
src/ext/ed25519/ref10/ge_frombytes.c [new file with mode: 0644]
src/ext/ed25519/ref10/ge_madd.c [new file with mode: 0644]
src/ext/ed25519/ref10/ge_madd.h [new file with mode: 0644]
src/ext/ed25519/ref10/ge_madd.q [new file with mode: 0644]
src/ext/ed25519/ref10/ge_msub.c [new file with mode: 0644]
src/ext/ed25519/ref10/ge_msub.h [new file with mode: 0644]
src/ext/ed25519/ref10/ge_msub.q [new file with mode: 0644]
src/ext/ed25519/ref10/ge_p1p1_to_p2.c [new file with mode: 0644]
src/ext/ed25519/ref10/ge_p1p1_to_p3.c [new file with mode: 0644]
src/ext/ed25519/ref10/ge_p2_0.c [new file with mode: 0644]
src/ext/ed25519/ref10/ge_p2_dbl.c [new file with mode: 0644]
src/ext/ed25519/ref10/ge_p2_dbl.h [new file with mode: 0644]
src/ext/ed25519/ref10/ge_p2_dbl.q [new file with mode: 0644]
src/ext/ed25519/ref10/ge_p3_0.c [new file with mode: 0644]
src/ext/ed25519/ref10/ge_p3_dbl.c [new file with mode: 0644]
src/ext/ed25519/ref10/ge_p3_to_cached.c [new file with mode: 0644]
src/ext/ed25519/ref10/ge_p3_to_p2.c [new file with mode: 0644]
src/ext/ed25519/ref10/ge_p3_tobytes.c [new file with mode: 0644]
src/ext/ed25519/ref10/ge_precomp_0.c [new file with mode: 0644]
src/ext/ed25519/ref10/ge_scalarmult_base.c [new file with mode: 0644]
src/ext/ed25519/ref10/ge_sub.c [new file with mode: 0644]
src/ext/ed25519/ref10/ge_sub.h [new file with mode: 0644]
src/ext/ed25519/ref10/ge_sub.q [new file with mode: 0644]
src/ext/ed25519/ref10/ge_tobytes.c [new file with mode: 0644]
src/ext/ed25519/ref10/keypair.c [new file with mode: 0644]
src/ext/ed25519/ref10/open.c [new file with mode: 0644]
src/ext/ed25519/ref10/pow22523.h [new file with mode: 0644]
src/ext/ed25519/ref10/pow22523.q [new file with mode: 0644]
src/ext/ed25519/ref10/pow225521.h [new file with mode: 0644]
src/ext/ed25519/ref10/pow225521.q [new file with mode: 0644]
src/ext/ed25519/ref10/q2h.sh [new file with mode: 0755]
src/ext/ed25519/ref10/sc.h [new file with mode: 0644]
src/ext/ed25519/ref10/sc_muladd.c [new file with mode: 0644]
src/ext/ed25519/ref10/sc_reduce.c [new file with mode: 0644]
src/ext/ed25519/ref10/sign.c [new file with mode: 0644]
src/ext/ed25519/ref10/sqrtm1.h [new file with mode: 0644]
src/ext/ed25519/ref10/sqrtm1.py [new file with mode: 0644]