pub struct BindingFactor<C: Ciphersuite>(/* private fields */);
Expand description
The binding factor, also known as rho (ρ)
Ensures each signature share is strongly bound to a signing set, specific set of commitments, and a specific message.
https://github.com/cfrg/draft-irtf-cfrg-frost/blob/master/draft-irtf-cfrg-frost.md
Implementations§
Source§impl<C> BindingFactor<C>where
C: Ciphersuite,
impl<C> BindingFactor<C>where
C: Ciphersuite,
Sourcepub fn serialize(&self) -> Vec<u8>
pub fn serialize(&self) -> Vec<u8>
Serializes BindingFactor
to bytes.
Trait Implementations§
Source§impl<C: Clone + Ciphersuite> Clone for BindingFactor<C>
impl<C: Clone + Ciphersuite> Clone for BindingFactor<C>
Source§fn clone(&self) -> BindingFactor<C>
fn clone(&self) -> BindingFactor<C>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<C> Debug for BindingFactor<C>where
C: Ciphersuite,
impl<C> Debug for BindingFactor<C>where
C: Ciphersuite,
Source§impl<C: PartialEq + Ciphersuite> PartialEq for BindingFactor<C>
impl<C: PartialEq + Ciphersuite> PartialEq for BindingFactor<C>
impl<C: Eq + Ciphersuite> Eq for BindingFactor<C>
impl<C: Ciphersuite> StructuralPartialEq for BindingFactor<C>
Auto Trait Implementations§
impl<C> Freeze for BindingFactor<C>
impl<C> RefUnwindSafe for BindingFactor<C>
impl<C> Send for BindingFactor<C>
impl<C> Sync for BindingFactor<C>
impl<C> Unpin for BindingFactor<C>
impl<C> UnwindSafe for BindingFactor<C>
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