pub struct AesParameters {
pub key: EncryptionKey,
pub plaintext_data: PlaintextBlock,
}
Expand description
Parameters for the le_encrypt
command.
Fields§
§key: EncryptionKey
Key for the encryption of the data given in the command.
The most significant (last) octet of the key corresponds to key[0]
using the notation
specified in FIPS 197.
plaintext_data: PlaintextBlock
Data block that is requested to be encrypted.
The most significant (last) octet of the PlainText_Data corresponds to in[0]
using the
notation specified in FIPS 197.
Trait Implementations§
Source§impl Clone for AesParameters
impl Clone for AesParameters
Source§fn clone(&self) -> AesParameters
fn clone(&self) -> AesParameters
Returns a copy 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 AesParameters
impl RefUnwindSafe for AesParameters
impl Send for AesParameters
impl Sync for AesParameters
impl Unpin for AesParameters
impl UnwindSafe for AesParameters
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