Function luks2::af::merge[][src]

pub fn merge(src: &[u8], blocksize: usize, blocknumbers: usize) -> Vec<u8>
Expand description

Recovers information from data that was split with cryptsetup’s afsplitter implementation.

The blocksize and blocknumber values must be the same as when splitting the information. Only SHA-256 is supported (which is was cryptsetup uses).