chiark
/
gitweb
/
~mdw
/
pyke
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pubkey.c, ...: Support Bernstein's `X25519' key-agreement algorithm.
[pyke]
/
catacomb.c
diff --git
a/catacomb.c
b/catacomb.c
index 49d0f4001be6285b48b91ffc9e5bdaeebae9f17a..1d6f7f633484f05613f2b0c65bd6d26451b1a077 100644
(file)
--- 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