Module ergotree_ir::sigma_protocol::sigma_boolean
source · Expand description
Sigma boolean types
Modules
- AND conjunction for sigma proposition
- OR conjunction for sigma proposition
- THRESHOLD conjunction for sigma proposition
Structs
- Failed to extract specified underlying type from SigmaBoolean
- Construct a new SigmaProp value representing public key of Diffie Hellman signature protocol. Used in a proof that of equality of discrete logarithms (i.e., a proof of a Diffie-Hellman tuple): given group elements g, h, u, v, the proof convinces a verifier that the prover knows
w
such thatu = g^w
andv = h^w
, without revealingw
- Construct a new SigmaBoolean value representing public key of discrete logarithm signature protocol.
- Proposition which can be proven and verified by sigma protocol.
Enums
- Algebraic data type of sigma proposition expressions Values of this type are used as values of SigmaProp type
- Conjunctions for sigma propositions
- Sigma proposition
Type Aliases
- Sigma conjecture items type with bounds check (2..=255)