pub struct CryptoFooter {
pub common_mac: [u8; 16],
pub receiver_specific_macs: Vec<([u8; 4], [u8; 16])>,
}Expand description
Spec §10.5.2.4 CryptoFooter — enthaelt Auth-Tag + Receiver-
Specific-MAC-Liste. Wir liefern nur den minimalen Common-Tag.
Fields§
§common_mac: [u8; 16]Common 16-Byte AES-GCM/GMAC Authentication-Tag.
receiver_specific_macs: Vec<([u8; 4], [u8; 16])>Receiver-Specific-MACs (Spec §10.5.2.4 — pro Empfaenger ein 4-Byte-Key-Id + 16-Byte-Tag; voll abgedeckt in WP A.6).
Implementations§
Trait Implementations§
Source§fn clone(&self) -> CryptoFooter
fn clone(&self) -> CryptoFooter
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§fn eq(&self, other: &CryptoFooter) -> bool
fn eq(&self, other: &CryptoFooter) -> bool
Tests for
self and other values to be equal, and is used by ==.Auto Trait Implementations§
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