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