-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
43 lines (36 loc) · 1.11 KB
/
Cargo.toml
File metadata and controls
43 lines (36 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[package]
name = "asmcrypto"
version = "0.1.2"
edition = "2024"
description = "Register-parallel cryptographic primitives: 8-lane AVX-512 Keccak-256 batch and secp256k1 ECDSA batch address recovery, outperforming libsecp256k1."
license = "MIT OR Apache-2.0"
repository = "https://github.com/atomicincrement/asmcrypto"
documentation = "https://docs.rs/asmcrypto"
readme = "README.md"
keywords = ["keccak", "ecdsa", "secp256k1", "avx512", "ethereum"]
categories = ["cryptography", "algorithms"]
[dependencies]
[dev-dependencies]
criterion = { version = "0.5", features = ["html_reports"] }
# alloy-consensus Keccak backends
sha3 = "0.10"
tiny-keccak = { version = "2", features = ["keccak"] }
# alloy-consensus ECDSA backends
k256 = { version = "0.13", features = ["ecdsa"] }
secp256k1 = { version = "0.29", features = ["recovery", "global-context"] }
rand_core = { version = "0.6", features = ["getrandom"] }
[profile.bench]
debug = true
[[bench]]
name = "keccak"
harness = false
[[bench]]
name = "ecdsa"
harness = false
[[bench]]
name = "mul_wide"
harness = false
[[example]]
name = "keccak_batch"
[[example]]
name = "ecdsa_batch"