[dependencies.aead]
optional = true
version = "0.3"
[dependencies.aes]
optional = true
version = "0.6"
[dependencies.aes-gcm]
optional = true
version = "0.8"
[dependencies.amcl]
default-features = false
features = ["bn254"]
optional = true
version = "0.2"
[dependencies.amcl_wrapper]
features = ["bls381"]
optional = true
version = "0.4.0"
[dependencies.arrayref]
optional = true
version = "0.3.5"
[dependencies.bitcoinsecp256k1]
features = ["rand", "serde"]
optional = true
package = "secp256k1"
version = "0.19"
[dependencies.blake2]
default-features = false
optional = true
version = "0.9"
[dependencies.block-modes]
optional = true
version = "0.7"
[dependencies.block-padding]
optional = true
version = "0.2"
[dependencies.clear_on_drop]
optional = true
version = "0.2.4"
[dependencies.console_error_panic_hook]
optional = true
version = "0.1.5"
[dependencies.curve25519-dalek]
default-features = false
optional = true
version = "3.1"
[dependencies.ed25519-dalek]
default-features = false
optional = true
version = "1.0"
[dependencies.env_logger]
optional = true
version = "0.7.0"
[dependencies.failure]
optional = true
version = "0.1.6"
[dependencies.ffi-support]
optional = true
version = "0.4"
[dependencies.glass_pumpkin]
optional = true
version = "0.4"
[dependencies.hex]
optional = true
version = "0.4.0"
[dependencies.hkdf]
optional = true
version = "0.11.0"
[dependencies.hmac]
optional = true
version = "0.11.0"
[dependencies.int_traits]
optional = true
version = "0.1.1"
[dependencies.js-sys]
optional = true
version = "0.3.13"
[dependencies.k256]
features = ["ecdh", "ecdsa", "sha256"]
optional = true
version = "0.9.6"
[dependencies.lazy_static]
optional = true
version = "1.4"
[dependencies.libsodium-ffi]
optional = true
version = "0.2.2"
[dependencies.log]
optional = true
version = "0.4.8"
[dependencies.num-bigint]
features = ["rand"]
optional = true
version = "0.3.0"
[dependencies.num-integer]
optional = true
version = "=0.1.42"
[dependencies.num-traits]
optional = true
version = "=0.2.11"
[dependencies.openssl]
optional = true
version = "0.10"
[dependencies.rand]
features = ["wasm-bindgen"]
optional = true
version = "0.7"
[dependencies.rand_chacha]
optional = true
version = "=0.2.1"
[dependencies.rustchacha20poly1305]
optional = true
package = "chacha20poly1305"
version = "0.7"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0"
[dependencies.serde_json]
optional = true
version = "1.0"
[dependencies.sha2]
default-features = false
optional = true
version = "0.9.5"
[dependencies.sha3]
optional = true
version = "0.9.1"
[dependencies.subtle]
optional = true
version = "2.3"
[dependencies.time]
optional = true
version = "0.1"
[dependencies.wasm-bindgen]
features = ["serde-serialize"]
optional = true
version = "0.2"
[dependencies.x25519-dalek]
default-features = false
optional = true
version = "1.1"
[dependencies.zeroize]
features = ["zeroize_derive"]
optional = true
version = "1.1"
[dev-dependencies.bitcoinsecp256k1]
package = "secp256k1"
version = "0.19"
[dev-dependencies.bytebuffer-rs]
version = "0.3.0"
[dev-dependencies.criterion]
version = "0.3"
[dev-dependencies.k256]
version = "0.9.6"
[dev-dependencies.libsodium-ffi]
version = "0.2.2"
[dev-dependencies.openssl]
version = "0.10"
[dev-dependencies.serde_json]
version = "1.0"
[features]
aescbc = ["aead", "aes", "block-modes", "block-padding", "hex", "hmac", "rand", "sha2/std", "subtle", "zeroize"]
aescbc_native = ["aead", "hex", "rand", "openssl", "zeroize"]
aesgcm = ["aead", "aes-gcm", "hex", "rand", "zeroize"]
aesgcm_native = ["aead", "hex", "rand", "openssl", "zeroize"]
asm = ["encryption_asm", "ffi", "hashes_asm", "serde", "signatures_asm"]
benchmarkaescbc = ["openssl"]
benchmarkaesgcm = ["openssl"]
benchmarked25519 = ["libsodium-ffi"]
benchmarksecp256k1 = ["bitcoinsecp256k1", "openssl"]
benchmarkxchacha20poly1305 = ["libsodium-ffi"]
bls_bls12381 = ["amcl_wrapper", "hex", "hkdf", "zeroize"]
bls_bn254 = ["amcl", "failure", "log", "rand", "sha2/std", "sha3"]
bls_bn254_asm = ["amcl", "failure", "log", "rand", "sha2/asm", "sha3"]
chacha20poly1305 = ["aead", "hex", "rand", "rustchacha20poly1305", "zeroize"]
chacha20poly1305_native = ["aead", "hex", "lazy_static", "libsodium-ffi", "rand", "zeroize"]
cl = ["amcl", "failure", "glass_pumpkin", "int_traits", "lazy_static", "log", "num-bigint", "num-integer", "num-traits", "rand", "sha2/std", "time"]
cl_native = ["amcl", "failure", "int_traits", "lazy_static", "log", "openssl", "rand", "time"]
default = ["encryption", "hashes", "kex", "serde", "signatures_native", "sharing_native"]
ecdh_secp256k1 = ["amcl", "arrayref", "failure", "hex", "rand", "rand_chacha", "k256", "sha2/std", "zeroize"]
ecdh_secp256k1_asm = ["arrayref", "failure", "hex", "log", "rand", "bitcoinsecp256k1", "rand_chacha", "sha2/asm", "zeroize"]
ecdh_secp256k1_native = ["arrayref", "failure", "hex", "log", "rand", "bitcoinsecp256k1", "rand_chacha", "sha2/std", "zeroize"]
ecdsa_secp256k1 = ["amcl", "arrayref", "failure", "hex", "rand", "rand_chacha", "k256", "sha2/std", "zeroize"]
ecdsa_secp256k1_asm = ["arrayref", "failure", "hex", "log", "rand", "bitcoinsecp256k1", "rand_chacha", "sha2/asm", "zeroize"]
ecdsa_secp256k1_native = ["arrayref", "failure", "hex", "log", "rand", "bitcoinsecp256k1", "rand_chacha", "sha2/std", "zeroize"]
ed25519 = ["arrayref", "ed25519-dalek/std", "ed25519-dalek/u64_backend", "hex", "rand", "rand_chacha", "sha2/std", "zeroize"]
ed25519_asm = ["arrayref", "ed25519-dalek/nightly", "ed25519-dalek/simd_backend", "hex", "rand", "rand_chacha", "sha2/asm", "zeroize"]
encryption = ["aescbc", "aesgcm", "chacha20poly1305"]
encryption_asm = ["aescbc_native", "aesgcm_native", "chacha20poly1305_native"]
ffi = ["failure", "ffi-support", "logger", "serde", "serde_json", "time"]
hashes = ["blake2/std", "sha2/std", "sha3"]
hashes_asm = ["blake2/simd_asm", "sha2/asm", "sha3"]
kex = ["ecdh_secp256k1", "x25519"]
kex_asm = ["ecdh_secp256k1_asm", "x25519_asm"]
kex_native = ["ecdh_secp256k1_native", "x25519"]
logger = ["env_logger", "log"]
portable = ["clear_on_drop/no_cc", "encryption", "hashes", "kex", "serde", "signatures", "sharing"]
portable_wasm = ["portable", "wasm"]
sharing = ["failure", "glass_pumpkin", "int_traits", "lazy_static", "num-bigint", "num-integer", "num-traits", "log", "rand", "sha2/std", "time"]
sharing_native = ["failure", "int_traits", "lazy_static", "log", "openssl", "rand", "time"]
signatures = ["cl", "ed25519", "ecdsa_secp256k1", "bls_bls12381", "bls_bn254"]
signatures_asm = ["cl_native", "ed25519_asm", "ecdsa_secp256k1_asm", "bls_bls12381", "bls_bn254_asm"]
signatures_native = ["cl_native", "ed25519", "ecdsa_secp256k1_native", "bls_bls12381", "bls_bn254"]
wasm = ["console_error_panic_hook", "failure", "hex", "js-sys", "log", "rand/wasm-bindgen", "serde", "serde_json", "wasm-bindgen", "zeroize"]
x25519 = ["arrayref", "curve25519-dalek/std", "curve25519-dalek/u64_backend", "hex", "rand", "rand_chacha", "sha2/std", "x25519-dalek/std", "x25519-dalek/u64_backend", "zeroize"]
x25519_asm = ["arrayref", "curve25519-dalek/nightly", "curve25519-dalek/avx2_backend", "hex", "rand", "rand_chacha", "sha2/asm", "x25519-dalek/nightly", "x25519-dalek/u64_backend", "zeroize"]
[lib]
crate-type = ["staticlib", "rlib", "cdylib"]
name = "ursa"
path = "src/lib.rs"
[package]
authors = ["Hyperledger Ursa Contributors"]
description = "This is the shared crypto library for Hyperledger components."
documentation = "https://docs.rs/ursa"
homepage = "https://crates.io/crates/ursa"
include = ["src/bls/**/*.rs", "src/bn/**/*.rs", "src/cl/**/*.rs", "src/encoding/**/*.rs", "src/encryption/**/*.rs", "src/errors/**/*.rs", "src/hash/**/*.rs", "src/kex/**/*.rs", "src/pair/**/*.rs", "src/sharing/**/*.rs", "src/signatures/**/*.rs", "src/utils/**/*.rs", "src/wasm/**/*.rs", "src/*.rs", "Cargo.toml", "LICENSE", "CHANGELOG"]
keywords = ["cryptography", "aead", "hash", "signature", "zero-knowledge"]
license = "Apache-2.0"
name = "ursa"
readme = "README.md"
repository = "https://github.com/hyperledger/ursa"
version = "0.3.7"
[package.metadata.deb]
assets = [["../target/release/libursa.a", "usr/lib/libursa.a", "644"], ["../target/release/libursa.so", "usr/lib/libursa.so", "644"], ["include/ursa_crypto.h", "usr/include/ursa/ursa_crypto.h", "644"], ["include/ursa_crypto_ed25519.h", "usr/include/ursa/ursa_crypto_ed25519.h", "644"]]
copyright = "2019, Hyperledger"
depends = "$auto"
extended-description = "Rust written reliable, secure, easy-to-use, and pluggable cryptographic implementations."
license-file = ["../LICENSE", "0"]
maintainer = "Hyperledger"
priority = "optional"
revision = "1"
section = "admin"
[package.metadata.rpm]
copyright = "2018, Hyperledger"
depends = "$auto"
extended-description = "Rust written reliable, secure, easy-to-use, and pluggable cryptographic implementations."
license-file = ["../LICENSE", "0"]
maintainer = "Hyperledger"
priority = "optional"
revision = "1"
section = "admin"