Fix documentation for unwrap_key
The documentation incorrectly stated the length requirements for the input parameters.
This commit is contained in:
parent
70b21ed671
commit
6f5ce4b49a
|
|
@ -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]>,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue