| 1 | #include <cross_platform.h> |
| 2 | |
| 3 | #ifndef SC_H |
| 4 | #define SC_H |
| 5 | |
| 6 | /* |
| 7 | The set of scalars is \Z/l |
| 8 | where l = 2^252 + 27742317777372353535851937790883648493. |
| 9 | */ |
| 10 | |
| 11 | #define sc_reduce crypto_sign_ed25519_ref10_sc_reduce |
| 12 | #define sc_muladd crypto_sign_ed25519_ref10_sc_muladd |
| 13 | |
| 14 | #ifdef __cplusplus |
| 15 | extern "C" { |
| 16 | #endif |
| 17 | extern void INTERFACE sc_reduce(unsigned char *); |
| 18 | extern void INTERFACE sc_muladd(unsigned char *,const unsigned char *,const unsigned char *,const unsigned char *); |
| 19 | #ifdef __cplusplus |
| 20 | } |
| 21 | #endif |
| 22 | |
| 23 | #endif |