1 #ifndef crypto_scalarmult_H
2 #define crypto_scalarmult_H
6 #include "crypto_scalarmult_curve25519.h"
13 #define crypto_scalarmult_BYTES crypto_scalarmult_curve25519_BYTES
15 size_t crypto_scalarmult_bytes(void);
17 #define crypto_scalarmult_SCALARBYTES crypto_scalarmult_curve25519_SCALARBYTES
19 size_t crypto_scalarmult_scalarbytes(void);
21 #define crypto_scalarmult_PRIMITIVE "curve25519"
23 const char *crypto_scalarmult_primitive(void);
26 int crypto_scalarmult_base(unsigned char *q
, const unsigned char *n
);
29 int crypto_scalarmult(unsigned char *q
, const unsigned char *n
,
30 const unsigned char *p
);