test: the six mandatory tests, pinned KAT vectors, fuzz target and cargo-deny config (written before the code)
This commit is contained in:
+38
@@ -0,0 +1,38 @@
|
||||
[package]
|
||||
name = "arcanum"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
rust-version = "1.88"
|
||||
license = "CPAL-1.0"
|
||||
description = "Hybrid post-quantum key exchange (X-Wing: ML-KEM-768 + X25519), key schedule, WireGuard PSK derivation and sealing for the Domi ecosystem"
|
||||
repository = "https://gitea.marek-novak.cz/mnovak/arcanum"
|
||||
readme = "README.md"
|
||||
publish = false
|
||||
|
||||
[dependencies]
|
||||
# Primitives: every one from a vetted crate, none written here (docs/01_arcanum.md).
|
||||
ml-kem = { version = "=0.3.4", default-features = false, features = ["zeroize"] }
|
||||
x25519-dalek = { version = "=3.0.0", default-features = false, features = ["static_secrets", "zeroize"] }
|
||||
sha3 = { version = "0.12", default-features = false, features = ["zeroize"] }
|
||||
shake = { version = "0.1", default-features = false, features = ["zeroize"] }
|
||||
sha2 = { version = "0.11", default-features = false, features = ["zeroize"] }
|
||||
hkdf = { version = "0.13", default-features = false }
|
||||
hmac = { version = "0.13", default-features = false, features = ["zeroize"] }
|
||||
chacha20poly1305 = { version = "0.11", default-features = false, features = ["alloc", "zeroize"] }
|
||||
rand_core = { version = "0.10", default-features = false }
|
||||
zeroize = { version = "1.8", default-features = false, features = ["alloc", "zeroize_derive"] }
|
||||
|
||||
[dev-dependencies]
|
||||
# Reference implementation for the differential test only; never linked into the library.
|
||||
x-wing = { version = "=0.1.1" }
|
||||
chacha20 = { version = "0.10", default-features = false, features = ["rng"] }
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
hex = "0.4"
|
||||
sha2 = "0.11"
|
||||
|
||||
# ML-KEM in a debug build is slow; the byte-flip tests run thousands of exchanges.
|
||||
[profile.dev.package."*"]
|
||||
opt-level = 2
|
||||
[profile.test.package."*"]
|
||||
opt-level = 2
|
||||
Reference in New Issue
Block a user