Skip to content

Commit

Permalink
One more impl cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
andyleiserson committed Apr 4, 2024
1 parent a082a24 commit 5799798
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions ipa-core/src/ff/curve_points.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ use typenum::U32;
use crate::{
ff::{ec_prime_field::Fp25519, Serializable},
impl_shared_value_common,
protocol::ipa_prf::PRF_CHUNK,
secret_sharing::{Block, SharedValue, StdArray, Vectorizable},
};

Expand Down Expand Up @@ -42,16 +43,8 @@ impl Vectorizable<1> for RP25519 {
type Array = StdArray<Self, 1>;
}

impl Vectorizable<16> for RP25519 {
type Array = StdArray<Self, 16>;
}

impl Vectorizable<64> for RP25519 {
type Array = StdArray<Self, 64>;
}

impl Vectorizable<256> for RP25519 {
type Array = StdArray<Self, 256>;
impl Vectorizable<PRF_CHUNK> for RP25519 {
type Array = StdArray<Self, PRF_CHUNK>;
}

#[derive(thiserror::Error, Debug)]
Expand Down

0 comments on commit 5799798

Please sign in to comment.