On 24/8/25 09:18, Jan Kiszka wrote:
From: Jan Kiszka <jan.kis...@siemens.com>

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 <jan.kis...@siemens.com>
---
Cc: "Daniel P. Berrangé" <berra...@redhat.com>
---
  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é <phi...@linaro.org>


Reply via email to