pub trait OutputSizeUser {
    type OutputSize: 'static + ArrayLength<u8>;

    fn output_size() -> usize { ... }
}
Expand description

Types which return data with the given size.

Required Associated Types§

Size of the output in bytes.

Provided Methods§

Return output size in bytes.

Implementors§

impl<OutSize> OutputSizeUser for Blake2bMac<OutSize>where
    OutSize: ArrayLength<u8> + IsLessOrEqual<U64> + 'static,
    LeEq<OutSize, U64>: NonZero,

impl<OutSize> OutputSizeUser for Blake2sMac<OutSize>where
    OutSize: ArrayLength<u8> + IsLessOrEqual<U32> + 'static,
    LeEq<OutSize, U32>: NonZero,