void dgk_encrypt_plain(mpz_t res, dgk_pubkey_t *pub, mpz_t pt, gmp_randstate_t rnd)
Definition: dgk.cpp:296
void dgk_decrypt(mpz_t res, dgk_pubkey_t *pub, dgk_prvkey_t *prv, mpz_t ct)
Definition: dgk.cpp:394
void dgk_keygen(unsigned int modulusbits, unsigned int lbits, dgk_pubkey_t **pub, dgk_prvkey_t **prv)
Definition: dgk.cpp:71
void dgk_encrypt_fb(mpz_t res, dgk_pubkey_t *pub, mpz_t pt, gmp_randstate_t rnd)
Definition: dgk.cpp:272
void dgk_storekey(unsigned int modulusbits, unsigned int lbits, dgk_pubkey_t *pub, dgk_prvkey_t *prv)
Definition: dgk.cpp:437
void dgk_encrypt_crt(mpz_t res, dgk_pubkey_t *pub, dgk_prvkey_t *prv, mpz_t pt, gmp_randstate_t rnd)
Definition: dgk.cpp:353
void dgk_readkey(unsigned int modulusbits, unsigned int lbits, dgk_pubkey_t **pub, dgk_prvkey_t **prv)
Definition: dgk.cpp:474
void dgk_complete_pubkey(unsigned int modulusbits, unsigned int lbits, dgk_pubkey_t **pub, mpz_t n, mpz_t g, mpz_t h)
Definition: dgk.cpp:54