* Replaces the Rng256 with RngCore from rand_core The old trait was designed with our software crypto in mind. We should use a more standard API going forward. - Removes libraries/rng256/ - Ports libraries/crypto/ to rand_core - Moves the used RNG trait to api/ * Use StdRng directy in TestEnv
27 lines
887 B
TOML
27 lines
887 B
TOML
[package]
|
|
name = "crypto"
|
|
version = "0.1.0"
|
|
authors = [
|
|
"Fabian Kaczmarczyck <kaczmarczyck@google.com>",
|
|
"Guillaume Endignoux <guillaumee@google.com>",
|
|
"Jean-Michel Picod <jmichel@google.com>",
|
|
]
|
|
license = "Apache-2.0"
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
arrayref = "0.3.6"
|
|
subtle = { version = "2.2.3", default-features = false, features = ["nightly"] }
|
|
byteorder = { version = "1", default-features = false }
|
|
hex = { version = "0.3.2", default-features = false, optional = true }
|
|
ring = { version = "0.16.11", optional = true }
|
|
untrusted = { version = "0.7.0", optional = true }
|
|
serde = { version = "1.0", optional = true, features = ["derive"] }
|
|
serde_json = { version = "=1.0.69", optional = true }
|
|
regex = { version = "1", optional = true }
|
|
rand_core = "0.6.4"
|
|
|
|
[features]
|
|
std = ["hex", "ring", "untrusted", "serde", "serde_json", "regex", "rand_core/getrandom"]
|
|
with_ctap1 = []
|