serval-dna/nacl/nacl-20110221/crypto_scalarmult/curve25519/donna_c64/base.c

9 lines
198 B
C
Raw Normal View History

#include "crypto_scalarmult.h"
static const unsigned char basepoint[32] = {9};
int crypto_scalarmult_base(unsigned char *q,const unsigned char *n)
{
return crypto_scalarmult(q, n, basepoint);
}