1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//! # ntru
//!
//! This crate provides bindings to and wrappers around the following
//! implementations from [PQClean][pqc]:
//!
//! * ntruhps2048509 - clean
//!
//! [pqc]: https://github.com/pqclean/pqclean/
//!

pub mod ffi;

pub mod ntruhps2048509;

pub use crate::ntruhps2048509::{
    keypair as ntruhps2048509_keypair,
    public_key_bytes as ntruhps2048509_public_key_bytes,
    secret_key_bytes as ntruhps2048509_secret_key_bytes,
    encapsulate as ntruhps2048509_encapsulate,
    decapsulate as ntruhps2048509_decapsulate,
    ciphertext_bytes as ntruhps2048509_ciphertext_bytes,
    shared_secret_bytes as ntruhps2048509_shared_secret_bytes,
};