pub fn musig_key<C>(
context: &[u8],
keys: &[<C as Ciphersuite>::G],
) -> Result<<C as Ciphersuite>::G, DkgError<()>>where
C: Ciphersuite,
Expand description
The group key resulting from using this library’s MuSig key gen.
This function will return an error if the context is longer than 255 bytes.
Creating an aggregate key with a list containing duplicated public keys will return an error.