Skip to content

Conversation

@tarcieri
Copy link
Member

@tarcieri tarcieri commented Feb 12, 2026

As discussed in #2275 and #2300, we are migrating from subtle to our new ctutils library:

https://github.com/RustCrypto/utils/tree/master/ctutils

As discussed in #2275, we are migrating from `subtle` to our new
`ctutils` library:

https://github.com/RustCrypto/utils/tree/master/ctutils
Comment on lines 30 to 34
block-api = ["block-buffer"] # Enable block API traits
mac = ["subtle"] # Enable MAC traits
mac = ["dep:ctutils"] # Enable MAC traits
rand_core = ["common/rand_core"] # Enable random key generation methods
getrandom = ["common/getrandom", "rand_core"]
oid = ["const-oid"]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sidebar: seems like we should use dep:block-buffer and dep:const-oid. I'll open a followup PR.

@tarcieri tarcieri requested a review from newpavlov February 12, 2026 17:45
@tarcieri tarcieri mentioned this pull request Feb 12, 2026
@tarcieri
Copy link
Member Author

Ugh miri tests failing everywhere 😢 Need to pin to the previous nightly

@tarcieri tarcieri merged commit c1a51d4 into master Feb 12, 2026
86 checks passed
@tarcieri tarcieri deleted the digest/replace-subtle-with-ctutils branch February 12, 2026 18:58
tarcieri added a commit that referenced this pull request Feb 13, 2026
## Added
- `CustomizedInit` trait (#1334)
- `SerializableState` support (#1369)
- `DynDigestWithOid` wrapper trait (#1390)
- `VariableOutputCoreCustomized` trait (#1787, #2043)
- `buffer_fixed`, `buffer_ct_variable`, `buffer_rt_variable`, and
  `buffer_xof` macros (#1799)
- `XofFixedWrapper` (#1815)
- `CollisionResistance` trait (#1820)
- `CoreProxy::compose/decompose` methods (#1898)
- `EagerHash` trait (#2014)

## Changed
- Replaced `generic-array` with `hybrid-array` (#1358)
- `crypto-common` dependency bumped to v0.2 (#1173)
- Edition changed to 2024 and MSRV bumped to 1.85 (#1759)
- Bump `const-oid` dependency to v0.10 (#1772)
- `digest::core_api` renamed to `digest::block_api` (#1799)
- `CtVariableCoreWrapper` renamed to `CtOutWrapper` (#1799)
- Removed the OID type parameter from `CtOutWrapper` (#1799)
- Implementations of the `SerializableState` trait (#1953)
- `new_test!` and `new_mac_test!` macros (#1958)
- Bump `block-buffer` to v0.11 (#2082)
- Re-export of `crypto-common` moved to `digest::common` (#2237)
- Bump `crypto-common` to v0.2 (#2276)
- Replace `subtle` with `ctutils` (#2301)

## Removed
- `Mac::{new, new_from_slice, generate_key}` methods (#1173)
- `CoreWrapper`, `RtVariableCoreWrapper`, and `XofReaderCoreWrapper`
  types (#1799)
- `io::Write/Read` implementations in favor of the `digest_io::IoWrapper`
  type (#1809)
- `VariableOutput` trait (#2043)
- Implementation of `subtle::ConstantTimeEq` for `CtOutput`. Note that
  implementation of `PartialEq`/`Eq` trait is still const time. (#2292)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant