Expand description
Commonly used base types and primitives for the oblivious algorithms.
Modules§
- asm
- Assembly implementations of the
Cmov
trait. - asm_x86
- x86 assembly implementations of the
Cmov
trait. - indexable
- Traits for indexable types.
- ooption
- Implements an option type with constant-time conditional move operations.
- traits
- Traits for conditional move and swap operations.
- utils
- Some common utility functions that should be in the standard library. This is a temporary solution until they are added to the standard library.
Macros§
- cmov_
body - The shared body for cmov. Any file that uses the macro should include be in a module that includes the bytemuck crate and should also include:
- cxchg_
body - UNDONE(git-20) Optimized cxchg
- impl_
cmov_ for_ generic_ pod - Automatically implement the Cmov trait for a generic type that is a pod. usage:
- impl_
cmov_ for_ pod - Automatically implement the Cmov trait for a concrete type that is a pod.