From: Mark Wooding Date: Wed, 12 Apr 2017 17:39:01 +0000 (+0100) Subject: pubkey.c, ...: Support Bernstein's `X25519' key-agreement algorithm. X-Git-Url: https://git.distorted.org.uk/~mdw/pyke/commitdiff_plain/d223dc6b342aa02392b316150c476f80c41fcc4b pubkey.c, ...: Support Bernstein's `X25519' key-agreement algorithm. --- diff --git a/catacomb-python.h b/catacomb-python.h index 8f8da9d..679920f 100644 --- a/catacomb-python.h +++ b/catacomb-python.h @@ -87,6 +87,7 @@ #include #include #include +#include #include #include diff --git a/catacomb.c b/catacomb.c index 49d0f40..1d6f7f6 100644 --- a/catacomb.c +++ b/catacomb.c @@ -45,6 +45,7 @@ static const struct nameval consts[] = { C(KF_NONSECRET), 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), #define ENTRY(tag, val, str) C(KERR_##tag), KEY_ERRORS(ENTRY) #undef ENTRY