diff options
| author | Nagi5Yeq <nagi5yeq@gmail.com> | 2019-07-04 23:55:21 +0800 |
|---|---|---|
| committer | Nagi5Yeq <nagi5yeq@gmail.com> | 2019-07-04 23:55:21 +0800 |
| commit | 28bc016fb0dc11bf2a4c3e157daac24b2d9482f6 (patch) | |
| tree | 187edb3f152852940610e0cd09a5b2d16f83cc99 /sc448.h | |
| parent | 22aca24950b45892a70aef77a5f197e521fc11b5 (diff) | |
add ge448 and data
Diffstat (limited to 'sc448.h')
| -rw-r--r-- | sc448.h | 13 |
1 files changed, 3 insertions, 10 deletions
@@ -14,7 +14,6 @@ #define sc448_sub_nored crypto_sign_ed448_ref_sc448_sub_nored #define sc448_mul crypto_sign_ed448_ref_sc448_mul #define sc448_window3 crypto_sign_ed448_ref_sc448_window3 -#define sc448_window5 crypto_sign_ed448_ref_sc448_window5 #define sc448_2interleave2 crypto_sign_ed448_ref_sc448_2interleave2 typedef struct @@ -41,17 +40,11 @@ void sc448_sub_nored(sc448 *r, const sc448 *x, const sc448 *y); void sc448_mul(sc448 *r, const sc448 *x, const sc448 *y); -#if 0 /* Convert s into a representation of the form \sum_{i=0}^{84}r[i]2^3 * with r[i] in {-4,...,3} */ -void sc448_window3(signed char r[85], const sc448 *s); +void sc448_window3(signed char r[149], const sc448 *s); -/* Convert s into a representation of the form \sum_{i=0}^{50}r[i]2^5 - * with r[i] in {-16,...,15} - */ -void sc448_window5(signed char r[51], const sc448 *s); +void sc448_2interleave2(unsigned char r[223], const sc448 *s1, const sc448 *s2); -void sc448_2interleave2(unsigned char r[127], const sc448 *s1, const sc448 *s2); -#endif -#endif +#endif
\ No newline at end of file |
