struct AwsLcHkdf(Algorithm, Algorithm);
Tuple Fields§
§0: Algorithm
§1: Algorithm
Trait Implementations§
Source§impl Hkdf for AwsLcHkdf
impl Hkdf for AwsLcHkdf
Source§fn extract_from_zero_ikm(&self, salt: Option<&[u8]>) -> Box<dyn HkdfExpander>
fn extract_from_zero_ikm(&self, salt: Option<&[u8]>) -> Box<dyn HkdfExpander>
HKDF-Extract(salt, 0_HashLen)
Read moreSource§fn extract_from_secret(
&self,
salt: Option<&[u8]>,
secret: &[u8],
) -> Box<dyn HkdfExpander>
fn extract_from_secret( &self, salt: Option<&[u8]>, secret: &[u8], ) -> Box<dyn HkdfExpander>
HKDF-Extract(salt, secret)
Read moreSource§fn expander_for_okm(&self, okm: &OkmBlock) -> Box<dyn HkdfExpander>
fn expander_for_okm(&self, okm: &OkmBlock) -> Box<dyn HkdfExpander>
Build a
HkdfExpander
using okm
as the secret PRK.Auto Trait Implementations§
impl Freeze for AwsLcHkdf
impl RefUnwindSafe for AwsLcHkdf
impl Send for AwsLcHkdf
impl Sync for AwsLcHkdf
impl Unpin for AwsLcHkdf
impl UnwindSafe for AwsLcHkdf
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