[][src]Function bls_acml::threshold_sig::trusted_party_SSS_keygen

pub fn trusted_party_SSS_keygen(
    threshold: usize,
    total: usize,
    params: &Params
) -> (FieldElement, Vec<Signer>)

Keygen done by trusted party using Shamir secret sharing. Creates signing and verification keys for each signer. The trusted party will know every signer's secret keys and the aggregate secret keys and can create signatures. Outputs 2 items, first is the shared secret and should be destroyed. The second contains the keys, 1 item corresponding to each signer.