diff --git a/aead/src/lib.rs b/aead/src/lib.rs index 2a3560c21..dc7f6bce1 100644 --- a/aead/src/lib.rs +++ b/aead/src/lib.rs @@ -85,10 +85,6 @@ pub trait AeadCore { /// The maximum length of the tag. type TagSize: ArraySize; - /// The upper bound amount of additional space required to support a - /// ciphertext vs. a plaintext. - type CiphertextOverhead: ArraySize + Unsigned; - /// Generate a random nonce for this AEAD algorithm. /// /// AEAD algorithms accept a parameter to encryption/decryption called @@ -575,11 +571,9 @@ mod tests { /// Ensure that `AeadInPlace` is object-safe #[allow(dead_code)] - type DynAeadInPlace = - dyn AeadInPlace; + type DynAeadInPlace = dyn AeadInPlace; /// Ensure that `AeadMutInPlace` is object-safe #[allow(dead_code)] - type DynAeadMutInPlace = - dyn AeadMutInPlace; + type DynAeadMutInPlace = dyn AeadMutInPlace; }