mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
aquatic_udp: use constant_time_eq crate for ConnectionValidator
Crate is used in official blake3 implementation. Improves speed and removed need for error-prone custom assembly.
This commit is contained in:
parent
fb9b345990
commit
64452503e7
3 changed files with 28 additions and 52 deletions
9
Cargo.lock
generated
9
Cargo.lock
generated
|
|
@ -211,6 +211,7 @@ dependencies = [
|
|||
"aquatic_udp_protocol",
|
||||
"blake3",
|
||||
"cfg-if",
|
||||
"constant_time_eq 0.2.1",
|
||||
"crossbeam-channel",
|
||||
"getrandom",
|
||||
"hashbrown 0.12.0",
|
||||
|
|
@ -549,7 +550,7 @@ dependencies = [
|
|||
"arrayvec 0.7.2",
|
||||
"cc",
|
||||
"cfg-if",
|
||||
"constant_time_eq",
|
||||
"constant_time_eq 0.1.5",
|
||||
"digest 0.10.3",
|
||||
]
|
||||
|
||||
|
|
@ -690,6 +691,12 @@ version = "0.1.5"
|
|||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc"
|
||||
|
||||
[[package]]
|
||||
name = "constant_time_eq"
|
||||
version = "0.2.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "df04a53a7e91248c27eb6bfc1db165e8f47453e98478e4609f9cce020bb3c65a"
|
||||
|
||||
[[package]]
|
||||
name = "cpufeatures"
|
||||
version = "0.2.2"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue