Struct gost94::Gost94Core
source · [−]pub struct Gost94Core<P: Gost94Params> { /* private fields */ }
Expand description
Core GOST94 algorithm generic over parameters.
Trait Implementations
sourceimpl<P: Gost94Params> AlgorithmName for Gost94Core<P>
impl<P: Gost94Params> AlgorithmName for Gost94Core<P>
sourcefn write_alg_name(f: &mut Formatter<'_>) -> Result
fn write_alg_name(f: &mut Formatter<'_>) -> Result
Write algorithm name into
f
.sourceimpl<P: Gost94Params> BlockSizeUser for Gost94Core<P>
impl<P: Gost94Params> BlockSizeUser for Gost94Core<P>
sourceimpl<P: Gost94Params> BufferKindUser for Gost94Core<P>
impl<P: Gost94Params> BufferKindUser for Gost94Core<P>
type BufferKind = Eager
type BufferKind = Eager
Block buffer kind over which type operates.
sourceimpl<P: Clone + Gost94Params> Clone for Gost94Core<P>
impl<P: Clone + Gost94Params> Clone for Gost94Core<P>
sourcefn clone(&self) -> Gost94Core<P>
fn clone(&self) -> Gost94Core<P>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<P: Gost94Params> Debug for Gost94Core<P>
impl<P: Gost94Params> Debug for Gost94Core<P>
sourceimpl<P: Gost94Params> Default for Gost94Core<P>
impl<P: Gost94Params> Default for Gost94Core<P>
sourceimpl<P: Gost94Params> FixedOutputCore for Gost94Core<P>
impl<P: Gost94Params> FixedOutputCore for Gost94Core<P>
sourcefn 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. Read moresourceimpl<P: Gost94Params> OutputSizeUser for Gost94Core<P>
impl<P: Gost94Params> OutputSizeUser for Gost94Core<P>
sourceimpl<P: Gost94Params> Reset for Gost94Core<P>
impl<P: Gost94Params> Reset for Gost94Core<P>
sourceimpl<P: Gost94Params> UpdateCore for Gost94Core<P>
impl<P: Gost94Params> UpdateCore for Gost94Core<P>
sourcefn update_blocks(&mut self, blocks: &[TBlock<Self>])
fn update_blocks(&mut self, blocks: &[TBlock<Self>])
Update state using the provided data blocks.
impl<P: Gost94Params> HashMarker for Gost94Core<P>
Auto Trait Implementations
impl<P> RefUnwindSafe for Gost94Core<P>where
P: RefUnwindSafe,
impl<P> Send for Gost94Core<P>where
P: Send,
impl<P> Sync for Gost94Core<P>where
P: Sync,
impl<P> Unpin for Gost94Core<P>where
P: Unpin,
impl<P> UnwindSafe for Gost94Core<P>where
P: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more