crypto_mGnP/ed25519/ref10/sc.h
raw| 1 | #ifndef SC_H |
| 2 | #define SC_H |
| 3 | |
| 4 | /* |
| 5 | The set of scalars is \Z/l |
| 6 | where l = 2^252 + 27742317777372353535851937790883648493. |
| 7 | */ |
| 8 | |
| 9 | #define sc_reduce CRYPTO_NAMESPACE(sc_reduce) |
| 10 | #define sc_muladd CRYPTO_NAMESPACE(sc_muladd) |
| 11 | |
| 12 | extern void sc_reduce(unsigned char *); |
| 13 | extern void sc_muladd(unsigned char *,const unsigned char *,const unsigned char *,const unsigned char *); |
| 14 | |
| 15 | #endif |