Struct ascon_hash::AsconCore
source · pub struct AsconCore { /* private fields */ }Expand description
Ascon hash implementation
Trait Implementations§
source§impl AlgorithmName for AsconCore
impl AlgorithmName for AsconCore
source§fn write_alg_name(f: &mut Formatter<'_>) -> Result
fn write_alg_name(f: &mut Formatter<'_>) -> Result
Write algorithm name into
f.source§impl BufferKindUser for AsconCore
impl BufferKindUser for AsconCore
§type BufferKind = Eager
type BufferKind = Eager
Block buffer kind over which type operates.
source§impl FixedOutputCore for AsconCore
impl FixedOutputCore for AsconCore
source§fn finalize_fixed_core(
&mut self,
buffer: &mut Buffer<Self>,
out: &mut Output<Self>
)
fn finalize_fixed_core( &mut self, buffer: &mut Buffer<Self>, out: &mut Output<Self> )
Finalize state using remaining data stored in the provided block buffer,
write result into provided array and leave
self in a dirty state.source§impl UpdateCore for AsconCore
impl UpdateCore for AsconCore
source§fn update_blocks(&mut self, blocks: &[Block<Self>])
fn update_blocks(&mut self, blocks: &[Block<Self>])
Update state using the provided data blocks.