diff --git a/math/src/gpu/icicle/bls12_377.rs b/math/src/gpu/icicle/bls12_377.rs index 5741fff12..2381e11be 100644 --- a/math/src/gpu/icicle/bls12_377.rs +++ b/math/src/gpu/icicle/bls12_377.rs @@ -27,10 +27,6 @@ impl BLS12377FieldElement { fn from_icicle(icicle: &curve::BaseField) -> Result { Self::from_bytes_le(&icicle.to_bytes_le()) } - - fn from_icicle_scalar(icicle: &curve::ScalarField) -> Result { - Self::from_bytes_le(&icicle.to_bytes_le()) - } } impl ShortWeierstrassProjectivePoint { diff --git a/math/src/gpu/icicle/bls12_381.rs b/math/src/gpu/icicle/bls12_381.rs index 9f3031eaa..bf68f2304 100644 --- a/math/src/gpu/icicle/bls12_381.rs +++ b/math/src/gpu/icicle/bls12_381.rs @@ -27,10 +27,6 @@ impl BLS12381FieldElement { fn from_icicle(icicle: &curve::BaseField) -> Result { Self::from_bytes_le(&icicle.to_bytes_le()) } - - fn from_icicle_scalar(icicle: &curve::ScalarField) -> Result { - Self::from_bytes_le(&icicle.to_bytes_le()) - } } impl ShortWeierstrassProjectivePoint { diff --git a/math/src/gpu/icicle/bn254.rs b/math/src/gpu/icicle/bn254.rs index c21c1a48a..daf91a61f 100644 --- a/math/src/gpu/icicle/bn254.rs +++ b/math/src/gpu/icicle/bn254.rs @@ -27,10 +27,6 @@ impl BN254FieldElement { fn from_icicle(icicle: &curve::BaseField) -> Result { Self::from_bytes_le(&icicle.to_bytes_le()) } - - fn from_icicle_scalar(icicle: &curve::ScalarField) -> Result { - Self::from_bytes_le(&icicle.to_bytes_le()) - } } impl ShortWeierstrassProjectivePoint {