Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
187 changes: 187 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ members = [
"curve25519/curve25519-cuda",
"curve25519/solana-ed25519",
"experimental/ed25519-pokos",
"secp256r1",
"syscall/bls12-381-syscall",
"syscall/bn254-syscall",
]
Expand Down Expand Up @@ -41,7 +42,10 @@ group = { version = "0.13.0", default-features = false }
hashbrown = "0.15"
hex = "0.4.2"
hex-literal = "1.1.0"
hmac = "0.12"
openssl = "0.10"
pairing = "0.23.0"
p256 = { version = "0.13", features = ["ecdsa", "expose-field"] }
pkcs8 = { version = "0.10.1" }
once_cell = "1.21"
proptest = "=1.6.0"
Expand Down
41 changes: 41 additions & 0 deletions secp256r1/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
[package]
name = "secp256r1"
description = "Pure-Rust secp256r1/P-256 ECDSA keys, signatures, signing, and verification"
version = "0.1.0"
authors = { workspace = true }
repository = { workspace = true }
homepage = { workspace = true }
license = { workspace = true }
edition = "2024"
readme = "README.md"

[dependencies]
hmac.workspace = true
rand_core = { workspace = true, features = ["getrandom"] }
sha2 = "0.10"
zeroize.workspace = true

[dev-dependencies]
criterion.workspace = true
openssl.workspace = true
p256.workspace = true

[[bench]]
name = "verify"
harness = false

[[bench]]
name = "field"
harness = false

[[bench]]
name = "group"
harness = false

[[bench]]
name = "scalar"
harness = false

[[bench]]
name = "sign"
harness = false
Loading
Loading