-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
81 lines (71 loc) · 2.11 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
[package]
name = "faest"
description = "Pure Rust implementation of the FAEST post-quantum secure digital signature scheme"
version = "0.1.3"
authors = [
"Sebastian Ramacher <[email protected]>",
"Clément Naves <[email protected]>",
]
homepage = "https://faest.info"
repository = "https://github.com/ait-crypto/faest-rs"
license = "Apache-2.0 OR MIT"
edition = "2021"
rust-version = "1.78"
keywords = ["signatures", "FAEST"]
categories = ["cryptography"]
exclude = ["tests/data/*.json", "tests/data/PQCsignKAT_*.rsp"]
[dependencies]
aes = "0.8"
ctr = "0.9"
serde = { version = "1", optional = true, default-features = false, features = [
"derive",
] }
sha3 = "0.10"
signature = { version = "2", default-features = false, features = ["alloc"] }
generic-array = { version = "1", features = ["alloc"] }
rand_core = { version = "0.6", default-features = false }
zeroize = { version = "1.2", optional = true, default-features = false, features = [
"derive",
] }
paste = "1"
itertools = { version = "0.14", default-features = false }
[dev-dependencies]
criterion = "0.5"
generic-tests = "0.1"
hex = "0.4"
nist-pqc-seeded-rng = { version = "0.2", default-features = false }
rand = { version = "0.8", features = ["small_rng"] }
rand_chacha = { version = "0.3" }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
[features]
default = ["zeroize", "randomized-signer", "opt-simd"]
# zeroize secret keys
zeroize = ["dep:zeroize", "aes/zeroize", "ctr/zeroize"]
# implement randomized signer interfaces of the signature crate
randomized-signer = ["signature/rand_core"]
# provide serialization via serde
serde = ["dep:serde", "generic-array/serde"]
# enable SIMD optimization implementations
opt-simd = []
[[bench]]
name = "bench"
required-features = ["randomized-signer"]
harness = false
test = false
[[example]]
name = "simple"
required-features = ["randomized-signer"]
[[test]]
name = "nist"
required-features = ["randomized-signer"]
[profile.dev.package."*"]
opt-level = 3
[profile.bench]
lto = "fat"
[profile.profiling]
inherits = "release"
debug = true
strip = false
[package.metadata.docs.rs]
all-features = true