pub struct Pairing { /* private fields */ }
Implementations§
source§impl Pairing
impl Pairing
pub fn new(hash_or_encode: bool, dst: &[u8]) -> Self
pub fn init(&mut self, hash_or_encode: bool, dst: &[u8])
pub fn aggregate( &mut self, pk: &dyn Any, pk_validate: bool, sig: &dyn Any, sig_groupcheck: bool, msg: &[u8], aug: &[u8], ) -> BLST_ERROR
pub fn mul_n_aggregate( &mut self, pk: &dyn Any, pk_validate: bool, sig: &dyn Any, sig_groupcheck: bool, scalar: &[u8], nbits: usize, msg: &[u8], aug: &[u8], ) -> BLST_ERROR
pub fn aggregated(gtsig: &mut blst_fp12, sig: &dyn Any)
pub fn commit(&mut self)
pub fn merge(&mut self, ctx1: &Self) -> BLST_ERROR
pub fn finalverify(&self, gtsig: Option<&blst_fp12>) -> bool
pub fn raw_aggregate(&mut self, q: &blst_p2_affine, p: &blst_p1_affine)
pub fn as_fp12(&mut self) -> blst_fp12
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Pairing
impl RefUnwindSafe for Pairing
impl Send for Pairing
impl Sync for Pairing
impl Unpin for Pairing
impl UnwindSafe for Pairing
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