elliptic-curve 0.14.0-rc.1

General purpose Elliptic Curve Cryptography (ECC) support, including types and traits for representing various elliptic curve forms, scalars, points, and public/secret keys composed thereof.
Documentation
[dependencies.base16ct]
version = "0.2"

[dependencies.base64ct]
default-features = false
features = ["alloc"]
optional = true
version = "1"

[dependencies.crypto-bigint]
default-features = false
features = ["rand_core", "hybrid-array", "zeroize"]
version = "0.6.0-rc.2"

[dependencies.digest]
optional = true
version = "=0.11.0-pre.9"

[dependencies.ff]
default-features = false
optional = true
version = "0.13"

[dependencies.group]
default-features = false
optional = true
version = "0.13"

[dependencies.hex-literal]
optional = true
version = "0.4"

[dependencies.hkdf]
default-features = false
optional = true
version = "=0.13.0-pre.4"

[dependencies.hybrid-array]
default-features = false
features = ["zeroize"]
version = "0.2.0-rc.8"

[dependencies.pem-rfc7468]
features = ["alloc"]
optional = true
version = "1.0.0-rc.1"

[dependencies.pkcs8]
default-features = false
optional = true
version = "0.11.0-rc.1"

[dependencies.rand_core]
default-features = false
version = "0.6.4"

[dependencies.sec1]
features = ["subtle", "zeroize"]
optional = true
version = "0.8.0-rc.2"

[dependencies.serde_json]
default-features = false
features = ["alloc"]
optional = true
version = "1.0.121"

[dependencies.serdect]
default-features = false
features = ["alloc"]
optional = true
version = "=0.3.0-rc.0"

[dependencies.subtle]
default-features = false
version = "2.6"

[dependencies.tap]
default-features = false
optional = true
version = "1.0.1"

[dependencies.zeroize]
default-features = false
version = "1.7"

[dev-dependencies.hex-literal]
version = "0.4"

[dev-dependencies.sha2]
version = "=0.11.0-pre.4"

[dev-dependencies.sha3]
version = "=0.11.0-pre.4"

[features]
alloc = ["base16ct/alloc", "ff?/alloc", "group?/alloc", "pkcs8?/alloc", "sec1?/alloc", "zeroize/alloc"]
arithmetic = ["group"]
bits = ["arithmetic", "ff/bits", "dep:tap"]
default = ["arithmetic"]
dev = ["arithmetic", "dep:hex-literal", "pem", "pkcs8"]
ecdh = ["arithmetic", "digest", "dep:hkdf"]
group = ["dep:group", "ff"]
hash2curve = ["arithmetic", "digest"]
jwk = ["dep:base64ct", "dep:serde_json", "alloc", "serde", "zeroize/alloc"]
pem = ["dep:pem-rfc7468", "alloc", "arithmetic", "pkcs8", "sec1/pem"]
pkcs8 = ["dep:pkcs8", "sec1"]
serde = ["dep:serdect", "alloc", "pkcs8", "sec1/serde"]
std = ["alloc", "rand_core/std", "pkcs8?/std", "sec1?/std"]
voprf = ["digest"]

[lib]
name = "elliptic_curve"
path = "src/lib.rs"

[package]
authors = ["RustCrypto Developers"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["cryptography", "no-std"]
description = """
General purpose Elliptic Curve Cryptography (ECC) support, including types
and traits for representing various elliptic curve forms, scalars, points,
and public/secret keys composed thereof.
"""
edition = "2021"
homepage = "https://github.com/RustCrypto/traits/tree/master/elliptic-curve"
keywords = ["crypto", "ecc", "elliptic", "weierstrass"]
license = "Apache-2.0 OR MIT"
name = "elliptic-curve"
readme = "README.md"
repository = "https://github.com/RustCrypto/traits"
rust-version = "1.73"
version = "0.14.0-rc.1"

[package.metadata.docs.rs]
features = ["bits", "ecdh", "hash2curve", "jwk", "pem", "std", "voprf"]
rustdoc-args = ["--cfg", "docsrs"]

[[test]]
name = "pkcs8"
path = "tests/pkcs8.rs"

[[test]]
name = "secret_key"
path = "tests/secret_key.rs"