From: "Daniel P. Berrangé" <berrange@redhat.com>
To: Dorjoy Chowdhury <dorjoychy111@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [PATCH v2 0/3] crypto: fix regression in hash result buffer handling
Date: Mon, 21 Oct 2024 17:15:17 +0100 [thread overview]
Message-ID: <ZxZ-FWjs1zlaD2Xm@redhat.com> (raw)
In-Reply-To: <CAFfO_h4qVKBS88LZmbG9-W70HeWmsCw40wG0zHKo7xMB=F=Owg@mail.gmail.com>
On Wed, Oct 16, 2024 at 07:33:56PM +0600, Dorjoy Chowdhury wrote:
> On Wed, Oct 16, 2024 at 4:20 PM Daniel P. Berrangé <berrange@redhat.com> wrote:
> >
> >
> >
> > Daniel P. Berrangé (3):
> > crypto/hash: avoid overwriting user supplied result pointer
> > tests: correctly validate result buffer in hash/hmac tests
> > include/crypto: clarify @result/@result_len for hash/hmac APIs
> >
> > crypto/hash-gcrypt.c | 15 ++++++++++++---
> > crypto/hash-glib.c | 11 +++++++++--
> > crypto/hash-gnutls.c | 16 +++++++++++++---
> > crypto/hash-nettle.c | 14 +++++++++++---
> > include/crypto/hash.h | 30 +++++++++++++++++++++++-------
> > include/crypto/hmac.h | 17 ++++++++++++-----
> > tests/unit/test-crypto-hash.c | 7 ++++---
> > tests/unit/test-crypto-hmac.c | 6 ++++--
> > 8 files changed, 88 insertions(+), 28 deletions(-)
> >
>
> Reviewed-by: Dorjoy Chowdhury <dorjoychy111@gmail.com>
>
>
> @Daniel the api documentation for "qcrypto_hash_bytesv" also needs to
> be updated.
Opps, yes, I'll make exactly the same docs change for that too, and
the equiv hmac API.
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 :|
prev parent reply other threads:[~2024-10-21 16:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-16 10:20 [PATCH v2 0/3] crypto: fix regression in hash result buffer handling Daniel P. Berrangé
2024-10-16 10:20 ` [PATCH v2 1/3] crypto/hash: avoid overwriting user supplied result pointer Daniel P. Berrangé
2024-10-16 10:20 ` [PATCH v2 2/3] tests: correctly validate result buffer in hash/hmac tests Daniel P. Berrangé
2024-10-16 10:20 ` [PATCH v2 3/3] include/crypto: clarify @result/@result_len for hash/hmac APIs Daniel P. Berrangé
2024-10-16 13:33 ` [PATCH v2 0/3] crypto: fix regression in hash result buffer handling Dorjoy Chowdhury
2024-10-21 16:15 ` Daniel P. Berrangé [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZxZ-FWjs1zlaD2Xm@redhat.com \
--to=berrange@redhat.com \
--cc=dorjoychy111@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.