ed25519/include/sc.h

21 lines
336 B
C
Raw Normal View History

2018-04-24 12:33:55 -04:00
#ifndef SC_H
#define SC_H
/*
The set of scalars is \Z/l
where l = 2^252 + 27742317777372353535851937790883648493.
*/
2018-04-25 13:08:05 -04:00
#ifdef __cplusplus
extern "C" {
#endif
2018-04-24 12:33:55 -04:00
void sc_reduce(unsigned char *s);
void sc_muladd(unsigned char *s, const unsigned char *a, const unsigned char *b, const unsigned char *c);
2018-04-25 13:08:05 -04:00
#ifdef __cplusplus
}
#endif
2018-04-24 12:33:55 -04:00
#endif