Files
opaque-vx/Cargo.toml
T

64 lines
2.3 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"]
2021-08-12 06:25:07 +02:00
categories = ["no-std"]
2020-06-05 09:35:14 -07:00
description = "An implementation of the OPAQUE password-authenticated key exchange protocol"
authors = ["Kevin Lewi <[email protected]>", "François Garillot <[email protected]>"]
2021-12-03 14:38:11 -08:00
license = "Apache-2.0 OR MIT"
2020-06-05 09:35:14 -07:00
edition = "2018"
readme = "README.md"
2021-08-17 05:11:53 +02:00
resolver = "2"
2020-06-05 09:35:14 -07:00
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-10-25 02:54:32 -07:00
p256 = ["p256_", "voprf/p256"]
bench = []
2021-10-25 02:54:32 -07:00
u64_backend = ["curve25519-dalek/u64_backend", "voprf/ristretto255_u64"]
u32_backend = ["curve25519-dalek/u32_backend", "voprf/ristretto255_u32"]
std = ["curve25519-dalek/std", "getrandom", "rand/std", "rand/std_rng", "voprf/std"]
serialize = ["serde", "base64", "generic-array/serde", "curve25519-dalek/serde", "voprf/serde"]
2020-06-11 14:56:34 -07:00
2020-06-05 09:35:14 -07:00
[dependencies]
2021-09-02 11:28:21 +02:00
argon2 = { version = "0.3", default-features = false, features = ["alloc"], optional = true }
2021-08-17 05:11:53 +02:00
base64 = { version = "0.13", default-features = false, features = ["alloc"], optional = true }
2021-07-31 00:36:57 +02:00
constant_time_eq = "0.1"
2021-08-12 06:25:07 +02:00
curve25519-dalek = { version = "3", default-features = false }
2021-07-31 00:36:57 +02:00
digest = "0.9"
2021-08-17 05:11:53 +02:00
displaydoc = { version = "0.2", default-features = false }
2021-07-31 00:36:57 +02:00
generic-array = "0.14"
2021-08-17 05:11:53 +02:00
getrandom = { version = "0.2", optional = true }
2021-07-31 00:36:57 +02:00
hkdf = "0.11"
hmac = "0.11"
2021-08-17 05:11:53 +02:00
p256_ = { package = "p256", version = "0.9", default-features = false, features = ["arithmetic", "zeroize"], optional = true }
2021-08-12 06:25:07 +02:00
rand = { version = "0.8", default-features = false }
2021-08-17 05:11:53 +02:00
serde = { version = "1", default-features = false, features = ["alloc", "derive"], optional = true }
2021-07-31 00:36:57 +02:00
subtle = { version = "2.3", default-features = false }
2021-10-25 02:54:32 -07:00
voprf = { version = "0.2", default-features = false, features = ["danger"] }
2021-07-31 00:36:57 +02:00
zeroize = { version = "1", features = ["zeroize_derive"] }
2020-06-05 09:35:14 -07:00
2021-08-17 05:11:53 +02:00
[target.'cfg(target_arch = "wasm32")'.dependencies]
getrandom = { version = "0.2", features = ["js"], optional = true }
2020-06-05 09:35:14 -07:00
[dev-dependencies]
2021-07-31 00:36:57 +02:00
base64 = "0.13"
bincode = "1"
2021-07-31 00:36:57 +02:00
chacha20poly1305 = "0.8"
criterion = "0.3"
hex = "0.4"
json = "0.12"
2021-07-31 00:36:57 +02:00
lazy_static = "1"
2021-08-17 05:11:53 +02:00
opaque-ke = { path = "", default-features = false, features = ["std"] }
2021-07-31 00:36:57 +02:00
serde_json = "1"
sha2 = "0.9"
proptest = "1"
regex = "1"
2021-07-31 00:36:57 +02:00
rustyline = "8"
[[bench]]
2021-10-25 02:54:32 -07:00
name = "opaque"
harness = false
2020-07-22 15:22:47 -04:00
required-features = ["bench"]