You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In particular, subtle is part of the digest public API via the CtOutput type. elliptic-curve also uses it as a dependency. We probably should migrate before cutting the next breaking release.
Yeah, it's part of the digest public API due to the trait impls on CtOutput. I guess that's where we need to start making calls on this (fortunately we can release cipher first).
Give me a day or so to see if I can get some clarity on what direction others want to go. Ideally I think we'd have one and only one constant-time library like that to deal with.
Okay, I've gotten in touch but it seems like things might not get sorted out until next week.
I don't think it would be the end of the world to release digest with subtle support, then later add ctutils support if we decide to go that direction. We could simply not use the subtle feature ourselves. It's a very small piece of API surface.
Edit: however, where it would be a problem is if I can actually coordinate a subtle v3 and we want to upgrade, so let me see if I can get clarity on that.
Activity
tarcieri commentedon Feb 3, 2026
It continues to be a big part of the public API of
elliptic-curvebecauseff/groupuse it: zkcrypto/ff#148I was hoping to come to come kind of consensus about what to do there but haven't heard back yet.
newpavlov commentedon Feb 3, 2026
WDYT about
digest? Should we migrate it before the next release or wait for decision onelliptic-curve?tarcieri commentedon Feb 3, 2026
Yeah, it's part of the
digestpublic API due to the trait impls onCtOutput. I guess that's where we need to start making calls on this (fortunately we can releasecipherfirst).Give me a day or so to see if I can get some clarity on what direction others want to go. Ideally I think we'd have one and only one constant-time library like that to deal with.
tarcieri commentedon Feb 5, 2026
Okay, I've gotten in touch but it seems like things might not get sorted out until next week.
I don't think it would be the end of the world to release
digestwithsubtlesupport, then later addctutilssupport if we decide to go that direction. We could simply not use thesubtlefeature ourselves. It's a very small piece of API surface.Edit: however, where it would be a problem is if I can actually coordinate a
subtlev3 and we want to upgrade, so let me see if I can get clarity on that.digest: remove impl of `subtle::ConstantTimeEq` for `CtOutput` (#2292)
digest: replace `subtle` with `ctutils`
digest: replace `subtle` with `ctutils` (#2301)
universal-hash: replace `subtle` with `ctutils`
universal-hash: replace `subtle` with `ctutils` (#2324)
[WIP] elliptic-curve: transition from `subtle` to `ctutils`
[WIP] elliptic-curve: transition from `subtle` to `ctutils`
Replace `subtle` with `ctutils`
Replace `subtle` with `ctutils`
Replace `subtle` with `ctutils` (#879)
Replace `subtle` with `ctutils`