pub struct RomulusMAead;Expand description
Stateless Romulus-M facade using lib_q_core::Aead.
Implementations§
Trait Implementations§
Source§impl Aead for RomulusMAead
impl Aead for RomulusMAead
Source§impl AeadDecryptSemantic for RomulusMAead
impl AeadDecryptSemantic for RomulusMAead
Source§fn decrypt_semantic(
&self,
key: &AeadKey,
nonce: &Nonce,
ciphertext: &[u8],
associated_data: Option<&[u8]>,
) -> Result<DecryptSemanticOutcome>
fn decrypt_semantic( &self, key: &AeadKey, nonce: &Nonce, ciphertext: &[u8], associated_data: Option<&[u8]>, ) -> Result<DecryptSemanticOutcome>
Decrypt and classify the outcome without overloading
Result for auth failure.Auto Trait Implementations§
impl Freeze for RomulusMAead
impl RefUnwindSafe for RomulusMAead
impl Send for RomulusMAead
impl Sync for RomulusMAead
impl Unpin for RomulusMAead
impl UnsafeUnpin for RomulusMAead
impl UnwindSafe for RomulusMAead
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