summaryrefslogtreecommitdiffstats
path: root/external_libs/python/pyzmq-14.7.0/bundled/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/base_curve25519_ref10.c
blob: ce123ddf7434db9d327ffc366a6682d96ec61d36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "api.h"
#include "crypto_scalarmult.h"

#ifndef HAVE_TI_MODE

static const unsigned char basepoint[32] = {9};

int crypto_scalarmult_base(unsigned char *q,const unsigned char *n)
{
  return crypto_scalarmult(q,n,basepoint);
}

#endif