We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e408f84 commit 0713b70Copy full SHA for 0713b70
1 file changed
src/sizes.rs
@@ -874,6 +874,11 @@ mod extra_sizes {
874
pub type U21632 = uint!(0 0 0 0 0 0 0 1 0 0 1 0 1 0 1);
875
pub type U21696 = uint!(0 0 0 0 0 0 1 1 0 0 1 0 1 0 1);
876
877
+ // HKDF-Expand common max output sizes
878
+ pub type U8160 = uint!(0 0 0 0 0 1 1 1 1 1 1 1 1);
879
+ pub type U12240 = uint!(0 0 0 0 1 0 1 1 1 1 1 1 0 1);
880
+ pub type U16320 = uint!(0 0 0 0 0 0 1 1 1 1 1 1 1 1);
881
+
882
impl_array_sizes! {
883
base_extra,
884
1040 => U1040,
@@ -1130,4 +1135,12 @@ mod extra_sizes {
1130
1135
21632 => U21632,
1131
1136
21696 => U21696,
1132
1137
}
1138
1139
1140
+ impl_array_sizes! {
1141
+ hkdf_expand_max_output,
1142
+ 8160 => U8160,
1143
+ 12240 => U12240,
1144
+ 16320 => U16320,
1145
+ }
1133
1146
0 commit comments