MCPcopy Create free account
hub / github.com/RustCrypto/SSH / new_from_slice

Method new_from_slice

ssh-cipher/src/block_cipher/state.rs:33–35  ·  view source on GitHub ↗

Initialize state for a particular block cipher mode of operation, with the initialization vector provided as a slice. # Errors Returns [`Error::Length`] in the event the IV is the wrong size.

(mode: BlockMode, iv: &[u8])

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected