pub struct AggregationTwo {
pub a_i: Vec<RqVector>,
pub phi_i: Vec<RqVector>,
pub b_i: Rq,
}
Expand description
Second step of aggregation
Fields§
§a_i: Vec<RqVector>
§phi_i: Vec<RqVector>
§b_i: Rq
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<RqVector>], a_ct_aggr: &[Vec<RqVector>], random_alpha: &RqVector, random_beta: &RqVector, ep: &EnvironmentParameters, ) -> Vec<RqVector>
pub fn get_phi_i( phi_constraint: &[Vec<RqVector>], phi_ct_aggr: &[Vec<RqVector>], random_alpha: &RqVector, random_beta: &RqVector, ep: &EnvironmentParameters, ) -> Vec<RqVector>
pub fn get_b_i( b_constraint: &RqVector, b_ct_aggr: &RqVector, random_alpha: &RqVector, random_beta: &RqVector, ep: &EnvironmentParameters, ) -> Rq
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