Merge pull request #1311 from Solumin/patch-1

Fix documentation for unwrap_key
This commit is contained in:
Steven Fackler 2020-07-03 19:28:13 -04:00 committed by GitHub
commit 94e70e09ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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]>,