Merge pull request #1311 from Solumin/patch-1
Fix documentation for unwrap_key
This commit is contained in:
commit
94e70e09ea
|
|
@ -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