Import implementations of X25519 and X448 from Catacomb.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 26 Apr 2017 10:53:05 +0000 (11:53 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 25 Sep 2019 12:46:59 +0000 (13:46 +0100)
commitb7a5ecfcbac18c56d0b044975f6ed6835dd86ab4
tree297c72c981c0ffad2dbe32be85789dfd9da57a04
parenta9aa5d13a344c0472241a246a34f7cecf2a7d737
Import implementations of X25519 and X448 from Catacomb.

Taken from https://git.distorted.org.uk/~mdw/catacomb/, commit-id
9c1437f372e62f0b3b3a7162aabee73bdc96ce4b.

These are just the raw files from upstream.  Don't try to build them,
because they have all sorts of dependencies on the rest of the library.
But at least this way I can record the hacking I did to integrate them
into Secnet.

The test vector files were originally called things like
`math/t/f25519': I've renamed them here because otherwise they'd briefly
introduce directories or have very unhelpful names.  They'll need
radically reformatting anyway, because the test-vector parser didn't
come along for the ride.

Signed-off-by: Mark Wooding <mdw@distorted.org.uk>
14 files changed:
f25519-tests.in [new file with mode: 0644]
f25519.c [new file with mode: 0644]
f25519.h [new file with mode: 0644]
fgoldi-tests.in [new file with mode: 0644]
fgoldi.c [new file with mode: 0644]
fgoldi.h [new file with mode: 0644]
montladder.h [new file with mode: 0644]
qfarith.h [new file with mode: 0644]
x25519-tests.in [new file with mode: 0644]
x25519.c [new file with mode: 0644]
x25519.h [new file with mode: 0644]
x448-tests.in [new file with mode: 0644]
x448.c [new file with mode: 0644]
x448.h [new file with mode: 0644]