On 24/8/25 09:18, Jan Kiszka wrote:
From: Jan Kiszka <[email protected]>

If the buffers that should be considered for building the hmac are not
available at the same time, the current API is unsuitable. Extend it so
that passing a NULL pointer as result_len is used as indicator that
further buffers will be passed in succeeding calls to
qcrypto_gnutls_hmac_bytes[v].

Signed-off-by: Jan Kiszka <[email protected]>
---
Cc: "Daniel P. Berrangé" <[email protected]>
---
  crypto/hmac-gcrypt.c  |  4 +++-
  crypto/hmac-glib.c    |  4 +++-
  crypto/hmac-gnutls.c  |  4 +++-
  crypto/hmac-nettle.c  |  4 +++-
  include/crypto/hmac.h | 12 ++++++++++++
  5 files changed, 24 insertions(+), 4 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>


Reply via email to