Skip to content

Commit 36e4cef

Browse files
authored
cmov v0.4.2 (#1281)
### Added - Signed integer support (#1280)
1 parent 544cf11 commit 36e4cef

File tree

5 files changed

+26
-18
lines changed

5 files changed

+26
-18
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: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ 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.4.2 (2025-12-26)
8+
### Added
9+
- Signed integer support ([#1280])
10+
11+
[#1280]: https://github.com/RustCrypto/utils/pull/1280
12+
713
## 0.4.1 (2025-12-19)
814
### Changed
915
- Use `black_box` in portable impl ([#1255])

cmov/Cargo.toml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
[package]
22
name = "cmov"
3-
version = "0.4.1"
3+
version = "0.4.2"
44
authors = ["RustCrypto Developers"]
55
edition = "2024"
66
rust-version = "1.85"
77
documentation = "https://docs.rs/cmov"
88
readme = "README.md"
99
repository = "https://github.com/RustCrypto/utils"
1010
license = "Apache-2.0 OR MIT"
11-
keywords = ["crypto", "intrinsics"]
11+
keywords = ["constant-time", "crypto", "intrinsics"]
1212
categories = ["cryptography", "hardware-support", "no-std"]
1313
description = """
14-
Conditional move CPU intrinsics which are guaranteed to execute in
15-
constant-time and not be rewritten as branches by the compiler.
16-
Provides wrappers for the CMOV family of instructions on x86/x86_64
17-
and CSEL on AArch64.
14+
Conditional move CPU intrinsics which are guaranteed on major platforms to execute in constant-time
15+
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" fallback.
1817
"""

cmov/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,13 @@
55
[![Build Status][build-image]][build-link]
66
![Apache 2.0/MIT Licensed][license-image]
77
![MSRV][msrv-image]
8+
[![Project Chat][chat-image]][chat-link]
89

9-
Conditional move CPU intrinsics which are guaranteed to execute in
10-
constant-time and not be rewritten as branches by the compiler.
10+
Conditional move CPU intrinsics which are guaranteed on major platforms to execute in constant-time
11+
and not be rewritten as branches by the compiler.
1112

12-
Provides wrappers for the [CMOV family] of instructions on x86/x86_64 and
13-
the [CSEL] instruction on AArch64 CPUs, along with a portable fallback
14-
implementation for other CPU architectures.
15-
16-
[Documentation][docs-link]
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.
1715

1816
## About
1917

@@ -80,8 +78,10 @@ dual licensed as above, without any additional terms or conditions.
8078
[docs-link]: https://docs.rs/cmov/
8179
[license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg
8280
[msrv-image]: https://img.shields.io/badge/rustc-1.85+-blue.svg
83-
[build-image]: https://github.com/RustCrypto/utils/actions/workflows/cmov.yml/badge.svg?branch=master
84-
[build-link]: https://github.com/RustCrypto/utils/actions/workflows/cmov.yml?query=branch:master
81+
[build-image]: https://github.com/RustCrypto/utils/actions/workflows/cmov.yml/badge.svg
82+
[build-link]: https://github.com/RustCrypto/utils/actions/workflows/cmov.yml
83+
[chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg
84+
[chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/260052-utils
8585

8686
[//]: # (links)
8787

ctutils/README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
[![Build Status][build-image]][build-link]
66
![Apache 2.0/MIT Licensed][license-image]
77
![MSRV][msrv-image]
8+
[![Project Chat][chat-image]][chat-link]
89

910
Constant-time utility library with selection and equality testing support targeting cryptographic
1011
applications. Supports `const fn` where appropriate. Built on the [`cmov`] crate which provides
@@ -58,8 +59,10 @@ dual licensed as above, without any additional terms or conditions.
5859
[docs-link]: https://docs.rs/ctutils/
5960
[license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg
6061
[msrv-image]: https://img.shields.io/badge/rustc-1.85+-blue.svg
61-
[build-image]: https://github.com/RustCrypto/utils/actions/workflows/ctutils.yml/badge.svg?branch=master
62-
[build-link]: https://github.com/RustCrypto/utils/actions/workflows/ctutils.yml?query=branch:master
62+
[build-image]: https://github.com/RustCrypto/utils/actions/workflows/ctutils.yml/badge.svg
63+
[build-link]: https://github.com/RustCrypto/utils/actions/workflows/ctutils.yml
64+
[chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg
65+
[chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/260052-utils
6366

6467
[//]: # (links)
6568

0 commit comments

Comments
 (0)