]> pd.if.org Git - zpackage/blobdiff - crypto/ref10/base.c
commit files needed for zpm-fetchurl
[zpackage] / crypto / ref10 / base.c
diff --git a/crypto/ref10/base.c b/crypto/ref10/base.c
new file mode 100644 (file)
index 0000000..a97314a
--- /dev/null
@@ -0,0 +1,6 @@
+#include "fe.h"
+static const unsigned char basepoint[32] = {9};
+
+int crypto_scalarmult_base(unsigned char *q, const unsigned char *n) {
+       return x25519(q,n,basepoint);
+}