diff --git a/Cargo.lock b/Cargo.lock index c0a388e5..fd377aaf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -75,7 +75,7 @@ dependencies = [ [[package]] name = "ctutils" -version = "0.4.0-pre.0" +version = "0.4.0-pre.1" dependencies = [ "cmov", "proptest", diff --git a/ctutils/Cargo.toml b/ctutils/Cargo.toml index d000ed0e..34167b42 100644 --- a/ctutils/Cargo.toml +++ b/ctutils/Cargo.toml @@ -5,7 +5,7 @@ Constant-time utility library with selection and equality testing support target applications. Supports `const fn` where appropriate. Built on the `cmov` crate which provides architecture-specific predication intrinsics. Heavily inspired by the `subtle` crate. """ -version = "0.4.0-pre.0" +version = "0.4.0-pre.1" authors = ["RustCrypto Developers"] license = "Apache-2.0 OR MIT" homepage = "https://github.com/RustCrypto/utils/tree/master/ctselect" diff --git a/ctutils/README.md b/ctutils/README.md index 09bd20f5..4758a3d8 100644 --- a/ctutils/README.md +++ b/ctutils/README.md @@ -37,8 +37,8 @@ library incorporated into `subtle` for a potential v3.0. - Guaranteed constant-time equality testing and conditional selection on `x86(_64)` and `aarch64` using `asm!` implementations in the `cmov` crate which call special constant-time CPU instructions with a portable "best effort" fallback on other platforms using bitwise arithmetic and `black_box` -- No `Copy` (or even `Clone`) bounds, which means all functionality can work with heap-allocated - types in addition to stack-allocated +- No `Copy` bounds, which means all functionality can work with heap-allocated types in addition to + stack-allocated - Expanded selection of traits: `CtFind` and `CtLookup` for arrays and slices Many features of this crate are extractions from the [`crypto-bigint`] crate, where we implement all