pub struct AggregationTwo {
pub a_i: Vec<PolyVector>,
pub phi_i: Vec<PolyVector>,
pub b_i: PolyRing,
}
Expand description
Second step of aggregation
Fields§
§a_i: Vec<PolyVector>
§phi_i: Vec<PolyVector>
§b_i: PolyRing
Implementations§
Source§impl AggregationTwo
impl AggregationTwo
pub fn new( aggr_one: &AggregationOne, st: &Statement, ep: &EnvironmentParameters, tr: &Challenges, ) -> Self
pub fn get_a_i( a_constraint: &[Vec<PolyVector>], a_ct_aggr: &[Vec<PolyVector>], random_alpha: &PolyVector, random_beta: &PolyVector, ep: &EnvironmentParameters, ) -> Vec<PolyVector>
pub fn get_phi_i( phi_constraint: &[Vec<PolyVector>], phi_ct_aggr: &[Vec<PolyVector>], random_alpha: &PolyVector, random_beta: &PolyVector, ep: &EnvironmentParameters, ) -> Vec<PolyVector>
pub fn get_b_i( b_constraint: &PolyVector, b_ct_aggr: &PolyVector, random_alpha: &PolyVector, random_beta: &PolyVector, ep: &EnvironmentParameters, ) -> PolyRing
Auto Trait Implementations§
impl Freeze for AggregationTwo
impl RefUnwindSafe for AggregationTwo
impl Send for AggregationTwo
impl Sync for AggregationTwo
impl Unpin for AggregationTwo
impl UnwindSafe for AggregationTwo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more