ed25519/include/sc.h

21 lines
336 B
C

#ifndef SC_H
#define SC_H
/*
The set of scalars is \Z/l
where l = 2^252 + 27742317777372353535851937790883648493.
*/
#ifdef __cplusplus
extern "C" {
#endif
void sc_reduce(unsigned char *s);
void sc_muladd(unsigned char *s, const unsigned char *a, const unsigned char *b, const unsigned char *c);
#ifdef __cplusplus
}
#endif
#endif