Changed curve and added bench
This commit is contained in:
parent
37d1a6b8f1
commit
7618334e50
7 changed files with 160 additions and 22 deletions
11
Cargo.toml
11
Cargo.toml
|
|
@ -13,8 +13,8 @@ license = "MIT"
|
|||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
x25519-dalek = "1.1.1"
|
||||
rand_core = "0.5"
|
||||
p256 = {version = "0.8.1", features = ["zeroize", "ecdh", "arithmetic", "pem"]}
|
||||
rand_core = {version = "0.6", features = ["getrandom"]}
|
||||
hkdf = "0.11.0"
|
||||
hmac = "0.11.0"
|
||||
aes-gcm-siv = {version = "0.10.0"}
|
||||
|
|
@ -25,6 +25,13 @@ serde_bytes = "0.11.5"
|
|||
bincode = "1.3.3"
|
||||
hashbrown = "0.11.2"
|
||||
|
||||
[dev-dependencies]
|
||||
criterion = "0.3.4"
|
||||
|
||||
[[bench]]
|
||||
name = "double_ratchet_bench"
|
||||
harness = false
|
||||
|
||||
[profile.release]
|
||||
lto = true
|
||||
opt-level = 3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue