Files
opaque-vx/Cargo.toml
T

80 lines
2.8 KiB
TOML
Raw Normal View History

2020-06-05 09:35:14 -07:00
[package]
2022-01-06 06:19:02 +01:00
authors = ["Kevin Lewi <[email protected]>", "François Garillot <[email protected]>"]
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"
2022-01-06 00:10:57 +01:00
edition = "2021"
2022-01-06 06:19:02 +01:00
keywords = ["cryptography", "crypto", "opaque", "passwords", "authentication"]
license = "Apache-2.0 OR MIT"
name = "opaque-ke"
2020-06-05 09:35:14 -07:00
readme = "README.md"
2022-01-06 06:19:02 +01:00
repository = "https://github.com/novifinancial/opaque-ke"
2022-02-25 07:13:22 +01:00
rust-version = "1.57"
version = "2.0.0-pre.2"
2020-06-05 09:35:14 -07:00
2020-06-11 14:56:34 -07:00
[features]
2022-04-02 01:10:00 +02:00
default = ["ristretto255-u64", "ristretto255-voprf", "serde"]
2022-02-25 07:13:22 +01:00
ristretto255 = ["curve25519-dalek", "voprf/ristretto255"]
2022-04-02 01:10:00 +02:00
ristretto255-fiat-u32 = ["curve25519-dalek/fiat_u32_backend", "ristretto255"]
ristretto255-fiat-u64 = ["curve25519-dalek/fiat_u64_backend", "ristretto255"]
ristretto255-simd = ["curve25519-dalek/simd_backend", "ristretto255"]
ristretto255-u32 = ["curve25519-dalek/u32_backend", "ristretto255"]
ristretto255-u64 = ["curve25519-dalek/u64_backend", "ristretto255"]
ristretto255-voprf = ["ristretto255", "voprf/ristretto255-ciphersuite"]
2022-01-06 06:19:02 +01:00
serde = ["serde_", "generic-array/serde", "voprf/serde"]
2022-04-02 01:10:00 +02:00
std = ["getrandom"]
x25519 = ["curve25519-dalek"]
x25519-fiat-u32 = ["curve25519-dalek/fiat_u32_backend", "x25519"]
x25519-fiat-u64 = ["curve25519-dalek/fiat_u64_backend", "x25519"]
x25519-simd = ["curve25519-dalek/simd_backend", "x25519"]
x25519-u32 = ["curve25519-dalek/u32_backend", "x25519"]
x25519-u64 = ["curve25519-dalek/u64_backend", "x25519"]
2020-06-11 14:56:34 -07:00
2020-06-05 09:35:14 -07:00
[dependencies]
2022-04-02 01:10:00 +02:00
argon2 = { version = "0.4", default-features = false, features = [
2022-01-06 06:19:02 +01:00
"alloc",
], optional = true }
2022-02-25 07:13:22 +01:00
curve25519-dalek = { version = "=4.0.0-pre.1", default-features = false, optional = true }
derive-where = { version = "=1.0.0-rc.3", features = ["zeroize-on-drop"] }
2022-01-06 00:10:57 +01:00
digest = "0.10"
2021-08-17 05:11:53 +02:00
displaydoc = { version = "0.2", default-features = false }
2022-02-25 07:13:22 +01:00
elliptic-curve = { version = "0.12.0-pre.1", features = ["hash2curve", "sec1"] }
2021-07-31 00:36:57 +02:00
generic-array = "0.14"
2022-01-06 00:10:57 +01:00
hkdf = "0.12"
hmac = "0.12"
2021-08-12 06:25:07 +02:00
rand = { version = "0.8", default-features = false }
2022-01-06 06:19:02 +01:00
serde_ = { version = "1", package = "serde", default-features = false, features = [
"derive",
], optional = true }
2021-07-31 00:36:57 +02:00
subtle = { version = "2.3", default-features = false }
2022-04-17 16:23:31 -07:00
voprf = { version = "0.4.0-pre.2", default-features = false, features = [
"danger",
] }
2022-04-02 01:10:00 +02:00
zeroize = { version = "1.5", 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]
bincode = "1"
2022-04-02 01:10:00 +02:00
chacha20poly1305 = "=0.10.0-pre"
2021-07-31 00:36:57 +02:00
criterion = "0.3"
hex = "0.4"
json = "0.12"
2022-02-25 07:13:22 +01:00
p256 = { version = "=0.11.0-pre.0", default-features = false, features = [
"hash2curve",
"voprf",
] }
2021-07-31 00:36:57 +02:00
proptest = "1"
2022-02-25 07:13:22 +01:00
rand = "0.8"
regex = "1"
2022-01-06 00:10:57 +01:00
rustyline = "9"
2022-01-06 06:19:02 +01:00
serde_json = "1"
[[bench]]
harness = false
2022-01-06 06:19:02 +01:00
name = "opaque"
2022-02-25 07:13:22 +01:00
[package.metadata.docs.rs]
2022-04-02 01:10:00 +02:00
features = ["argon2", "std", "x25519-u64"]
2022-02-25 07:13:22 +01:00
targets = []