summaryrefslogtreecommitdiff
path: root/src/protocol/internal/curve25519/crypto_scalarmult.h
blob: 5984cce88a62f9f2e0588b2c1cba0a3206bab142 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef CRYPTO_SCALARMULT_H
#define CRYPTO_SCALARMULT_H

typedef unsigned char u8;

#ifdef __cplusplus
extern "C" {
#endif

int crypto_scalarmult_base(unsigned char *q,const unsigned char *n);
int crypto_scalarmult(u8 *mypublic, const u8 *secret, const u8 *basepoint);

#ifdef __cplusplus
}
#endif

#endif