Use a non-constant generator in FROST

This commit is contained in:
Luke Parker
2022-08-13 05:07:07 -04:00
parent 6f776ff004
commit 885d816309
12 changed files with 29 additions and 24 deletions

View File

@@ -28,7 +28,9 @@ macro_rules! dalek_curve {
type G = $Point;
const ID: &'static [u8] = $ID;
const GENERATOR: Self::G = $POINT;
fn generator() -> Self::G {
$POINT
}
fn hash_msg(msg: &[u8]) -> Vec<u8> {
Sha512::new()