Skip to content

Commit 1d94a9b

Browse files
committed
cmov v0.5.1
1 parent 5262484 commit 1d94a9b

File tree

4 files changed

+19
-2
lines changed

4 files changed

+19
-2
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cmov/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## 0.5.1 (2026-01-18)
8+
### Added
9+
- `riscv32` optimised mask generation ([#1396])
10+
- `riscv64` optimised mask generation ([#1397])
11+
- Support for `core::num::NonZero*` and `core::cmp::Ordering` ([#1404])
12+
13+
[#1396]: https://github.com/RustCrypto/utils/pull/1396
14+
[#1397]: https://github.com/RustCrypto/utils/pull/1397
15+
[#1404]: https://github.com/RustCrypto/utils/pull/1404
16+
717
## 0.5.0 (2026-01-17)
818
### Added
919
- Optimized `CmovEq` for `[u8]` ([#1356])

cmov/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cmov"
3-
version = "0.5.0"
3+
version = "0.5.1"
44
authors = ["RustCrypto Developers"]
55
edition = "2024"
66
rust-version = "1.85"

cmov/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ inline `asm!`, which means the implementation is a black box that will not be
2828
rewritten by e.g. LLVM's architecture-specific lowerings, such as the
2929
[x86-cmov-conversion] pass.
3030

31+
This is a *low level crate* who's API is designed to make it easy to build
32+
portable abstractions across various CPU architectures and is not intended for
33+
general purpose use.
34+
35+
See the [`ctutils`] crate for a higher-level API build on top of `cmov`.
36+
3137
## Supported target architectures
3238

3339
This crate provides guaranteed constant-time operation using inline `asm!`
@@ -111,5 +117,6 @@ dual licensed as above, without any additional terms or conditions.
111117
[CSEL]: https://developer.arm.com/documentation/dui0802/b/CSEL
112118
[predication]: https://en.wikipedia.org/wiki/Predication_(computer_architecture)
113119
[x86-cmov-conversion]: https://dsprenkels.com/cmov-conversion.html
120+
[`ctutils`]: https://docs.rs/ctutils
114121
[open an issue]: https://github.com/RustCrypto/utils/issues
115122
[RUSTSEC-2026-0003]: https://rustsec.org/advisories/RUSTSEC-2026-0003.html

0 commit comments

Comments
 (0)