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:
Joakim Frostegård 2022-04-15 23:40:05 +02:00
parent fb9b345990
commit 64452503e7
3 changed files with 28 additions and 52 deletions

View file

@ -26,6 +26,7 @@ aquatic_udp_protocol = { version = "0.2.0", path = "../aquatic_udp_protocol" }
anyhow = "1"
blake3 = "1"
cfg-if = "1"
constant_time_eq = "0.2"
crossbeam-channel = "0.5"
getrandom = "0.2"
hashbrown = { version = "0.12", default-features = false }