chiark / gitweb /
pubkey.c, ...: Support Bernstein's `X25519' key-agreement algorithm.
[pyke] / catacomb-python.h
index f1e6365cc66d8b613033d56077d5e5cba4212b99..679920f1ba9653b29905672f9367a90288e0a0b8 100644 (file)
@@ -87,6 +87,7 @@
 #include <catacomb/ptab.h>
 #include <catacomb/bintab.h>
 #include <catacomb/dsa.h>
 #include <catacomb/ptab.h>
 #include <catacomb/bintab.h>
 #include <catacomb/dsa.h>
+#include <catacomb/x25519.h>
 
 #include <catacomb/gf.h>
 #include <catacomb/gfreduce.h>
 
 #include <catacomb/gf.h>
 #include <catacomb/gfreduce.h>
@@ -321,7 +322,7 @@ extern PyObject *gf_pywrap(mp *);
 extern mp *mp_frompyobject(PyObject *, int);
 extern PyObject *mp_topystring(mp *, int,
                               const char *, const char *, const char *);
 extern mp *mp_frompyobject(PyObject *, int);
 extern PyObject *mp_topystring(mp *, int,
                               const char *, const char *, const char *);
-extern int mp_tolong_checked(mp *, long *);
+extern int mp_tolong_checked(mp *, long *, int);
 
 /*----- Abstract fields ---------------------------------------------------*/
 
 
 /*----- Abstract fields ---------------------------------------------------*/