[−][src]Struct merlin::strobe::Strobe128
A Strobe context for the 128-bit security level.
Only meta-AD
, AD
, KEY
, and PRF
operations are supported.
Fields
state: AlignedKeccakState
pos: u8
pos_begin: u8
cur_flags: u8
Methods
impl Strobe128
[src][−]
pub fn new(protocol_label: &[u8]) -> Strobe128
[src]
pub fn meta_ad(&mut self, data: &[u8], more: bool)
[src]
pub fn ad(&mut self, data: &[u8], more: bool)
[src]
pub fn prf(&mut self, data: &mut [u8], more: bool)
[src]
pub fn key(&mut self, data: &[u8], more: bool)
[src]
impl Strobe128
[src][−]
fn run_f(&mut self)
[src]
fn absorb(&mut self, data: &[u8])
[src]
fn overwrite(&mut self, data: &[u8])
[src]
fn squeeze(&mut self, data: &mut [u8])
[src]
fn begin_op(&mut self, flags: u8, more: bool)
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Strobe128
impl Send for Strobe128
impl Sync for Strobe128
impl Unpin for Strobe128
impl UnwindSafe for Strobe128
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<Z> Zeroize for Z where
Z: DefaultIsZeroes,
[src][+]
Z: DefaultIsZeroes,