pub struct AggregationOne {
pub a_ct_aggr: Vec<Vec<PolyVector>>,
pub phi_ct_aggr: Vec<Vec<PolyVector>>,
pub b_ct_aggr: PolyVector,
}
Expand description
First step of aggregation
Fields§
§a_ct_aggr: Vec<Vec<PolyVector>>
§phi_ct_aggr: Vec<Vec<PolyVector>>
§b_ct_aggr: PolyVector
Implementations§
Source§impl AggregationOne
impl AggregationOne
pub fn new( witness: &Witness, st: &Statement, ep: &EnvironmentParameters, tr: &Challenges, ) -> Self
pub fn get_a_ct_aggr( psi: &[ZqVector], a_ct: &[Vec<PolyVector>], ep: &EnvironmentParameters, ) -> Vec<Vec<PolyVector>>
pub fn get_phi_ct_aggr( phi_ct: &[Vec<PolyVector>], pi: &[Vec<ZqVector>], psi: &[ZqVector], omega: &[ZqVector], ep: &EnvironmentParameters, ) -> Vec<Vec<PolyVector>>
pub fn get_b_ct_aggr( a_ct_aggr: &[Vec<PolyVector>], phi_ct_aggr: &[Vec<PolyVector>], witness: &Witness, ep: &EnvironmentParameters, ) -> PolyVector
Auto Trait Implementations§
impl Freeze for AggregationOne
impl RefUnwindSafe for AggregationOne
impl Send for AggregationOne
impl Sync for AggregationOne
impl Unpin for AggregationOne
impl UnwindSafe for AggregationOne
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