[][src]Struct sigma_fun::secp256k1::DLG

pub struct DLG<L> { /* fields omitted */ }

Proves knowledge of x such that A = x * G for some A included in the statement. G is the standard basepoint for secp256k1 and is ommited from the statement.

Trait Implementations

impl<L: Clone> Clone for DLG<L>[src]

impl<L: Debug> Debug for DLG<L>[src]

impl<L: Default> Default for DLG<L>[src]

impl<L: PartialEq> PartialEq<DLG<L>> for DLG<L>[src]

impl<L: ArrayLength<u8>> Sigma for DLG<L> where
    L: IsLessOrEqual<U32>,
    <L as IsLessOrEqual<U32>>::Output: NonZero, 
[src]

type Witness = Scalar

The witness for the relation.

type Statement = Point

The elements of the statement the prover is proving.

type AnnounceSecret = Scalar

The type for the secret the prover creates when generating the proof.

type Announcement = Point

The type for the public announcement the prover sends in the first round of the protocol.

type Response = Scalar<Public, Zero>

The type for the response the prover sends in the last round of the protocol.

type ChallengeLength = L

The length as a typenum Read more

impl<L> StructuralPartialEq for DLG<L>[src]

Auto Trait Implementations

impl<L> RefUnwindSafe for DLG<L> where
    L: RefUnwindSafe
[src]

impl<L> Send for DLG<L> where
    L: Send
[src]

impl<L> Sync for DLG<L> where
    L: Sync
[src]

impl<L> Unpin for DLG<L> where
    L: Unpin
[src]

impl<L> UnwindSafe for DLG<L> where
    L: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Mark for T[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,