diff --git a/openssl/src/aes.rs b/openssl/src/aes.rs index c26a026945d46ae41f2cad0cf41c6d65f2451880..2cda15b04ed2c480e14c5e8e2683515be88446aa 100644 --- a/openssl/src/aes.rs +++ b/openssl/src/aes.rs @@ -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]>,