diff --git a/blake2/src/macros.rs b/blake2/src/macros.rs index ece46e718..ef3e02997 100644 --- a/blake2/src/macros.rs +++ b/blake2/src/macros.rs @@ -358,7 +358,7 @@ macro_rules! blake2_mac_impl { impl OutputSizeUser for $name where - OutSize: ArrayLength + IsLessOrEqual<$max_size>, + OutSize: ArrayLength + IsLessOrEqual<$max_size> + 'static, LeEq: NonZero, { type OutputSize = OutSize; @@ -366,7 +366,7 @@ macro_rules! blake2_mac_impl { impl FixedOutput for $name where - OutSize: ArrayLength + IsLessOrEqual<$max_size>, + OutSize: ArrayLength + IsLessOrEqual<$max_size> + 'static, LeEq: NonZero, { #[inline]