Files
opaque-vx/Cargo.toml
T

60 lines
1.8 KiB
TOML
Raw Normal View History

2020-06-05 09:35:14 -07:00
[package]
name = "opaque-ke"
version = "2.0.0-pre.1"
2020-06-05 09:35:14 -07:00
repository = "https://github.com/novifinancial/opaque-ke"
keywords = ["cryptography", "crypto", "opaque", "passwords", "authentication"]
description = "An implementation of the OPAQUE password-authenticated key exchange protocol"
authors = ["Kevin Lewi <[email protected]>", "François Garillot <[email protected]>"]
license = "MIT"
edition = "2018"
readme = "README.md"
2020-06-11 14:56:34 -07:00
[features]
default = ["u64_backend", "serialize"]
2021-06-21 11:44:04 +02:00
slow-hash = ["argon2"]
2021-07-31 01:02:02 +02:00
p256 = ["num-bigint", "num-integer", "num-traits", "once_cell", "p256_"]
bench = []
u64_backend = ["curve25519-dalek/u64_backend"]
u32_backend = ["curve25519-dalek/u32_backend"]
2021-06-22 15:48:36 +02:00
serialize = ["serde", "base64", "generic-array/serde", "curve25519-dalek/serde"]
2020-06-11 14:56:34 -07:00
2020-06-05 09:35:14 -07:00
[dependencies]
2021-06-21 10:15:40 +02:00
argon2 = { version = "0.2", optional = true }
base64 = { version = "0.13", optional = true }
2021-07-31 00:36:57 +02:00
constant_time_eq = "0.1"
curve25519-dalek = { version = "3", default-features = false, features = ["std"] }
digest = "0.9"
displaydoc = "0.2"
generic-array = "0.14"
generic-bytes = { version = "0.1" }
hkdf = "0.11"
hmac = "0.11"
2021-07-31 01:02:02 +02:00
num-bigint = { version = "0.4", optional = true }
num-integer = { version = "0.1", optional = true }
num-traits = { version = "0.2", optional = true }
once_cell = { version = "1", optional = true }
p256_ = { package = "p256", version = "0.9", optional = true }
2021-02-17 02:28:49 -08:00
rand = "0.8"
2021-06-22 15:48:36 +02:00
serde = { version = "1", features = ["derive"], optional = true }
2021-07-31 00:36:57 +02:00
subtle = { version = "2.3", default-features = false }
thiserror = "1"
zeroize = { version = "1", features = ["zeroize_derive"] }
2020-06-05 09:35:14 -07:00
[dev-dependencies]
2021-07-31 00:36:57 +02:00
anyhow = "1"
base64 = "0.13"
bincode = "1"
2021-07-31 00:36:57 +02:00
chacha20poly1305 = "0.8"
criterion = "0.3"
hex = "0.4"
lazy_static = "1"
serde_json = "1"
sha2 = "0.9"
proptest = "1"
rustyline = "8"
[[bench]]
name = "oprf"
harness = false
2020-07-22 15:22:47 -04:00
required-features = ["bench"]