constant_time_eq icon indicating copy to clipboard operation
constant_time_eq copied to clipboard

use the portable optimizer_hide() when running under Miri

Open oconnor663 opened this issue 1 year ago • 1 comments

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.

oconnor663 avatar Aug 21 '24 23:08 oconnor663

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

oconnor663 avatar Aug 22 '24 00:08 oconnor663