Function dkg::musig::musig

source ยท
pub fn musig<C: Ciphersuite>(
    context: &[u8],
    private_key: &Zeroizing<C::F>,
    keys: &[C::G],
) -> Result<ThresholdCore<C>, DkgError<()>>
Available on crate feature std only.
Expand description

A n-of-n non-interactive DKG which does not guarantee the usability of the resulting key.

Creating an aggregate key with a list containing duplicated public keys returns an error.