post quantum cryptography
Highly optimized implementation of the NTRUEncrypt algorithm
 All Data Structures Files Functions Variables Typedefs Pages
Data Fields
keypair Struct Reference

#include <ntru_keypair.h>

Data Fields

fmpz_poly_t priv
 
fmpz_poly_t priv_inv
 
fmpz_poly_t pub
 

Detailed Description

This struct holds the keypair, both private and public components.

Definition at line 49 of file ntru_keypair.h.

Field Documentation

fmpz_poly_t keypair::priv

First part of the private key, a random polynom.

Definition at line 54 of file ntru_keypair.h.

fmpz_poly_t keypair::priv_inv

Second part of the private key, the priv polynom inverted.

Definition at line 59 of file ntru_keypair.h.

fmpz_poly_t keypair::pub

The public key, computed as: h = p * (Fq * g) mod q

Definition at line 64 of file ntru_keypair.h.


The documentation for this struct was generated from the following file: