-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
37 lines (33 loc) · 846 Bytes
/
Copy pathCargo.toml
File metadata and controls
37 lines (33 loc) · 846 Bytes
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
[package]
name = "okuchi"
version = "0.1.0"
edition = "2021"
authors = ["Nelson Dominguez <ekkolon@proton.me>"]
description = "Okamoto-Uchiyama Cryptosystem Implementation"
license = "MIT OR Apache-2.0"
readme = "README.md"
[dependencies]
num-bigint-dig = { version = "0.9.1", features = [
"zeroize",
"prime",
"rand",
"u64_digit",
] }
num-traits = "0.2"
num-integer = "0.1"
rand = "0.9.3"
zeroize = { version = "1.8", features = ["derive"] }
thiserror = "2"
# Constant-time modular arithmetic for the decryption hot path (SECURITY-2).
# BoxedUint provides heap-allocated variable-width integers with CT guarantees.
crypto-bigint = { version = "0.7", features = ["alloc"] }
[dev-dependencies]
criterion = "0.5"
[[bench]]
name = "okuchi"
harness = false
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true