Skip to content

Commit 0307d22

Browse files
authored
Add U576 type alias (#94)
Useful for RustCrypto/elliptic-curves#600 as well as `p521`.
1 parent d950d6e commit 0307d22

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/uint.rs

+1
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ impl_uint_aliases! {
243243
(U384, 384, "384-bit"),
244244
(U448, 448, "448-bit"),
245245
(U512, 512, "512-bit"),
246+
(U576, 576, "576-bit"),
246247
(U768, 768, "768-bit"),
247248
(U896, 896, "896-bit"),
248249
(U1024, 1024, "1024-bit"),

src/uint/macros.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ macro_rules! impl_uint_aliases {
66
($(($name:ident, $bits:expr, $doc:expr)),+) => {
77
$(
88
#[doc = $doc]
9-
#[doc="unsigned big integer"]
9+
#[doc="unsigned big integer."]
1010
pub type $name = UInt<{nlimbs!($bits)}>;
1111

1212
impl Encoding for $name {

0 commit comments

Comments
 (0)