[package]
edition = "2021"
rust-version = "1.89"
name = "oxicrypto-bench"
version = "0.1.0"
authors = ["COOLJAPAN OU (Team Kitasan)"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Criterion benchmarks comparing OxiCrypto against ring and aws-lc-rs (dev-only)"
readme = "README.md"
keywords = [
"cryptography",
"benchmark",
"aes-gcm",
"chacha20",
"ed25519",
]
categories = [
"cryptography",
"development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/cool-japan/oxicrypto"
[features]
pq-preview = [
"oxicrypto/pq-preview",
"dep:oxicrypto-pq",
]
[lib]
name = "oxicrypto_bench"
path = "src/lib.rs"
bench = false
[[test]]
name = "purity"
path = "tests/purity.rs"
[[bench]]
name = "aead"
path = "benches/aead.rs"
harness = false
[[bench]]
name = "hash"
path = "benches/hash.rs"
harness = false
[[bench]]
name = "kdf"
path = "benches/kdf.rs"
harness = false
[[bench]]
name = "kex"
path = "benches/kex.rs"
harness = false
[[bench]]
name = "mac"
path = "benches/mac.rs"
harness = false
[[bench]]
name = "pq"
path = "benches/pq.rs"
harness = false
required-features = ["pq-preview"]
[[bench]]
name = "sig"
path = "benches/sig.rs"
harness = false
[dependencies.criterion]
version = "0.8.2"
features = ["html_reports"]
[dependencies.getrandom]
version = "0.4.2"
features = [
"std",
"sys_rng",
]
[dependencies.oxicrypto]
version = "0.1.0"
features = [
"pure",
"simd",
]
[dependencies.oxicrypto-kdf]
version = "0.1.0"
[dependencies.oxicrypto-kex]
version = "0.1.0"
[dependencies.oxicrypto-mac]
version = "0.1.0"
[dependencies.oxicrypto-pq]
version = "0.1.0"
optional = true
[dependencies.oxicrypto-rand]
version = "0.1.0"
[dependencies.oxicrypto-sig]
version = "0.1.0"
[dependencies.rand_chacha]
version = "0.10.0"
default-features = false
[dependencies.rand_core]
version = "0.10.1"
default-features = false
[dev-dependencies.aws-lc-rs]
version = "1.17.0"
[dev-dependencies.ring]
version = "0.17.14"