[package]
edition = "2024"
rust-version = "1.90"
name = "oc-crypto"
version = "0.0.2"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cryptographic primitives and key schemes for Open Crate containers"
homepage = "https://closecrate.com/"
readme = "README.md"
license-file = "LICENSE-OPENCRATE"
repository = "https://github.com/AlexiAxAxA/OpenCrate"
resolver = "2"
[features]
ad-hoc-label = []
explicit-nonce = []
test-signer = []
[lib]
name = "oc_crypto"
path = "src/lib.rs"
[[test]]
name = "kat"
path = "tests/kat.rs"
[[test]]
name = "measure_packing_path"
path = "tests/measure_packing_path.rs"
[[test]]
name = "security_probe_keyschedule"
path = "tests/security_probe_keyschedule.rs"
[[test]]
name = "security_probe_seal"
path = "tests/security_probe_seal.rs"
[[test]]
name = "security_probe_secretbuf_and_shape"
path = "tests/security_probe_secretbuf_and_shape.rs"
[[test]]
name = "security_probe_tree_signatures"
path = "tests/security_probe_tree_signatures.rs"
[[test]]
name = "spec_labels"
path = "tests/spec_labels.rs"
[[test]]
name = "zeroize_on_drop"
path = "tests/zeroize_on_drop.rs"
[dependencies.blake3]
version = "1.8.6"
[dependencies.chacha20poly1305]
version = "0.11.0"
features = ["alloc"]
default-features = false
[dependencies.crypto-bigint]
version = "0.7.5"
features = ["alloc"]
default-features = false
[dependencies.ed25519-dalek]
version = "3.0.0"
features = ["zeroize"]
default-features = false
[dependencies.hkdf]
version = "0.13.0"
[dependencies.hmac]
version = "0.13.0"
[dependencies.ml-kem]
version = "0.3.2"
features = ["zeroize"]
default-features = false
[dependencies.p256]
version = "0.14.0"
features = [
"ecdh",
"alloc",
]
default-features = false
[dependencies.rand_core]
version = "0.10.1"
default-features = false
[dependencies.sha2]
version = "0.11.0"
[dependencies.sha3]
version = "0.11.0"
default-features = false
[dependencies.subtle]
version = "2.6.1"
[dependencies.x25519-dalek]
version = "3.0.0"
features = [
"static_secrets",
"zeroize",
]
default-features = false
[dependencies.zeroize]
version = "1.9.0"
features = ["derive"]
[lints.clippy]
arithmetic_side_effects = "deny"
expect_used = "deny"
indexing_slicing = "deny"
panic = "deny"
unwrap_used = "deny"
[lints.rust]
missing_debug_implementations = "warn"
unsafe_code = "forbid"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(fuzzing)"]