aboutsummaryrefslogtreecommitdiff
path: root/lib/ed25519/src/sc.h
blob: 8fa727ef10d5ca2fce31552c1430ae179e99fd06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef SC_H
#define SC_H

/*
The set of scalars is \Z/l
where l = 2^252 + 27742317777372353535851937790883648493.
*/

void sc_reduce(unsigned char *s);
void sc_muladd(unsigned char *s, const unsigned char *a, const unsigned char *b, const unsigned char *c);

#endif