Skip to content

Commit

Permalink
ed25519
Browse files Browse the repository at this point in the history
  • Loading branch information
gaetbout committed Apr 12, 2024
1 parent 67aed80 commit 5ea7de1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/math/src/ed25519.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@ const TWO_POW_8_NON_ZERO: NonZero<u256> = 0x100;

#[derive(Drop, Copy)]
pub struct Point {
pub x: u256,
pub y: u256
x: u256,
y: u256
}

#[derive(Drop, Copy)]
pub struct ExtendedHomogeneousPoint {
pub X: u256,
pub Y: u256,
pub Z: u256,
pub T: u256,
X: u256,
Y: u256,
Z: u256,
T: u256,
}

pub trait PointDoubling<T> {
Expand Down

0 comments on commit 5ea7de1

Please sign in to comment.