Trait coins_bip32::ecdsa::signature::digest::core_api::FixedOutputCore
source · pub trait FixedOutputCore:
UpdateCore
+ BufferKindUser
+ OutputSizeUserwhere
Self::BlockSize: IsLess<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>,
<Self::BlockSize as IsLess<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>>::Output: NonZero,{
// Required method
fn finalize_fixed_core(
&mut self,
buffer: &mut BlockBuffer<Self::BlockSize, Self::BufferKind>,
out: &mut GenericArray<u8, Self::OutputSize>,
);
}
Expand description
Core trait for hash functions with fixed output size.
Required Methods§
sourcefn finalize_fixed_core(
&mut self,
buffer: &mut BlockBuffer<Self::BlockSize, Self::BufferKind>,
out: &mut GenericArray<u8, Self::OutputSize>,
)
fn finalize_fixed_core( &mut self, buffer: &mut BlockBuffer<Self::BlockSize, Self::BufferKind>, out: &mut GenericArray<u8, Self::OutputSize>, )
Finalize state using remaining data stored in the provided block buffer,
write result into provided array and leave self
in a dirty state.
Object Safety§
This trait is not object safe.