pubkey.c, ...: Support Bernstein's `Ed25519' signature scheme.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 26 May 2016 08:26:09 +0000 (09:26 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 3 May 2017 11:51:27 +0000 (12:51 +0100)
catacomb-python.h
catacomb.c

index 679920f..41c5292 100644 (file)
@@ -88,6 +88,7 @@
 #include <catacomb/bintab.h>
 #include <catacomb/dsa.h>
 #include <catacomb/x25519.h>
+#include <catacomb/ed25519.h>
 
 #include <catacomb/gf.h>
 #include <catacomb/gfreduce.h>
index 1d6f7f6..d64a16e 100644 (file)
@@ -46,6 +46,7 @@ static const struct nameval consts[] = {
   C(KF_BURN), C(KF_OPT),
   C(EC_XONLY), C(EC_YBIT), C(EC_LSB), C(EC_CMPR), C(EC_EXPLY), C(EC_SORT),
   C(X25519_KEYSZ), C(X25519_PUBSZ), C(X25519_OUTSZ),
+  C(ED25519_KEYSZ), C(ED25519_PUBSZ), C(ED25519_SIGSZ),
 #define ENTRY(tag, val, str) C(KERR_##tag),
   KEY_ERRORS(ENTRY)
 #undef ENTRY