constant_time_eq
constant_time_eq copied to clipboard
use the portable optimizer_hide() when running under Miri
Inspired by a discussion about subtle and constant_time_eq earlier today, I wanted to try to make this crate Miri-compatible. The blake3 crate currently has its own workaround for Miri compatibility, but it might be nice to upstream that for other callers. Let me know what you think.
The 1.68 -> 1.74 follow-on change is based on the build failure I see here: https://github.com/oconnor663/constant_time_eq/actions/runs/10499387449/job/29086064254