pub struct SEIPv2Schedule { /* private fields */ }Expand description
The key, nonce, and AAD schedule for the version 2 SEIPD packet.
Implementations§
Source§impl SEIPv2Schedule
impl SEIPv2Schedule
Sourcepub fn new(
session_key: &SessionKey,
sym_algo: SymmetricAlgorithm,
aead: AEADAlgorithm,
chunk_size: usize,
salt: &[u8],
) -> Result<Self>
pub fn new( session_key: &SessionKey, sym_algo: SymmetricAlgorithm, aead: AEADAlgorithm, chunk_size: usize, salt: &[u8], ) -> Result<Self>
Creates a new schedule to encrypt or decrypt version 2 SEIPD packets.
Trait Implementations§
Source§impl Clone for SEIPv2Schedule
impl Clone for SEIPv2Schedule
Source§fn clone(&self) -> SEIPv2Schedule
fn clone(&self) -> SEIPv2Schedule
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SEIPv2Schedule
impl RefUnwindSafe for SEIPv2Schedule
impl Send for SEIPv2Schedule
impl Sync for SEIPv2Schedule
impl Unpin for SEIPv2Schedule
impl UnwindSafe for SEIPv2Schedule
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