Go to the documentation of this file.
37 BIG_256_56 client_sec_key_big;
38 ECP_BN254 client_pub_key;
124 char *label,
size_t label_len,
cfe_vec *y, mpz_t bound);
void cfe_dmcfe_client_free(cfe_dmcfe_client *c)
Matrix struct and operations.
void cfe_dmcfe_set_share(cfe_dmcfe_client *c, ECP_BN254 *pub_keys, size_t num_clients)
cfe_error cfe_dmcfe_decrypt(mpz_t res, ECP_BN254 *ciphers, cfe_vec_G2 *key_shares, char *label, size_t label_len, cfe_vec *y, mpz_t bound)
Vectors of elements of an elliptic curve struct and operations on it.
void cfe_dmcfe_derive_fe_key_part(cfe_vec_G2 *fe_key_part, cfe_dmcfe_client *c, cfe_vec *y)
void cfe_dmcfe_fe_key_part_init(cfe_vec_G2 *fe_key_part)
void cfe_dmcfe_encrypt(ECP_BN254 *cipher, cfe_dmcfe_client *c, mpz_t x, char *label, size_t label_len)
struct cfe_dmcfe_client cfe_dmcfe_client
Definition: vec_curve.h:42
void cfe_dmcfe_client_init(cfe_dmcfe_client *c, size_t idx)