#if F25519_IMPL == 26
# define P p26
- static const int32 bx_pieces[] = {
+ static const f25519_piece bx_pieces[] = {
-14297830, -7645148, 16144683, -16471763, 27570974,
-2696100, -26142465, 8378389, 20764389, 8758491
}, by_pieces[] = {
#endif
#if F25519_IMPL == 10
# define P p10
- static const int16 bx_pieces[] = {
+ static const f25519_piece bx_pieces[] = {
282, 373, 242, 386, -467, 86, -423, 318, -437,
75, 236, -308, 421, 92, 439, -35, 400, 452,
82, -40, 160, 441, -51, 437, -365, 134
};
#endif
-static const scaf_piece bz_pieces[NPIECE] = { 1, 0, /* ... */ };
+static const f25519_piece bz_pieces[NPIECE] = { 1, 0, /* ... */ };
#define BX ((const f25519 *)bx_pieces)
#define BY ((const f25519 *)by_pieces)
#define BZ ((const f25519 *)bz_pieces)