bls: uncompressed serialization

This commit is contained in:
Michael Sproul
2022-10-20 16:35:51 +11:00
parent 3f71de8c2d
commit 03fde98737
10 changed files with 164 additions and 16 deletions

View File

@@ -341,6 +341,11 @@ macro_rules! test_suite {
.assert_single_message_verify(true)
}
#[test]
fn deserialize_infinity_public_key() {
PublicKey::deserialize(&bls::INFINITY_PUBLIC_KEY).unwrap_err();
}
/// A helper struct to make it easer to deal with `SignatureSet` lifetimes.
struct OwnedSignatureSet {
signature: AggregateSignature,