rustmax
0.0.7
MacMarker
Implementations on Foreign Types
HmacCore<D>
SimpleHmac<D>
Implementors
In rustmax::
sha2::
digest
rustmax
::
sha2
::
digest
Trait
MacMarker
Copy item path
Source
pub trait MacMarker { }
Expand description
Marker trait for Message Authentication algorithms.
Implementations on Foreign Types
§
Source
§
impl<D>
MacMarker
for
HmacCore
<D>
where D:
CoreProxy
, <D as
CoreProxy
>::
Core
:
HashMarker
+
UpdateCore
+
FixedOutputCore
<BufferKind =
Eager
> +
BufferKindUser
+
Default
+
Clone
, <<D as
CoreProxy
>::
Core
as
BlockSizeUser
>::
BlockSize
:
IsLess
<
UInt
<
UInt
<
UInt
<
UInt
<
UInt
<
UInt
<
UInt
<
UInt
<
UInt
<
UTerm
,
B1
>,
B0
>,
B0
>,
B0
>,
B0
>,
B0
>,
B0
>,
B0
>,
B0
>>, <<<D as
CoreProxy
>::
Core
as
BlockSizeUser
>::
BlockSize
as
IsLess
<
UInt
<
UInt
<
UInt
<
UInt
<
UInt
<
UInt
<
UInt
<
UInt
<
UInt
<
UTerm
,
B1
>,
B0
>,
B0
>,
B0
>,
B0
>,
B0
>,
B0
>,
B0
>,
B0
>>>::
Output
:
NonZero
,
Source
§
impl<D>
MacMarker
for
SimpleHmac
<D>
where D:
Digest
+
BlockSizeUser
,
Implementors
§
Source
§
impl<T>
MacMarker
for
CoreWrapper
<T>
where T:
BufferKindUser
+
MacMarker
, <T as
BlockSizeUser
>::
BlockSize
:
IsLess
<
UInt
<
UInt
<
UInt
<
UInt
<
UInt
<
UInt
<
UInt
<
UInt
<
UInt
<
UTerm
,
B1
>,
B0
>,
B0
>,
B0
>,
B0
>,
B0
>,
B0
>,
B0
>,
B0
>>, <<T as
BlockSizeUser
>::
BlockSize
as
IsLess
<
UInt
<
UInt
<
UInt
<
UInt
<
UInt
<
UInt
<
UInt
<
UInt
<
UInt
<
UTerm
,
B1
>,
B0
>,
B0
>,
B0
>,
B0
>,
B0
>,
B0
>,
B0
>,
B0
>>>::
Output
:
NonZero
,
Source
§
impl<T>
MacMarker
for
RtVariableCoreWrapper
<T>
where T:
VariableOutputCore
+
MacMarker
, <T as
BlockSizeUser
>::
BlockSize
:
IsLess
<
UInt
<
UInt
<
UInt
<
UInt
<
UInt
<
UInt
<
UInt
<
UInt
<
UInt
<
UTerm
,
B1
>,
B0
>,
B0
>,
B0
>,
B0
>,
B0
>,
B0
>,
B0
>,
B0
>>, <<T as
BlockSizeUser
>::
BlockSize
as
IsLess
<
UInt
<
UInt
<
UInt
<
UInt
<
UInt
<
UInt
<
UInt
<
UInt
<
UInt
<
UTerm
,
B1
>,
B0
>,
B0
>,
B0
>,
B0
>,
B0
>,
B0
>,
B0
>,
B0
>>>::
Output
:
NonZero
,
Source
§
impl<T, OutSize, O>
MacMarker
for
CtVariableCoreWrapper
<T, OutSize, O>
where T:
VariableOutputCore
+
MacMarker
, OutSize:
ArrayLength
<
u8
> +
IsLessOrEqual
<<T as
OutputSizeUser
>::
OutputSize
>, <OutSize as
IsLessOrEqual
<<T as
OutputSizeUser
>::
OutputSize
>>::
Output
:
NonZero
, <T as
BlockSizeUser
>::
BlockSize
:
IsLess
<
UInt
<
UInt
<
UInt
<
UInt
<
UInt
<
UInt
<
UInt
<
UInt
<
UInt
<
UTerm
,
B1
>,
B0
>,
B0
>,
B0
>,
B0
>,
B0
>,
B0
>,
B0
>,
B0
>>, <<T as
BlockSizeUser
>::
BlockSize
as
IsLess
<
UInt
<
UInt
<
UInt
<
UInt
<
UInt
<
UInt
<
UInt
<
UInt
<
UInt
<
UTerm
,
B1
>,
B0
>,
B0
>,
B0
>,
B0
>,
B0
>,
B0
>,
B0
>,
B0
>>>::
Output
:
NonZero
,