2020-05-08 00:58:10 +01:00
|
|
|
[package]
|
|
|
|
name = "tor-llcrypto"
|
2023-08-01 16:01:13 +01:00
|
|
|
version = "0.5.3"
|
2021-03-17 18:43:40 +00:00
|
|
|
authors = ["The Tor Project, Inc.", "Nick Mathewson <nickm@torproject.org>"]
|
2022-04-25 17:19:02 +01:00
|
|
|
edition = "2021"
|
2023-04-11 20:31:12 +01:00
|
|
|
rust-version = "1.65"
|
2020-05-08 00:58:10 +01:00
|
|
|
license = "MIT OR Apache-2.0"
|
2021-03-17 18:13:26 +00:00
|
|
|
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
|
2021-03-17 18:31:59 +00:00
|
|
|
description = "Low level cryptography wrappers used by Tor"
|
2022-04-25 17:03:41 +01:00
|
|
|
keywords = ["tor", "arti", "cryptography"]
|
|
|
|
categories = ["cryptography"]
|
|
|
|
repository = "https://gitlab.torproject.org/tpo/core/arti.git/"
|
2020-05-08 00:58:10 +01:00
|
|
|
|
2021-11-12 15:44:14 +00:00
|
|
|
[features]
|
|
|
|
default = []
|
2023-05-15 16:00:28 +01:00
|
|
|
full = ["safelog/full"]
|
|
|
|
|
2023-05-12 15:23:57 +01:00
|
|
|
with-openssl = ["openssl", "typenum", "cipher", "__is_nonadditive"]
|
|
|
|
with-sha1-asm = ["sha1/asm", "__is_nonadditive"]
|
2021-11-12 15:44:14 +00:00
|
|
|
|
2023-06-23 10:45:00 +01:00
|
|
|
experimental = ["relay", "hsv3-client", "hsv3-service", "keymgr"]
|
2021-11-12 15:44:14 +00:00
|
|
|
|
2023-05-15 16:00:28 +01:00
|
|
|
# Enable support for cryptography needed to be a Tor relay.
|
2023-06-26 20:42:55 +01:00
|
|
|
relay = ["cvt-x25519", "__is_experimental"]
|
2021-11-12 15:44:14 +00:00
|
|
|
# Enable support for cryptography needed to be an onion service v3 client.
|
2023-05-15 16:00:28 +01:00
|
|
|
hsv3-client = ["__is_experimental"]
|
2023-01-06 17:02:49 +00:00
|
|
|
# Enable support for cryptography needed to be an onion service v3 service.
|
2023-05-15 16:00:28 +01:00
|
|
|
hsv3-service = ["__is_experimental"]
|
2023-06-23 10:45:00 +01:00
|
|
|
# Enable support for cryptography needed for key management.
|
2023-06-26 20:42:55 +01:00
|
|
|
keymgr = ["cvt-x25519", "__is_experimental"]
|
|
|
|
# Enable extra support for converting keys to and from x25519
|
|
|
|
cvt-x25519 = []
|
2021-11-12 15:44:14 +00:00
|
|
|
|
2023-05-12 15:23:57 +01:00
|
|
|
__is_nonadditive = []
|
2023-05-15 16:00:28 +01:00
|
|
|
__is_experimental = []
|
2023-05-12 15:23:57 +01:00
|
|
|
|
2020-05-08 00:58:10 +01:00
|
|
|
[dependencies]
|
2022-08-01 17:13:05 +01:00
|
|
|
aes = { version = "0.8", features = ["zeroize"] }
|
2023-01-19 19:50:07 +00:00
|
|
|
base64ct = "1.5.1"
|
2022-08-01 17:13:05 +01:00
|
|
|
cipher = { version = "0.4.3", optional = true, features = ["zeroize"] }
|
|
|
|
ctr = { version = "0.9", features = ["zeroize"] }
|
2022-05-28 17:41:39 +01:00
|
|
|
curve25519-dalek = "3.2"
|
2023-03-16 13:51:29 +00:00
|
|
|
derive_more = "0.99.3"
|
2021-12-08 01:33:46 +00:00
|
|
|
digest = "0.10.0"
|
2022-01-07 20:54:24 +00:00
|
|
|
ed25519-dalek = { version = "1", features = ["batch"] }
|
|
|
|
hex = "0.4"
|
2021-03-18 17:14:53 +00:00
|
|
|
old_rand_core = { package = "rand_core", version = "0.5.1" }
|
2023-03-24 12:02:59 +00:00
|
|
|
openssl = { version = "0.10.48", optional = true }
|
2022-05-28 17:41:39 +01:00
|
|
|
rand_core = "0.6.2"
|
2023-05-08 16:24:23 +01:00
|
|
|
rsa = "0.9.0"
|
2023-06-30 13:42:21 +01:00
|
|
|
safelog = { version = "0.3.2", path = "../safelog" }
|
2022-05-28 17:41:39 +01:00
|
|
|
serde = "1.0.103"
|
2022-11-28 14:02:16 +00:00
|
|
|
sha1 = "0.10.0"
|
2021-12-08 01:33:46 +00:00
|
|
|
sha2 = "0.10.0"
|
|
|
|
sha3 = "0.10.0"
|
2022-01-07 20:54:24 +00:00
|
|
|
signature = "1"
|
|
|
|
simple_asn1 = "0.6"
|
|
|
|
subtle = "2"
|
2022-05-28 17:41:39 +01:00
|
|
|
thiserror = "1"
|
2022-05-28 19:55:23 +01:00
|
|
|
typenum = { version = "1.15.0", optional = true }
|
2023-06-27 01:45:36 +01:00
|
|
|
x25519-dalek = { version = "=2.0.0-pre.1" }
|
2022-01-07 20:54:24 +00:00
|
|
|
zeroize = "1"
|
2020-05-08 00:58:10 +01:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2022-05-28 17:41:39 +01:00
|
|
|
cipher = "0.4.1"
|
2023-04-13 12:51:26 +01:00
|
|
|
hex-literal = "0.4"
|
2022-01-07 20:54:24 +00:00
|
|
|
rand = "0.8"
|
2021-03-06 13:55:13 +00:00
|
|
|
serde_test = "1.0.124"
|
2023-08-01 15:57:55 +01:00
|
|
|
tor-basic-utils = { path = "../tor-basic-utils", version = "0.7.3" }
|
2020-05-08 17:35:08 +01:00
|
|
|
|
2021-09-08 11:57:20 +01:00
|
|
|
[target.wasm32-unknown-unknown.dependencies]
|
|
|
|
getrandom = { version = "0.2.3", features = ["js"] }
|
2022-08-17 20:13:13 +01:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|