Skip to content

Commit fb13ecd

Browse files
committed
[WIP] Replace ConstChoice with ctutils::Choice
Depends on RustCrypto/utils#1266 Extracts all of the `const fn` constructor and predication/selection methods used by `crypto-bigint` into the `ctutils` crate, allowing the `ConstChoice` type to be removed and replaced by `ctutils::Choice`.
1 parent 1114f7c commit fb13ecd

File tree

31 files changed

+620
-755
lines changed

31 files changed

+620
-755
lines changed

Cargo.lock

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ edition = "2024"
1717
rust-version = "1.85"
1818

1919
[dependencies]
20+
ctutils = { version = "0.1", features = ["subtle"] }
2021
subtle = { version = "2.6", default-features = false }
2122

2223
# optional dependencies
@@ -85,3 +86,7 @@ harness = false
8586

8687
[profile.dev]
8788
opt-level = 2
89+
90+
[patch.crates-io.ctutils]
91+
git = "https://github.com/RustCrypto/utils"
92+
branch = "ctutils/crypto-bigint-methods"

0 commit comments

Comments
 (0)