pub struct BlockCipher {
pub iv: Vec<u8>,
pub input: Vec<u8>,
pub key: Vec<u8>,
pub key1: Vec<u8>,
pub key2: Vec<u8>,
pub key3: Vec<u8>,
/* private fields */
}Fields§
§iv: Vec<u8>§input: Vec<u8>§key: Vec<u8>§key1: Vec<u8>§key2: Vec<u8>§key3: Vec<u8>Implementations§
Source§impl BlockCipher
impl BlockCipher
pub fn set_aft_result(&mut self, out: Vec<u8>)
pub fn set_mct_result( &mut self, outvec: Vec<BlkCipherMCTOutput>, ) -> AcvpResult<()>
Trait Implementations§
Source§impl Clone for BlockCipher
impl Clone for BlockCipher
Source§fn clone(&self) -> BlockCipher
fn clone(&self) -> BlockCipher
Returns a duplicate 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 moreSource§impl Debug for BlockCipher
impl Debug for BlockCipher
Source§impl PartialEq for BlockCipher
impl PartialEq for BlockCipher
Source§impl TestCase for BlockCipher
impl TestCase for BlockCipher
fn new(testjson: &str, tgdata: &TestGroupData) -> AcvpResult<Self>
fn get_result(&self) -> AcvpResult<JsonValue>
fn dump_result(&self) -> AcvpResult<String>
fn pretty_result(&self) -> AcvpResult<String>
Source§impl TestResult<Vec<BlkCipherMCTOutput>> for BlockCipher
impl TestResult<Vec<BlkCipherMCTOutput>> for BlockCipher
fn set_result(&mut self, res: Vec<BlkCipherMCTOutput>) -> AcvpResult<()>
Source§impl TestResult<Vec<u8>> for BlockCipher
impl TestResult<Vec<u8>> for BlockCipher
fn set_result(&mut self, res: Vec<u8>) -> AcvpResult<()>
impl Eq for BlockCipher
impl StructuralPartialEq for BlockCipher
Auto Trait Implementations§
impl Freeze for BlockCipher
impl RefUnwindSafe for BlockCipher
impl Send for BlockCipher
impl Sync for BlockCipher
impl Unpin for BlockCipher
impl UnwindSafe for BlockCipher
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