Skip to content

Commit

Permalink
Add definition for VRF signature
Browse files Browse the repository at this point in the history
  • Loading branch information
drskalman committed Mar 21, 2024
1 parent 26b2778 commit b431186
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dleq_vrf/src/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ pub type EC<P> = <P as EcVrfProof>::H;
pub type PreOut<P> = VrfPreOut<EC<P>>;
pub type IO<P> = VrfInOut<EC<P>>;


//~ **Definition**: A VRFsignature is a pair of *Elliptic curve VRF proof* and
//~ an array of *PreOut*
/// VRF signature with variable number of input-output pairs
#[derive(CanonicalSerialize,CanonicalDeserialize)]
pub struct VrfSignature<P: EcVrfProof, const N: usize> {
Expand Down

0 comments on commit b431186

Please sign in to comment.