Unverified Commit 94e70e09 authored by Steven Fackler's avatar Steven Fackler Committed by GitHub
Browse files

Merge pull request #1311 from Solumin/patch-1

Fix documentation for unwrap_key
parents 70b21ed6 6f5ce4b4
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]>,