File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,10 @@ license = "Apache-2.0 OR MIT"
1111keywords = [" constant-time" , " crypto" , " intrinsics" ]
1212categories = [" cryptography" , " hardware-support" , " no-std" ]
1313description = """
14- Conditional move CPU intrinsics which are guaranteed on major platforms (ARM32/ARM64, x86/x86_64) to execute in
15- constant-time and not be rewritten as branches by the compiler. Provides wrappers for the CMOV family of
16- instructions on x86/x86_64 and CSEL on AArch64, along with a portable "best-effort" pure Rust fallback.
14+ Conditional move CPU intrinsics which are guaranteed on major platforms (ARM32/ARM64, x86/x86_64,
15+ RISC-V) to execute in constant-time and not be rewritten as branches by the compiler. Provides
16+ wrappers for the CMOV family of instructions on x86/x86_64 and CSEL on AArch64, along with a
17+ portable "best-effort" pure Rust fallback implementation.
1718"""
1819
1920[dev-dependencies ]
Original file line number Diff line number Diff line change 1010Conditional move CPU intrinsics which are guaranteed on major platforms to execute in constant-time
1111and not be rewritten as branches by the compiler.
1212
13- Provides wrappers for the [ CMOV family] of instructions on x86/x86_64 and the [ CSEL] instruction on
14- AArch64 CPUs, along with a portable fallback implementation for other CPU architectures.
13+ Provides wrappers for the [ CMOV family] of instructions on ` x86 ` /` x86_64 ` and the [ CSEL]
14+ instruction on ` aarch64 ` CPUs, along with a portable fallback implementation for other CPU
15+ architectures.
1516
1617## About
1718
@@ -32,8 +33,7 @@ rewritten by e.g. LLVM's architecture-specific lowerings, such as the
3233This crate provides guaranteed constant-time operation using inline ` asm! `
3334on the following CPU architectures:
3435
35- - [x] ` x86 ` (` CMOVZ ` , ` CMOVNZ ` )
36- - [x] ` x86_64 ` (` CMOVZ ` , ` CMOVNZ ` )
36+ - [x] ` x86 ` /` x86_64 ` (` CMOVZ ` , ` CMOVNZ ` )
3737- [x] ` arm ` (mask generation only)
3838- [x] ` aarch64 ` (` CSEL ` )
3939- [x] ` riscv32 ` (mask generation only)
You can’t perform that action at this time.
0 commit comments