pub struct ZeroCheckProtocol;Trait Implementations§
Source§impl SigmaProof for ZeroCheckProtocol
impl SigmaProof for ZeroCheckProtocol
const LABEL: &'static [u8] = b"zero-check-protocol"
type WITNESS = ZeroCheckWitness
type INSTANCE = ZeroCheckInstance
fn f(instance: &Self::INSTANCE) -> Vec<SymPoint>
fn psi(witness: &Self::WITNESS, instance: &Self::INSTANCE) -> Vec<SymPoint>
fn prove( witness: &Self::WITNESS, instance: &Self::INSTANCE, ) -> SigmaProofResult<Vec<u8>>
fn verify( instance: &Self::INSTANCE, proof: &[u8], ) -> Result<(), SigmaProofError>
Auto Trait Implementations§
impl Freeze for ZeroCheckProtocol
impl RefUnwindSafe for ZeroCheckProtocol
impl Send for ZeroCheckProtocol
impl Sync for ZeroCheckProtocol
impl Unpin for ZeroCheckProtocol
impl UnsafeUnpin for ZeroCheckProtocol
impl UnwindSafe for ZeroCheckProtocol
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