INNER CODE UNIT · Rust

set_key

tlsnotary/tlsn · crates/components/cipher/src/lib.rs:45

    fn set_key(&mut self, key: Self::Key);

    /// Sets the initialization vector.
    fn set_iv(&mut self, iv: Self::Iv);

    /// Returns the key reference.
    fn key(&self) -> Option<&Self::Key>;

    /// Returns the iv reference.
    fn iv(&self) -> Option<&Self::Iv>;

    /// Allocates a single block in ECB mode.
    fn alloc_block(
        &mut self,
        vm: &mut dyn Vm<Binary>,
        input: Self::Block,
    ) -> Result<Self::Block, Self::Error>;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…