pub struct RecordCipher {
aead: Aead,
salt: [u8; 4],
seq: u64,
}Expand description
一方向のレコード暗号(AES-GCM。RFC 5288)。nonce = 暗黙部 4 バイト + 明示部 8 バイト(= 通番)。
Fields§
§aead: Aead§salt: [u8; 4]§seq: u64Implementations§
Auto Trait Implementations§
impl Freeze for RecordCipher
impl RefUnwindSafe for RecordCipher
impl Send for RecordCipher
impl Sync for RecordCipher
impl Unpin for RecordCipher
impl UnsafeUnpin for RecordCipher
impl UnwindSafe for RecordCipher
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