2023-11-26 20:18:22 +00:00
|
|
|
[package]
|
2024-01-11 23:49:25 +00:00
|
|
|
name = "fips205"
|
2024-03-08 23:22:43 +00:00
|
|
|
version = "0.1.2"
|
2023-11-26 20:18:22 +00:00
|
|
|
edition = "2021"
|
|
|
|
|
license = "MIT OR Apache-2.0"
|
2023-11-26 20:27:17 +00:00
|
|
|
description = "FIPS 205 (draft): Stateless Hash-Based Digital Signature Standard"
|
2024-03-09 00:25:57 +00:00
|
|
|
authors = ["Eric Schorn <eschorn@integritychain.com>"]
|
|
|
|
|
documentation = "https://docs.rs/fips205"
|
|
|
|
|
categories = ["cryptography", "no-std"]
|
|
|
|
|
keywords = ["FIPS", "FIPS205", "hash", "signature"]
|
2024-01-11 23:49:25 +00:00
|
|
|
repository = "https://github.com/integritychain/fips205"
|
2024-02-09 23:43:59 +00:00
|
|
|
rust-version = "1.70"
|
2023-11-26 20:18:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
2024-03-10 23:07:57 +00:00
|
|
|
zeroize = { version = "1.6.0", default-features = false, features = ["zeroize_derive"] } # For MSRV 1.70 (dated)
|
2024-01-11 23:49:25 +00:00
|
|
|
rand_core = { version = "0.6.4", default-features = false }
|
2024-03-10 23:07:57 +00:00
|
|
|
sha3 = { version = "0.10.2", default-features = false } # For MSRV 1.70 (dated)
|
2024-02-03 16:17:59 +00:00
|
|
|
sha2 = { version = "0.10.8", default-features = false }
|
2024-01-11 23:49:25 +00:00
|
|
|
|
2024-01-25 21:17:18 +00:00
|
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
|
rand_chacha = "0.3.1"
|
2024-02-10 00:22:35 +00:00
|
|
|
hex = "0.4.3"
|
2024-03-10 23:07:57 +00:00
|
|
|
criterion = "0.4.0" # For MSRV 1.70 (dated)
|
2024-01-25 21:17:18 +00:00
|
|
|
|
|
|
|
|
|
2024-01-11 23:49:25 +00:00
|
|
|
[features]
|
2024-01-31 00:57:53 +00:00
|
|
|
default = ["default-rng", "slh_dsa_sha2_128s", "slh_dsa_shake_128s", "slh_dsa_sha2_128f", "slh_dsa_shake_128f",
|
|
|
|
|
"slh_dsa_sha2_192s", "slh_dsa_shake_192s", "slh_dsa_sha2_192f", "slh_dsa_shake_192f",
|
|
|
|
|
"slh_dsa_sha2_256s", "slh_dsa_shake_256s", "slh_dsa_sha2_256f", "slh_dsa_shake_256f"]
|
2024-01-11 23:49:25 +00:00
|
|
|
default-rng = ["rand_core/getrandom"]
|
|
|
|
|
slh_dsa_sha2_128s = []
|
|
|
|
|
slh_dsa_shake_128s = []
|
|
|
|
|
slh_dsa_sha2_128f = []
|
|
|
|
|
slh_dsa_shake_128f = []
|
|
|
|
|
slh_dsa_sha2_192s = []
|
|
|
|
|
slh_dsa_shake_192s = []
|
|
|
|
|
slh_dsa_sha2_192f = []
|
|
|
|
|
slh_dsa_shake_192f = []
|
|
|
|
|
slh_dsa_sha2_256s = []
|
|
|
|
|
slh_dsa_shake_256s = []
|
|
|
|
|
slh_dsa_sha2_256f = []
|
|
|
|
|
slh_dsa_shake_256f = []
|
2024-01-22 00:15:52 +00:00
|
|
|
|
|
|
|
|
|
2024-03-10 23:07:57 +00:00
|
|
|
[[bench]]
|
|
|
|
|
name = "benchmark"
|
|
|
|
|
harness = false
|
2024-02-10 20:26:37 +00:00
|
|
|
|
|
|
|
|
|
2024-03-14 13:46:53 +00:00
|
|
|
[profile.dev]
|
|
|
|
|
opt-level = 3
|
|
|
|
|
|
|
|
|
|
|
2024-02-10 20:26:37 +00:00
|
|
|
[profile.bench]
|
|
|
|
|
debug = true
|
|
|
|
|
debug-assertions = false
|
|
|
|
|
incremental = false
|
|
|
|
|
lto = true
|
|
|
|
|
opt-level = 3
|
2024-03-10 23:07:57 +00:00
|
|
|
overflow-checks = false
|
|
|
|
|
codegen-units = 1
|