KeyCeremony_Trustee¶KeyCeremony_Trustee_new(uint32_t num_trustees, uint32_t threshold, uint32_t index)¶Create an new trustee.
KeyCeremony_Trustee_new_r¶KeyCeremony_Trustee_free(KeyCeremony_Trustee t)¶Free a trustee.
KeyCeremony_Trustee_generate_key(KeyCeremony_Trustee t)¶Generate a key pair and return the key_generated_message to be passed to the coordinator.
KeyCeremony_Trustee_generate_key_r¶Verify that the private key shares in in_message match the commitments in the previously received public keys.
KeyCeremony_Trustee_export_state(KeyCeremony_Trustee t)¶Export the portion of the trustee’s state that will be necessary for decryption.
KeyCeremony_Trustee_export_state_r¶KeyCeremony_Trustee_status¶Values:
KEYCEREMONY_TRUSTEE_SUCCESS¶KEYCEREMONY_TRUSTEE_INSUFFICIENT_MEMORY¶KEYCEREMONY_TRUSTEE_INVALID_PARAMS¶KEYCEREMONY_TRUSTEE_PUBLISHED_PUBLIC_KEY_ERROR¶KEYCEREMONY_TRUSTEE_MISSING_PUBLIC_KEY¶KEYCEREMONY_TRUSTEE_BAD_NIZKP¶KEYCEREMONY_TRUSTEE_INVALID_KEY_SHARE¶KEYCEREMONY_TRUSTEE_SERIALIZE_ERROR¶KEYCEREMONY_TRUSTEE_DESERIALIZE_ERROR¶