Generic implementation of prime fields built on `crypto-bigint`, along with macros for writing
field element newtypes including ones with formally verified arithmetic using `fiat-crypto`
cmov • 0.5.3Conditional 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.
INDIRECT
0
cpubits • 0.1.0Compile-time detection heuristics for the optimal word size to use for the
target CPU, which in some cases may differ from its address size a.k.a.
`target_pointer_width`. Implemented as `macro_rules!`
INDIRECT
0
crypto-bigint • 0.7.3Pure Rust implementation of a big integer library which has been designed from
the ground-up for use in cryptographic applications. Provides constant-time,
no_std-friendly implementations of modern formulas using const generics.
ctutils • 0.4.2Constant-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.
INDIRECT
1
hybrid-array • 0.4.10Hybrid typenum-based and const generic array types designed to provide the
flexibility of typenum-based expressions while also allowing interoperability
and a transition path to const generics
typenum • 1.19.0Typenum is a Rust library for type-level numbers evaluated at
compile time. It currently supports bits, unsigned integers, and signed
integers. It also provides a type-level array of type-level numbers, but its
implementation is incomplete.
INDIRECT
0
zeroize • 1.8.2Securely clear secrets from memory with a simple trait built on
stable Rust primitives which guarantee memory is zeroed using an
operation will not be 'optimized away' by the compiler.
Uses a portable pure Rust implementation that works everywhere,
even WASM!
DIRECT
0
BSD-3-Clause1
Package
Relation
Dependencies
Published
subtle • 2.6.1Pure-Rust traits and utilities for constant-time cryptographic implementations.