Use bitcoin_hashes' fixed_time_eq, removing the rust-crypto dep
[rust-lightning] / src / util / chacha20poly1305rfc.rs
index ae1b069ac13b658236b6e778f123182bab58b125..1d3af1ea32072b4622756dcb8ef292921293904b 100644 (file)
@@ -14,8 +14,7 @@
 mod real_chachapoly {
        use util::chacha20::ChaCha20;
        use util::poly1305::Poly1305;
-
-       use crypto::util::fixed_time_eq;
+       use bitcoin_hashes::cmp::fixed_time_eq;
 
        use util::byte_utils;