pub fn threshold_sig_pubkey_from_transcript(
    dkg_transcript: &dkg::Transcript,
) -> ThresholdSigPublicKey {
    let csp_public_coeffs = csp_pub_coeffs_from_transcript(dkg_transcript);
    let public_coeffs_bytes = PublicCoefficientsBytes::from(csp_public_coeffs);
    let public_key_bytes = pub_key_bytes_from_pub_coeff_bytes(&public_coeffs_bytes);
    let csp_threshold_sig_pubkey = CspThresholdSigPublicKey::from(public_key_bytes);
    ThresholdSigPublicKey::from(csp_threshold_sig_pubkey)
}
/// Extracts the threshold signature public key from a DKG transcript
Extracts the threshold signature public key from a DKG transcript
Extracts the threshold signature public key from a DKG transcript
pub fn threshold_sig_pubkey_from_transcript(
    dkg_transcript: &dkg::Transcript,
) -> ThresholdSigPublicKey {
    let csp_public_coeffs = csp_pub_coeffs_from_transcript(dkg_transcript);
    let public_coeffs_bytes = PublicCoefficientsBytes::from(csp_public_coeffs);
    let public_key_bytes = pub_key_bytes_from_pub_coeff_bytes(&public_coeffs_bytes);
    let csp_threshold_sig_pubkey = CspThresholdSigPublicKey::from(public_key_bytes);
    ThresholdSigPublicKey::from(csp_threshold_sig_pubkey)
}
pub fn threshold_sig_pubkey_from_transcript ( dkg_transcript : & dkg :: Transcript , ) -> ThresholdSigPublicKey { let csp_public_coeffs = csp_pub_coeffs_from_transcript ( dkg_transcript ) ; let public_coeffs_bytes = PublicCoefficientsBytes :: from ( csp_public_coeffs ) ; let public_key_bytes = pub_key_bytes_from_pub_coeff_bytes ( & public_coeffs_bytes ) ; let csp_threshold_sig_pubkey = CspThresholdSigPublicKey :: from ( public_key_bytes ) ; ThresholdSigPublicKey :: from ( csp_threshold_sig_pubkey ) }
Extracts the threshold signature public key from a DKG transcript
Extracts the threshold signature public key from a DKG transcript
dkg_transcript
&dkg::Transcript
dkg_transcript
&dkg::Transcript