Skip to content

Commit

Permalink
rm unneeded method
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Feb 21, 2024
1 parent 5b53639 commit 7d60625
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
4 changes: 0 additions & 4 deletions math/src/gpu/icicle/bls12_377.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ impl BLS12377FieldElement {
fn from_icicle(icicle: &curve::BaseField) -> Result<Self, ByteConversionError> {
Self::from_bytes_le(&icicle.to_bytes_le())
}

fn from_icicle_scalar(icicle: &curve::ScalarField) -> Result<Self, ByteConversionError> {
Self::from_bytes_le(&icicle.to_bytes_le())
}
}

impl ShortWeierstrassProjectivePoint<BLS12377Curve> {
Expand Down
4 changes: 0 additions & 4 deletions math/src/gpu/icicle/bls12_381.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ impl BLS12381FieldElement {
fn from_icicle(icicle: &curve::BaseField) -> Result<Self, ByteConversionError> {
Self::from_bytes_le(&icicle.to_bytes_le())
}

fn from_icicle_scalar(icicle: &curve::ScalarField) -> Result<Self, ByteConversionError> {
Self::from_bytes_le(&icicle.to_bytes_le())
}
}

impl ShortWeierstrassProjectivePoint<BLS12381Curve> {
Expand Down
4 changes: 0 additions & 4 deletions math/src/gpu/icicle/bn254.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ impl BN254FieldElement {
fn from_icicle(icicle: &curve::BaseField) -> Result<Self, ByteConversionError> {
Self::from_bytes_le(&icicle.to_bytes_le())
}

fn from_icicle_scalar(icicle: &curve::ScalarField) -> Result<Self, ByteConversionError> {
Self::from_bytes_le(&icicle.to_bytes_le())
}
}

impl ShortWeierstrassProjectivePoint<BN254Curve> {
Expand Down

0 comments on commit 7d60625

Please sign in to comment.