aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcryptobox/curve25519/curve25519.h
blob: 8b404f5c613f5b53a2a31ab3f7482e3f7be5bd28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef CURVE25519_H
#define CURVE25519_H

#include "config.h"

static const guchar curve25519_basepoint[32] = {9};

int curve25519 (guchar *mypublic, const guchar *secret, const guchar *basepoint);
/* Call for optimized implementation of scalarmult if needed */
int curve25519_base (guchar *mypublic, const guchar *secret);
const char* curve25519_load (void);

#endif