We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0b937d commit d287521Copy full SHA for d287521
1 file changed
src/sizes.rs
@@ -1143,4 +1143,22 @@ mod extra_sizes {
1143
12240 => U12240,
1144
16320 => U16320,
1145
}
1146
+
1147
+ // HQC-KEM sizes (FIPS 207)
1148
+ pub type U2241 = uint!(1 0 0 0 0 0 1 1 0 0 0 1);
1149
+ pub type U4433 = uint!(1 0 0 0 1 0 1 0 1 0 0 0 1);
1150
+ pub type U4514 = uint!(0 1 0 0 0 1 0 1 1 0 0 0 1);
1151
+ pub type U7237 = uint!(1 0 1 0 0 0 1 0 0 0 1 1 1);
1152
+ pub type U8978 = uint!(0 1 0 0 1 0 0 0 1 1 0 0 0 1);
1153
+ pub type U14421 = uint!(1 0 1 0 1 0 1 0 0 0 0 1 1 1);
1154
1155
+ impl_array_sizes! {
1156
+ hqc,
1157
+ 2241 => U2241,
1158
+ 4433 => U4433,
1159
+ 4514 => U4514,
1160
+ 7237 => U7237,
1161
+ 8978 => U8978,
1162
+ 14421 => U14421,
1163
+ }
1164
0 commit comments