Skip to content

Commit 37ae13c

Browse files
authored
universal-hash: replace subtle with ctutils (#2324)
See #2275
1 parent d2ea52c commit 37ae13c

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

universal-hash/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ categories = ["cryptography", "no-std"]
1313
description = "Traits which describe the functionality of universal hash functions (UHFs)"
1414

1515
[dependencies]
16+
ctutils = "0.4"
1617
common = { version = "0.2", package = "crypto-common" }
17-
subtle = { version = "2.4", default-features = false }
1818

1919
[lints]
2020
workspace = true

universal-hash/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use common::{
1818
array::{Array, ArraySize},
1919
};
2020
use core::slice;
21-
use subtle::ConstantTimeEq;
21+
use ctutils::CtEq;
2222
use typenum::Unsigned;
2323

2424
/// Trait implemented by UHF backends.

0 commit comments

Comments
 (0)