@@ -4,6 +4,61 @@ All notable changes to this project will be documented in this file.
4
4
The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
5
5
and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
6
6
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
+
7
62
## 0.4.9 (2022-10-11)
8
63
### Added
9
64
- ` UInt::from_word ` and ` ::from_wide_word ` ([ #105 ] )
0 commit comments