post quantum cryptography
Highly optimized implementation of the NTRUEncrypt algorithm
|
public API, decryption More...
Go to the source code of this file.
Functions | |
string * | ntru_decrypt_string (const string *encr_msg, const fmpz_poly_t priv_key, const fmpz_poly_t priv_key_inv, const ntru_params *params) |
public API, decryption
This file holds the public API of decryption of the pqc NTRU implementation and is meant to be installed on the client system.
Definition in file ntru_decrypt.h.
string* ntru_decrypt_string | ( | const string * | encr_msg, |
const fmpz_poly_t | priv_key, | ||
const fmpz_poly_t | priv_key_inv, | ||
const ntru_params * | params | ||
) |
Decryption of a given encrypted string.
encr_msg | the encrypted message in the form of a string |
priv_key | the polynomial containing the private key to decrypt the message |
priv_key_inv | the inverse polynome to the private key |
params | the ntru_params |