Skip to content

Commit

Permalink
Bump to ring 0.17 (#367)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaseizinger authored Oct 20, 2023
1 parent e1d6360 commit e3252d9
Show file tree
Hide file tree
Showing 3 changed files with 92 additions and 35 deletions.
116 changes: 89 additions & 27 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion boringtun/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ tracing = "0.1.29"
tracing-subscriber = { version = "0.3", features = ["fmt"], optional = true }
ip_network = "0.4.1"
ip_network_table = "0.2.0"
ring = "0.16"
ring = "0.17"
x25519-dalek = { version = "2.0.0", features = [
"reusable_secrets",
"static_secrets",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,8 @@ pub fn bench_x25519_shared_key(c: &mut Criterion) {
.unwrap()
},
|my_private_key| {
ring::agreement::agree_ephemeral(
my_private_key,
&my_public_key,
ring::error::Unspecified,
|_key_material| Ok(()),
)
.unwrap()
ring::agreement::agree_ephemeral(my_private_key, &my_public_key, |_key_material| ())
.unwrap()
},
BatchSize::SmallInput,
);
Expand Down

0 comments on commit e3252d9

Please sign in to comment.