binary_ff1/
error.rs

1/// Errors related to FF1 encryption.
2#[derive(Debug, Copy, Clone, Eq, PartialEq)]
3pub enum Error {
4    /// Input length is not the same as the length defined in the
5    /// [`BinaryFF1`](crate::BinaryFF1) structure.
6    InvalidInputLength,
7    /// Scratch buffer too small for desired input length.
8    ScratchTooSmall,
9}