[[bench]]
harness = false
name = "cipher"
path = "benches/cipher.rs"
required-features = ["std"]
[[bench]]
harness = false
name = "fq_encode"
path = "benches/fq_encode.rs"
[[bench]]
harness = false
name = "kem"
path = "benches/kem.rs"
[[bench]]
harness = false
name = "r3"
path = "benches/r3.rs"
[[bench]]
harness = false
name = "rq"
path = "benches/rq.rs"
[dependencies.num_cpus]
optional = true
version = "1.16.0"
[dependencies.rand]
version = "0.8.5"
[dependencies.rand_chacha]
version = "0.3.1"
[dev-dependencies.criterion]
version = "0.5.1"
[[example]]
name = "cipher"
path = "examples/cipher.rs"
required-features = ["std"]
[[example]]
name = "keygen"
path = "examples/keygen.rs"
[features]
default = []
ntrup1013 = []
ntrup1277 = []
ntrup653 = []
ntrup761 = []
ntrup857 = []
ntrup953 = []
std = ["dep:num_cpus"]
[lib]
name = "ntrulp"
path = "src/lib.rs"
[package]
authors = ["Rinat hicc0rus@gmail.com"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["cryptography", "no-std", "algorithms"]
description = "Pure implementation of high-security prime-degree large-Galois-group inert-modulus ideal-lattice-based cryptography."
documentation = "https://github.com/openzebra/ntrulp/blob/master/README.md"
edition = "2021"
homepage = "https://github.com/openzebra/ntrulp"
keywords = ["post-quantum", "ntru", "cryptography", "encryption", "key-exchange"]
license-file = "LICENSE"
name = "ntrulp"
publish = true
readme = "README.md"
repository = "https://github.com/openzebra/ntrulp"
version = "0.2.1"