Skip to main content

decrypt_metadata

Function decrypt_metadata 

Source
pub fn decrypt_metadata(header: &VolumeHeader, ciphertext: &mut [u8])
Expand description

Decrypt an encrypted-metadata region in place over 8192-byte AES-XTS-128 units, tweak = 0-based unit index. Only whole units are decrypted; a trailing partial (never present for a valid region) is left untouched.