Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
tcoratger committed Mar 8, 2024
1 parent 56ca893 commit fccdaa1
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions starknet-curve/src/ec_point.rs
Original file line number Diff line number Diff line change
Expand Up @@ -280,23 +280,6 @@ impl ops::AddAssign<&ProjectivePoint> for ProjectivePoint {
}
}

// impl ops::Mul<&[bool]> for &ProjectivePoint {
// type Output = ProjectivePoint;

// #[allow(clippy::suspicious_arithmetic_impl)]
// fn mul(self, rhs: &[bool]) -> Self::Output {
// let mut product = ProjectivePoint::identity();
// for b in rhs.iter().rev() {
// product.double_assign();
// if *b {
// product += self;
// }
// }

// product
// }
// }

impl ops::Mul<&BitArray<[u64; 4]>> for &ProjectivePoint {
type Output = ProjectivePoint;

Expand Down

0 comments on commit fccdaa1

Please sign in to comment.