Skip to content

Commit ba71f7a

Browse files
authored
sec1: impl ModulusSize for U24 (#995)
Needed for `p192`
1 parent 40502e9 commit ba71f7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sec1/src/point.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use core::{
1414
str,
1515
};
1616
use generic_array::{
17-
typenum::{U1, U28, U32, U48, U66},
17+
typenum::{U1, U24, U28, U32, U48, U66},
1818
ArrayLength, GenericArray,
1919
};
2020

@@ -59,7 +59,7 @@ macro_rules! impl_modulus_size {
5959
}
6060
}
6161

62-
impl_modulus_size!(U28, U32, U48, U66);
62+
impl_modulus_size!(U24, U28, U32, U48, U66);
6363

6464
/// SEC1 encoded curve point.
6565
///

0 commit comments

Comments
 (0)