Skip to content

Commit 1417c5a

Browse files
Add negative of ed25519 generator
1 parent 2fbe8e7 commit 1417c5a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

extensions/ecc/guest/src/ed25519.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ impl CyclicGroup for Ed25519Point {
6969
"5866666666666666666666666666666666666666666666666666666666666666"
7070
)),
7171
};
72-
// TODO: fix
7372
const NEG_GENERATOR: Self = Ed25519Point {
74-
x: Ed25519Coord::from_const_bytes(hex!(
75-
"1AD5258F602D56C9B2A7259560C72C695CDCD6FD31E2A4C0FE536ECDD3366921"
76-
)),
73+
x: Ed25519Coord::from_const_bytes([
74+
211, 42, 218, 112, 159, 210, 169, 54, 77, 88, 218, 106, 159, 56, 211, 150, 163, 35, 41,
75+
2, 206, 29, 91, 63, 1, 172, 145, 50, 44, 201, 150, 94,
76+
]),
7777
y: Ed25519Coord::from_const_bytes(hex!(
7878
"5866666666666666666666666666666666666666666666666666666666666666"
7979
)),

0 commit comments

Comments
 (0)