base.c 227 B

12345678910
  1. #include "crypto_scalarmult.h"
  2. static const unsigned char basepoint[32]
  3. __attribute__ ((aligned (32)))
  4. = {9};
  5. int crypto_scalarmult_base(unsigned char *q,const unsigned char *n)
  6. {
  7. return crypto_scalarmult(q,n,basepoint);
  8. }