Function dkg::musig::musig_key

source ·
pub fn musig_key<C: Ciphersuite>(
    context: &[u8],
    keys: &[C::G],
) -> Result<C::G, DkgError<()>>
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.