pub struct BlockCipherParameter {
pub iv: Vec<u8>,
pub padding_type: u8,
pub feed_bit_len: u32,
}
Expand description
Block cipher parameter,wrapper of BlockCipherParam
Fields§
§iv: Vec<u8>
IV data,max 32 bytes,Empty means no IV
padding_type: u8
padding type,
- 0: None
- 1: PKCS7
feed_bit_len: u32
Trait Implementations§
Source§impl Debug for BlockCipherParameter
impl Debug for BlockCipherParameter
Source§impl Default for BlockCipherParameter
impl Default for BlockCipherParameter
Source§fn default() -> BlockCipherParameter
fn default() -> BlockCipherParameter
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BlockCipherParameter
impl RefUnwindSafe for BlockCipherParameter
impl Send for BlockCipherParameter
impl Sync for BlockCipherParameter
impl Unpin for BlockCipherParameter
impl UnwindSafe for BlockCipherParameter
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