Skip to content
OpenAdvisories

Package · crates.io

ctutils

1 known vulnerabilities.

1 result · Feed

  • Unscored —

    Non-constant-time mask generation and `u128` comparisons

    ## Summary The `ctutils::Choice` type has mask generation functions for each unsigned integer size (`u8`, `u16`, `u32`, `u64`, `u128`). These are `const fn` and therefore can't reuse the `asm!`-backed mask generation in the `cmov` crate that's otherwise used …