Constant-time utility library with selection and equality testing support targeting cryptographic
applications. Supports `const fn` where appropriate. Built on the `cmov` crate which provides
architecture-specific predication intrinsics. Heavily inspired by the `subtle` crate.
cmov • 0.4.3Conditional move CPU intrinsics which are guaranteed on major platforms 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" fallback.
DIRECT
0
BSD-3-Clause1
Package
Relation
Dependencies
Published
subtle • 2.6.1Pure-Rust traits and utilities for constant-time cryptographic implementations.