~mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
utils/split-pieces, pub/ed25519.c: New utility makes field-element constants.
[catacomb]
/
pub
/
ed25519.c
diff --git
a/pub/ed25519.c
b/pub/ed25519.c
index
e8a8d78
..
217cbeb
100644
(file)
--- a/
pub/ed25519.c
+++ b/
pub/ed25519.c
@@
-90,11
+90,11
@@
const key_fetchdef ed25519_privfetch[] = {
-14297830, -7645148, 16144683, -16471763, 27570974,
-2696100, -26142465, 8378389, 20764389, 8758491
}, by_pieces[] = {
-14297830, -7645148, 16144683, -16471763, 27570974,
-2696100, -26142465, 8378389, 20764389, 8758491
}, by_pieces[] = {
- -268435
60
, -6710886, 13421773, -13421773, 26843546,
- 6710886, -13421773, 13421773, -26843546,
2684354
6
+ -268435
41
, -6710886, 13421773, -13421773, 26843546,
+ 6710886, -13421773, 13421773, -26843546,
-671088
6
}, d_pieces[] = {
}, d_pieces[] = {
- -109136
29
, 13857413, -15372611, 6949391, 114729,
- -8787816, -6275908, -3247719, -18696448,
214993
16
+ -109136
10
, 13857413, -15372611, 6949391, 114729,
+ -8787816, -6275908, -3247719, -18696448,
-120551
16
};
#endif
#if F25519_IMPL == 10
};
#endif
#if F25519_IMPL == 10
@@
-104,13
+104,13
@@
const key_fetchdef ed25519_privfetch[] = {
75, 236, -308, 421, 92, 439, -35, 400, 452,
82, -40, 160, 441, -51, 437, -365, 134
}, by_pieces[] = {
75, 236, -308, 421, 92, 439, -35, 400, 452,
82, -40, 160, 441, -51, 437, -365, 134
}, by_pieces[] = {
- -4
24
, 410, -410, 410, -410, -102, 205, -205, 205,
+ -4
05
, 410, -410, 410, -410, -102, 205, -205, 205,
-205, 205, -410, 410, -410, 410, 102, -205, 205,
-205, 205, -410, 410, -410, 410, 102, -205, 205,
- -205, 205, -205, 410, -410, 410, -410,
410
+ -205, 205, -205, 410, -410, 410, -410,
-102
}, d_pieces[] = {
}, d_pieces[] = {
- 1
63
, -418, 310, -216, -178, -133, 367, -315, -380,
+ 1
82
, -418, 310, -216, -178, -133, 367, -315, -380,
-351, -182, -255, 2, 152, -390, -136, -52, -383,
-351, -182, -255, 2, 152, -390, -136, -52, -383,
- -412, -398, -12, 448, -469, -196, 55,
328
+ -412, -398, -12, 448, -469, -196, 55,
-184
};
#endif
};
#endif