Skip to content

Commit

Permalink
Merge branch 'spec' of https://github.com/w3f/ring-vrf into spec
Browse files Browse the repository at this point in the history
  • Loading branch information
drskalman committed Mar 25, 2024
2 parents b997f92 + 81f7801 commit 5fe3210
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dleq_vrf/src/vrf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ impl<K: AffineRepr> SecretKey<K> {
}
}

//~ **Definition**: *VRF pre-output* is defined to be a point in $G$ in serialized affine representation
/// VRF pre-output, possibly unverified.
#[derive(Debug,Copy,Clone,PartialEq,Eq,CanonicalSerialize,CanonicalDeserialize)] // Copy, Default, PartialOrd, Ord, Hash
#[repr(transparent)]
Expand Down Expand Up @@ -190,7 +191,8 @@ pub fn collect_preoutputs_vec<C: AffineRepr>(ios: &[VrfInOut<C>]) -> Vec<VrfPreO
).collect::<Vec<VrfPreOut<C>>>()
}


//~ ** Definition **: *VRF InOut* is defined as a pair as follows:
//~ $$(VRF Input, VRF Preoutput)$$
/// VRF input and pre-output paired together, possibly unverified.
///
///
Expand Down Expand Up @@ -330,3 +332,5 @@ where
mod tests {
}



0 comments on commit 5fe3210

Please sign in to comment.