pub struct AsconCore { /* private fields */ }Expand description
Ascon hash implementation
Trait Implementations§
Source§impl AlgorithmName for AsconCore
impl AlgorithmName for AsconCore
Source§impl BlockSizeUser for AsconCore
impl BlockSizeUser for AsconCore
Source§impl BufferKindUser for AsconCore
impl BufferKindUser for AsconCore
Source§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 OutputSizeUser for AsconCore
impl OutputSizeUser for AsconCore
Source§impl SerializableState for AsconCore
impl SerializableState for AsconCore
Source§type SerializedStateSize = UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>, B0>
type SerializedStateSize = UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>, B0>
Size of serialized internal state.
Source§fn serialize(&self) -> SerializedState<Self>
fn serialize(&self) -> SerializedState<Self>
Serialize and return internal state.
Source§fn deserialize(
serialized_state: &SerializedState<Self>,
) -> Result<Self, DeserializeStateError>
fn deserialize( serialized_state: &SerializedState<Self>, ) -> Result<Self, DeserializeStateError>
Create an object from serialized internal state. Read more
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.
impl HashMarker for AsconCore
impl ZeroizeOnDrop for AsconCore
Available on crate feature
zeroize only.Auto Trait Implementations§
impl Freeze for AsconCore
impl RefUnwindSafe for AsconCore
impl Send for AsconCore
impl Sync for AsconCore
impl Unpin for AsconCore
impl UnsafeUnpin for AsconCore
impl UnwindSafe for AsconCore
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> SmallBlockSizeUser for T
impl<T> SmallBlockSizeUser for T
Source§type _BlockSize = <T as BlockSizeUser>::BlockSize
type _BlockSize = <T as BlockSizeUser>::BlockSize
Helper associated type equal to
<Self as BlockSizeUser>::BlockSize.