pub fn part3<M>(
round2_secret_package: &SecretPackage<M>,
round1_packages: &BTreeMap<Identifier<M>, Package<M>>,
round2_packages: &BTreeMap<Identifier<M>, Package<M>>,
) -> Result<(KeyPackage<M>, PublicKeyPackage<M>), Error<M>>where
M: ChallengeMessage,Expand description
Performs the third and final part of the distributed key generation protocol
for the participant holding the given round2::SecretPackage,
given the received round1::Packages and round2::Packages received from
the other participants.
It returns the KeyPackage that has the long-lived key share for the
participant, and the PublicKeyPackages that has public information
about all participants; both of which are required to compute FROST
signatures.