chiark / gitweb /
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)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 8 Dec 2019 00:38:42 +0000 (00:38 +0000)
commit7772fe7db6c4246e4818e7bdb7d24cb85426ca79
tree446f5efe19d17a1ca69f12cfae665d7c1e25ded8
parentb96f97499b182be31ca8eeaf7e2a42bd05ec1a97
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]