pub struct AsconXofCore { /* private fields */ }Expand description
Ascon XOF
Trait Implementations§
Source§impl AlgorithmName for AsconXofCore
impl AlgorithmName for AsconXofCore
Source§impl BlockSizeUser for AsconXofCore
impl BlockSizeUser for AsconXofCore
Source§impl BufferKindUser for AsconXofCore
impl BufferKindUser for AsconXofCore
Source§type BufferKind = Eager
type BufferKind = Eager
Block buffer kind over which type operates.
Source§impl Clone for AsconXofCore
impl Clone for AsconXofCore
Source§fn clone(&self) -> AsconXofCore
fn clone(&self) -> AsconXofCore
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AsconXofCore
impl Debug for AsconXofCore
Source§impl Default for AsconXofCore
impl Default for AsconXofCore
Source§fn default() -> AsconXofCore
fn default() -> AsconXofCore
Returns the “default value” for a type. Read more
Source§impl ExtendableOutputCore for AsconXofCore
impl ExtendableOutputCore for AsconXofCore
Source§type ReaderCore = AsconXofReaderCore
type ReaderCore = AsconXofReaderCore
XOF reader core state.
Source§fn finalize_xof_core(&mut self, buffer: &mut Buffer<Self>) -> Self::ReaderCore
fn finalize_xof_core(&mut self, buffer: &mut Buffer<Self>) -> Self::ReaderCore
Retrieve XOF reader using remaining data stored in the block buffer
and leave hasher in a dirty state.
Source§impl SerializableState for AsconXofCore
impl SerializableState for AsconXofCore
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 AsconXofCore
impl UpdateCore for AsconXofCore
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 AsconXofCore
impl ZeroizeOnDrop for AsconXofCore
Available on crate feature
zeroize only.Auto Trait Implementations§
impl Freeze for AsconXofCore
impl RefUnwindSafe for AsconXofCore
impl Send for AsconXofCore
impl Sync for AsconXofCore
impl Unpin for AsconXofCore
impl UnsafeUnpin for AsconXofCore
impl UnwindSafe for AsconXofCore
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.