mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-13 22:49:25 +00:00
Use a non-constant generator in FROST
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user