pub fn create_iv_buffer(data: &[u8]) -> Result<IvBuffer, &'static str>
Create an IV buffer from a slice