On Fri, Oct 31, 2025 at 10:09:30AM +0100, Philippe Mathieu-Daudé wrote:
> Cryptographic hash function can operate on any area of memory,
> regardless of the content their represent. Do not restrict to
> array of char, use the void* type, which is also the type of
> the underlying iovec::iov_base field.
> 
> Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
> ---
>  include/crypto/hash.h |  8 ++++----
>  include/crypto/hmac.h |  4 ++--
>  crypto/hash.c         | 16 ++++++++--------
>  crypto/hmac.c         |  8 ++++----
>  4 files changed, 18 insertions(+), 18 deletions(-)

Reviewed-by: Daniel P. Berrangé <[email protected]>


With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|


Reply via email to