From d223dc6b342aa02392b316150c476f80c41fcc4b Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Wed, 12 Apr 2017 18:39:01 +0100 Subject: [PATCH] pubkey.c, ...: Support Bernstein's `X25519' key-agreement algorithm. --- catacomb-python.h | 1 + catacomb.c | 1 + 2 files changed, 2 insertions(+) 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 -- 2.11.0