Skip to content

Commit e3252d9

Browse files
Bump to ring 0.17 (cloudflare#367)
1 parent e1d6360 commit e3252d9

File tree

3 files changed

+92
-35
lines changed

3 files changed

+92
-35
lines changed

Cargo.lock

+89-27
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

boringtun/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ tracing = "0.1.29"
3030
tracing-subscriber = { version = "0.3", features = ["fmt"], optional = true }
3131
ip_network = "0.4.1"
3232
ip_network_table = "0.2.0"
33-
ring = "0.16"
33+
ring = "0.17"
3434
x25519-dalek = { version = "2.0.0", features = [
3535
"reusable_secrets",
3636
"static_secrets",

boringtun/benches/crypto_benches/x25519_shared_key_benching.rs

+2-7
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,8 @@ pub fn bench_x25519_shared_key(c: &mut Criterion) {
3737
.unwrap()
3838
},
3939
|my_private_key| {
40-
ring::agreement::agree_ephemeral(
41-
my_private_key,
42-
&my_public_key,
43-
ring::error::Unspecified,
44-
|_key_material| Ok(()),
45-
)
46-
.unwrap()
40+
ring::agreement::agree_ephemeral(my_private_key, &my_public_key, |_key_material| ())
41+
.unwrap()
4742
},
4843
BatchSize::SmallInput,
4944
);

0 commit comments

Comments
 (0)