aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcryptobox/curve25519/curve25519.h
blob: 8ea440b40ca5d7b9c3b084848248f13137161636 (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);
void curve25519_load (void);

#endif