Have transcripted versions specify their minor version pre-1.0

This commit is contained in:
Luke Parker
2022-12-27 00:49:31 -05:00
parent bacf31378d
commit 3b4c600c60
4 changed files with 4 additions and 4 deletions

View File

@@ -27,7 +27,7 @@ use crate::{
#[allow(non_snake_case)]
fn challenge<C: Ciphersuite>(context: &str, l: u16, R: &[u8], Am: &[u8]) -> C::F {
let mut transcript = RecommendedTranscript::new(b"DKG FROST v0");
let mut transcript = RecommendedTranscript::new(b"DKG FROST v0.2");
transcript.domain_separate(b"Schnorr Proof of Knowledge");
transcript.append_message(b"context", context.as_bytes());
transcript.append_message(b"participant", l.to_le_bytes());