Add FROST Ed25519 test vectors

This commit is contained in:
Luke Parker
2022-06-03 03:56:17 -04:00
parent b4cd29f49a
commit f8d127bf8a
5 changed files with 102 additions and 22 deletions

View File

@@ -179,7 +179,6 @@ fn p256_curve() {
test_curve::<_, P256>(&mut OsRng);
}
#[allow(non_snake_case)]
#[derive(Clone)]
pub struct IetfP256Hram {}
impl Hram<P256> for IetfP256Hram {
@@ -217,7 +216,6 @@ fn p256_vectors() {
"486e2ee25a3fbc8e6399d748b077a2755fde99fa85cc24fa647ea4ebf5811a15"
]
],
binding: "cf7ffe4b8ad6edb6237efaa8cbfb2dfb2fd08d163b6ad9063720f14779a9e143",
sig_shares: &[
"9e4d8865faf8c7b3193a3b35eda3d9e12118447114b1e7d5b4809ea28067f8a9",
"b7d094eab6305ae74daeed1acd31abba9ab81f638d38b72c132cb25a5dfae1fc"

View File

@@ -16,7 +16,6 @@ pub struct Vectors {
pub msg: &'static str,
pub included: &'static [u16],
pub nonces: &'static [[&'static str; 2]],
pub binding: &'static str,
pub sig_shares: &'static [&'static str],
pub sig: String
}