Unverified Commit 6f5ce4b4 authored by Teddy Sudol's avatar Teddy Sudol Committed by GitHub
Browse files

Fix documentation for unwrap_key

The documentation incorrectly stated the length requirements for the input parameters.
parent 70b21ed6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -208,7 +208,7 @@ pub fn wrap_key(
/// # Panics
///
/// Panics if either `out` or `in_` do not have sizes that are a multiple of 8, or
/// if `in` is not 8 bytes longer than `in_`
/// if `in_` is not 8 bytes longer than `out`
pub fn unwrap_key(
    key: &AesKey,
    iv: Option<[u8; 8]>,