Efficient verifiers for Sigma protocols #
Uniform polynomial-time verification certificates for indexed families of Sigma protocols: one
deterministic polynomial-time word function computes (P i).verify from the encoded index,
statement, commitment, challenge and response.
Main definitions #
Cslib.Crypto.Protocols.SigmaProtocol.VerifierRealizedBy: a word function computes(P i).verifyon encodings.Cslib.Crypto.Protocols.SigmaProtocol.EfficientVerifier: uniform deterministic polynomial-time verification for an indexed family of Sigma protocols.
def Cslib.Crypto.Protocols.SigmaProtocol.VerifierRealizedBy {I : Type} {X Y T C Z : I → Type} (P : (i : I) → SigmaProtocol (X i) (Y i) (T i) (C i) (Z i)) (enc : Encoding I Y T C Z) (f : I × List Bool × List Bool × List Bool × List Bool → Bool) :
The word function f computes the verifier of the protocol family P on encodings: from the
index and the encoded statement, commitment, challenge and response, it returns (P i).verify.
def Cslib.Crypto.Protocols.SigmaProtocol.EfficientVerifier {I : Type} {X Y T C Z : I → Type} (P : (i : I) → SigmaProtocol (X i) (Y i) (T i) (C i) (Z i)) (enc : Encoding I Y T C Z) :
Efficient verification for an indexed family of Sigma protocols: one deterministic
polynomial-time function of the index and words computes (P i).verify on encodings.