pub struct LibQHashProvider { /* private fields */ }Expand description
lib-Q hash provider implementation
This provider implements hash operations for lib-Q, including hash computation with proper security validation and algorithm routing.
Implementations§
Source§impl LibQHashProvider
impl LibQHashProvider
Sourcepub fn new() -> Result<LibQHashProvider, Error>
pub fn new() -> Result<LibQHashProvider, Error>
Sourcepub fn security_validator(&self) -> &SecurityValidator
pub fn security_validator(&self) -> &SecurityValidator
Get the security validator
Trait Implementations§
Source§impl Clone for LibQHashProvider
impl Clone for LibQHashProvider
Source§fn clone(&self) -> LibQHashProvider
fn clone(&self) -> LibQHashProvider
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl CryptoProvider for LibQHashProvider
Available on crate feature alloc only.
impl CryptoProvider for LibQHashProvider
Available on crate feature
alloc only.fn kem(&self) -> Option<&dyn KemOperations>
fn signature(&self) -> Option<&dyn SignatureOperations>
fn hash(&self) -> Option<&dyn HashOperations>
fn aead(&self) -> Option<&dyn AeadOperations>
Source§impl Debug for LibQHashProvider
Available on crate feature alloc only.
impl Debug for LibQHashProvider
Available on crate feature
alloc only.Auto Trait Implementations§
impl Freeze for LibQHashProvider
impl RefUnwindSafe for LibQHashProvider
impl Send for LibQHashProvider
impl Sync for LibQHashProvider
impl Unpin for LibQHashProvider
impl UnsafeUnpin for LibQHashProvider
impl UnwindSafe for LibQHashProvider
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more