[package]
name = "zkp-elliptic-curve-crypto"
version = "0.1.0"
description = "Pedersen commitments and digital signatures"
repository = "https://github.com/0xProject/starkcrypto/tree/master/crypto/elliptic-curve-crypto"
keywords = ["elliptic", "ecdsa", "pedersen", "no-std", "wasm"]
categories = ["cryptography", "algorithms", "no-std", "wasm"]
authors = [
"Remco Bloemen <remco@0x.org>",
"Mason Liang <mason@0x.org>",
"Paul Vienhage <paul@0x.org>"]
readme = "Readme.md"
license = "Apache-2.0"
edition = "2018"
[dependencies]
zkp-macros-decl = { version = "0.1.0", path = "../../utils/macros-decl", default-features = false }
zkp-u256 = { version = "0.1.0", path = "../../algebra/u256", default-features = false }
zkp-primefield = { version = "0.1.0", path = "../../algebra/primefield", default-features = false }
zkp-elliptic-curve = { version = "0.1.0", path = "../../algebra/elliptic-curve", default-features = false }
no-std-compat = { version = "0.1.0", features = [ "alloc" ] }
itertools = { version = "0.8.0", default_features = false }
lazy_static = { version = "1.3.0", features = [ "spin_no_std" ] }
tiny-keccak = "1.5.0"
quickcheck = { version = "0.9", optional = true}
criterion = { version = "0.3.0", optional = true }
quickcheck_macros = { version = "0.8", optional = true }
[[bench]]
name = "benchmark"
harness = false
required-features = ["bench"]
[features]
default = [ "std" ]
std = [
"zkp-macros-decl/std",
"zkp-u256/std",
"zkp-primefield/std",
"zkp-elliptic-curve/std",
"no-std-compat/std",
"itertools/use_std",
]
test = [
"quickcheck",
"quickcheck_macros",
"zkp-u256/test",
"zkp-primefield/test",
"zkp-elliptic-curve/std",
]
bench = ["criterion"]
unsafe_ecdsa = []