Voting_Encrypter
¶uid
¶Voting_Encrypter_new
(struct uid uid, struct joint_public_key joint_key, uint32_t num_selections)¶Create a new encrypter.
Does not transfer ownership of the public key, but creates and allocates a new copy.
Voting_Encrypter_new_r
¶Voting_Encrypter_free
(Voting_Encrypter encrypter)¶Free a ballot marking device.
Voting_Encrypter_encrypt_ballot
(Voting_Encrypter encrypter, bool const * selections)¶Encrypt an unencrypted ballot, producing an encrypted ballot, a ballot tracker, and a ballot identifier.
The caller must free both when done, ie. they own them.
Voting_Encrypter_encrypt_ballot_r
¶Public Members
status
¶message
¶tracker
¶id
¶