Definition: vec_curve.h:34
cfe_error cfe_fhipe_derive_fe_key(cfe_fhipe_fe_key *fe_key, cfe_vec *y, cfe_fhipe_sec_key *sec_key, cfe_fhipe *c)
struct cfe_fhipe_sec_key cfe_fhipe_sec_key
struct cfe_fhipe_ciphertext cfe_fhipe_ciphertext
void cfe_fhipe_ciphertext_init(cfe_fhipe_ciphertext *cipher, cfe_fhipe *c)
cfe_error cfe_fhipe_generate_master_key(cfe_fhipe_sec_key *sec_key, cfe_fhipe *c)
cfe_error cfe_fhipe_decrypt(mpz_t res, cfe_fhipe_ciphertext *cipher, cfe_fhipe_fe_key *fe_key, cfe_fhipe *c)
void cfe_fhipe_ciphertext_free(cfe_fhipe_ciphertext *cipher)
void cfe_fhipe_fe_key_free(cfe_fhipe_fe_key *fe_key)
Matrix struct and operations.
struct cfe_fhipe_fe_key cfe_fhipe_fe_key
Vectors of elements of an elliptic curve struct and operations on it.
void cfe_fhipe_copy(cfe_fhipe *res, cfe_fhipe *c)
void cfe_fhipe_master_key_free(cfe_fhipe_sec_key *sec_key)
void cfe_fhipe_fe_key_init(cfe_fhipe_fe_key *fe_key, cfe_fhipe *c)
void cfe_fhipe_master_key_init(cfe_fhipe_sec_key *sec_key, cfe_fhipe *c)
Definition: vec_curve.h:42
cfe_error cfe_fhipe_init(cfe_fhipe *c, size_t l, mpz_t bound_x, mpz_t bound_y)
void cfe_fhipe_free(cfe_fhipe *c)
cfe_error cfe_fhipe_encrypt(cfe_fhipe_ciphertext *cipher, cfe_vec *x, cfe_fhipe_sec_key *sec_key, cfe_fhipe *c)
struct cfe_fhipe cfe_fhipe