Expand description
Rust FFI bindings over the extracted, deduplicated SUPERCOP Streamlined
NTRU Prime sources in vendor/. Every module wraps one parameter set,
all sharing one compiled copy of vendor/common/ (see
vendor/NOTICE.md for why the split between shared and per-parameter-
set code is drawn where it is). Each enabled parameter set gets its own
module (gated by the matching Cargo feature), exposing keypair(),
encapsulate(pk), and decapsulate(c, sk).
§Randomness
The vendored C code calls a single external randombytes C function for
all key generation and encapsulation randomness. This crate implements
it here using getrandom (the OS CSPRNG), satisfying the one external
symbol every vendored directory expects (see vendor/NOTICE.md).
Modules§
Functions§
- randombytes⚠
- Safety