31 #ifndef PUBLIC_NTRU_KEYPAIR_H_
32 #define PUBLIC_NTRU_KEYPAIR_H_
36 #include <fmpz_poly.h>
96 const fmpz_poly_t pub,
107 export_priv_key(
char const *
const filename,
120 char const *
const filename,
134 fmpz_poly_t priv_inv,
135 char const *
const filename,
public API, basic data types
void export_public_key(char const *const filename, const fmpz_poly_t pub, const ntru_params *params) void export_priv_key(char const *const filename
void import_priv_key(fmpz_poly_t priv, fmpz_poly_t priv_inv, char const *const filename, const ntru_params *params)
bool ntru_create_keypair(keypair *pair, const fmpz_poly_t f, const fmpz_poly_t g, const ntru_params *params)
void const fmpz_poly_t const ntru_params *params void import_public_key(fmpz_poly_t pub, char const *const filename, const ntru_params *params)
void ntru_delete_keypair(keypair *pair)
void const fmpz_poly_t priv