cmov
Conditional move CPU intrinsics which are guaranteed on major platforms (ARM32/ARM64, x86/x86_64, RISC-V) to execute in constant-time and not be rewritten as branches by the compiler. Provides wrappers for the CMOV family of instructions on x86/x86_64 and CSEL on AArch64, along with a portable "best-effort" pure Rust fallback implementation.
Security Advisories for cmov in cargo
Moderate
about 2 months ago
Cmov/CmovEq on aarch64 can produce wrong results if high-bits of registers are set
cargo
cmov
High
8 months ago
RustCrypto Utilities cmov: `thumbv6m-none-eabi` compiler emits non-constant time assembly when using `cmovnz`
cargo
cmov