Fix documentation for unwrap_key

The documentation incorrectly stated the length requirements for the input parameters.
This commit is contained in:
Teddy Sudol 2020-07-03 15:39:04 -07:00 committed by GitHub
parent 70b21ed671
commit 6f5ce4b49a
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
/// ///
/// Panics if either `out` or `in_` do not have sizes that are a multiple of 8, or /// 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( pub fn unwrap_key(
key: &AesKey, key: &AesKey,
iv: Option<[u8; 8]>, iv: Option<[u8; 8]>,