-rw-r--r-- 488 lib25519-20220726/crypto_sign/ed25519/amd64-maa4/ge25519_scalarmult_base.c raw
#include "fe25519.h"
#include "sc25519.h"
#include "ge25519.h"
#define base CRYPTO_NAMESPACE(base)
extern void base(ge25519_p3 *,const signed char *,const ge25519_niels *);
/* Multiples of the base point in Niels' representation */
static const ge25519_niels ge25519_base_multiples_niels[] = {
#include "ge25519_base_niels.data"
};
void ge25519_scalarmult_base(ge25519_p3 *r, const sc25519 *s)
{
signed char b[64];
sc25519_window4(b,s);
base(r,b,ge25519_base_multiples_niels);
}