pub struct Aes256Ctr(_);
Expand description
AES 256 in counter mode as used by Tor.
Trait Implementations
sourceimpl InnerIvInit for Aes256Ctr
impl InnerIvInit for Aes256Ctr
sourcefn inner_iv_init(
inner: Self::Inner,
iv: &GenericArray<u8, Self::IvSize>
) -> Self
fn inner_iv_init(
inner: Self::Inner,
iv: &GenericArray<u8, Self::IvSize>
) -> Self
Initialize value using inner
and iv
array.
sourcefn inner_iv_slice_init(
inner: Self::Inner,
iv: &[u8]
) -> Result<Self, InvalidLength>
fn inner_iv_slice_init(
inner: Self::Inner,
iv: &[u8]
) -> Result<Self, InvalidLength>
Initialize value using inner
and iv
slice.
sourceimpl IvSizeUser for Aes256Ctr
impl IvSizeUser for Aes256Ctr
sourceimpl StreamCipher for Aes256Ctr
impl StreamCipher for Aes256Ctr
sourcefn try_apply_keystream_inout(
&mut self,
buf: InOutBuf<'_, '_, u8>
) -> Result<(), StreamCipherError>
fn try_apply_keystream_inout(
&mut self,
buf: InOutBuf<'_, '_, u8>
) -> Result<(), StreamCipherError>
Apply keystream to inout
data. Read more
sourcefn try_apply_keystream(
&mut self,
buf: &mut [u8]
) -> Result<(), StreamCipherError>
fn try_apply_keystream(
&mut self,
buf: &mut [u8]
) -> Result<(), StreamCipherError>
Apply keystream to data behind buf
. Read more
sourcefn apply_keystream_inout(&mut self, buf: InOutBuf<'_, '_, u8>)
fn apply_keystream_inout(&mut self, buf: InOutBuf<'_, '_, u8>)
Apply keystream to inout
data. Read more
Auto Trait Implementations
impl RefUnwindSafe for Aes256Ctr
impl Send for Aes256Ctr
impl Sync for Aes256Ctr
impl Unpin for Aes256Ctr
impl UnwindSafe for Aes256Ctr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more