Skip to content

Commit a4c67be

Browse files
authored
v0.5.0 (#188)
1 parent 2f7e30d commit a4c67be

File tree

3 files changed

+57
-2
lines changed

3 files changed

+57
-2
lines changed

CHANGELOG.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,61 @@ 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.0 (2023-02-27)
8+
### Added
9+
- `Residue`: modular arithmetic with static compile-time moduli ([#130])
10+
- `DynResidue`: modular arithmetic with dynamic runtime moduli ([#134])
11+
- Constant-time division by a single `Limb` ([#141])
12+
- Windowed exponentiation for `(Dyn)Residue` ([#147])
13+
- `SubResidue` trait and impls for `Residue` and `DynResidue` ([#149])
14+
- `Pow`, `Invert` and `Square` ([#155])
15+
- `CtChoice` type ([#159])
16+
- `BITS`, `BYTES`, and `LIMBS` to `Integer` trait ([#161])
17+
- Impl `Random` for `Wrapping` ([#168])
18+
- Support to concat `U320` and `U640` ([#173])
19+
- Define `U224` and `U544` on 32-bit platforms ([#179], [#180])
20+
21+
### Changed
22+
- Rename `UInt` -> `Uint` ([#143])
23+
- Rename `Uint` methods ([#144])
24+
- `limbs` -> `as_limbs`
25+
- `limbs_mut` -> `as_limbs_mut`
26+
- `into_limbs` -> `to_limbs`
27+
- Faster `random_mod` ([#146])
28+
- Constant-time `leading_zeros()`, `trailing_zeros()`, `bits()`, and `bit()` for `Uint` ([#153])
29+
- Rename `BIT_SIZE` -> `BITS`, `BYTE_SIZE` -> `BYTES` ([#157])
30+
- More efficient squaring operation ([#133])
31+
- Use `CryptoRngCore` ([#164])
32+
- Bump `serdect` to 0.2 ([#185])
33+
- Bump `der` dependency to v0.7; MSRV 1.65 ([#187])
34+
35+
### Fixed
36+
- Integer overflow in `div2by1()` ([#156])
37+
- Convert from tuple element ordering ([#183])
38+
39+
[#130]: https://github.com/RustCrypto/crypto-bigint/pull/130
40+
[#134]: https://github.com/RustCrypto/crypto-bigint/pull/134
41+
[#141]: https://github.com/RustCrypto/crypto-bigint/pull/141
42+
[#143]: https://github.com/RustCrypto/crypto-bigint/pull/143
43+
[#144]: https://github.com/RustCrypto/crypto-bigint/pull/144
44+
[#146]: https://github.com/RustCrypto/crypto-bigint/pull/146
45+
[#147]: https://github.com/RustCrypto/crypto-bigint/pull/147
46+
[#149]: https://github.com/RustCrypto/crypto-bigint/pull/149
47+
[#153]: https://github.com/RustCrypto/crypto-bigint/pull/153
48+
[#155]: https://github.com/RustCrypto/crypto-bigint/pull/155
49+
[#156]: https://github.com/RustCrypto/crypto-bigint/pull/156
50+
[#157]: https://github.com/RustCrypto/crypto-bigint/pull/157
51+
[#159]: https://github.com/RustCrypto/crypto-bigint/pull/159
52+
[#161]: https://github.com/RustCrypto/crypto-bigint/pull/161
53+
[#164]: https://github.com/RustCrypto/crypto-bigint/pull/164
54+
[#168]: https://github.com/RustCrypto/crypto-bigint/pull/168
55+
[#173]: https://github.com/RustCrypto/crypto-bigint/pull/173
56+
[#179]: https://github.com/RustCrypto/crypto-bigint/pull/179
57+
[#180]: https://github.com/RustCrypto/crypto-bigint/pull/180
58+
[#183]: https://github.com/RustCrypto/crypto-bigint/pull/183
59+
[#185]: https://github.com/RustCrypto/crypto-bigint/pull/185
60+
[#187]: https://github.com/RustCrypto/crypto-bigint/pull/187
61+
762
## 0.4.9 (2022-10-11)
863
### Added
964
- `UInt::from_word` and `::from_wide_word` ([#105])

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.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "crypto-bigint"
3-
version = "0.5.0-pre.3"
3+
version = "0.5.0"
44
description = """
55
Pure Rust implementation of a big integer library which has been designed from
66
the ground-up for use in cryptographic applications. Provides constant-time,

0 commit comments

Comments
 (0)