@@ -15,11 +15,10 @@ pub use digest::{self, Digest};
1515use core:: { fmt, marker:: PhantomData , ops:: Div } ;
1616use digest:: {
1717 CustomizedInit , FixedOutput , HashMarker , InvalidOutputSize , MacMarker , Output , Update ,
18- VarOutputCustomized ,
1918 array:: { Array , ArraySize } ,
2019 block_api:: {
2120 AlgorithmName , Block , BlockSizeUser , Buffer , BufferKindUser , OutputSizeUser , TruncSide ,
22- UpdateCore , VariableOutputCore ,
21+ UpdateCore , VariableOutputCore , VariableOutputCoreCustomized ,
2322 } ,
2423 block_buffer:: { Lazy , LazyBuffer } ,
2524 consts:: { U4 , U16 , U32 , U64 , U128 } ,
8079 }
8180}
8281
83- digest:: buffer_rt_variable!(
84- /// BLAKE2b which allows to choose output size at runtime.
85- pub struct Blake2bVar ( Blake2bVarCore ) ;
86- exclude: SerializableState ;
87- ) ;
88-
8982/// BLAKE2b-128 hasher state.
9083pub type Blake2b128 = Blake2b < U16 > ;
9184/// BLAKE2b-256 hasher state.
@@ -134,12 +127,6 @@ where
134127 }
135128}
136129
137- digest:: buffer_rt_variable!(
138- /// BLAKE2s which allows to choose output size at runtime.
139- pub struct Blake2sVar ( Blake2sVarCore ) ;
140- exclude: SerializableState ;
141- ) ;
142-
143130/// BLAKE2s-128 hasher state.
144131pub type Blake2s128 = Blake2s < U16 > ;
145132/// BLAKE2s-256 hasher state.
0 commit comments