Crypto

enum KEY_SIZE_e

Size of a key in bytes.

Values:

KEY_SIZE = 4096 / 8
enum MAX_PRIVATE_KEY_SIZE_e

Maximum size of a private key in bytes.

Values:

MAX_PRIVATE_KEY_SIZE = MAX_TRUSTEES * KEY_SIZE
enum MAX_PUBLIC_KEY_SIZE_e

Maximum size of a public key in bytes.

Values:

MAX_PUBLIC_KEY_SIZE = MAX_TRUSTEES * KEY_SIZE
struct joint_public_key

A public key that will be used to encrypt ballots, such that any group of k of the original trustees can decrypt a message encrypted with this key.

Public Members

uint64_t len
uint8_t const* bytes