File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,8 +35,9 @@ use digest::block_api::{AlgorithmName, CoreProxy};
3535
3636digest:: buffer_fixed!(
3737 /// Generic HMAC instance.
38+ #[ derive( Clone ) ]
3839 pub struct Hmac <D : EagerHash >( block_api:: HmacCore <D >) ;
39- impl : MacTraits KeyInit ;
40+ impl : BaseFixedTraits MacMarker KeyInit ;
4041) ;
4142
4243impl < D : EagerHash + AlgorithmName > AlgorithmName for Hmac < D > {
@@ -47,8 +48,9 @@ impl<D: EagerHash + AlgorithmName> AlgorithmName for Hmac<D> {
4748
4849digest:: buffer_fixed!(
4950 /// Generic HMAC instance with reset support.
51+ #[ derive( Clone ) ]
5052 pub struct HmacReset <D : EagerHash >( block_api:: HmacResetCore <D >) ;
51- impl : ResetMacTraits KeyInit ;
53+ impl : BaseFixedTraits MacMarker Reset FixedOutputReset KeyInit ;
5254) ;
5355
5456impl < D : EagerHash + AlgorithmName > AlgorithmName for HmacReset < D > {
You can’t perform that action at this time.
0 commit comments