diff --git a/dleq_vrf/src/vrf.rs b/dleq_vrf/src/vrf.rs index 2b7d5e7..356e8fd 100644 --- a/dleq_vrf/src/vrf.rs +++ b/dleq_vrf/src/vrf.rs @@ -137,6 +137,7 @@ impl SecretKey { } } +//~ **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)] @@ -190,7 +191,8 @@ pub fn collect_preoutputs_vec(ios: &[VrfInOut]) -> Vec>>() } - +//~ ** Definition **: *VRF InOut* is defined as a pair as follows: +//~ $$(VRF Input, VRF Preoutput)$$ /// VRF input and pre-output paired together, possibly unverified. /// /// @@ -330,3 +332,5 @@ where mod tests { } + +