From: Eric Blake <eblake@redhat.com>
To: "Daniel P. Berrangé" <berrange@redhat.com>
Cc: qemu-devel@nongnu.org,
"Philippe Mathieu-Daudé" <philmd@oss.qualcomm.com>
Subject: Re: [PATCH v2 4/4] tests/unit: register one test per hash/hmac algorithm
Date: Fri, 4 Dec 2026 13:57:43 -0600 [thread overview]
Message-ID: <axMaJ8XDBPNR9zj-@redhat.com> (raw)
In-Reply-To: <20261102122343.3348956-5-berrange@redhat.com>
On Mon, Nov 02, 2026 at 12:23:43PM +0000, Daniel P. Berrangé wrote:
> The hash/hmac tests iterate over all support algorithms testing
> each one in turn, but this is not visible from the test output.
> Register one test per algorithm so the test result directly
> reflect what algorithms were tested. This is useful information
> since different crypto backends support different subsets of
> algorithms.
>
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> ---
> tests/unit/test-crypto-hash.c | 315 ++++++++++++++++------------------
> tests/unit/test-crypto-hmac.c | 268 ++++++++++++++---------------
> 2 files changed, 271 insertions(+), 312 deletions(-)
Lengthy! But the cover letter did indeed have a nice hint for
reviewing with -b.
Reviewed-by: Eric Blake <eblake@redhat.com>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc.
Virtualization: qemu.org | libguestfs.org
next prev parent reply other threads:[~2026-12-04 19:58 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-02 12:23 [PATCH v2 0/4] crypto: robustness fixes to handling of SM3 hash Daniel P. Berrangé
2026-11-02 12:23 ` [PATCH v2 1/4] crypto: set default initializer hmac/hash arrays to -1 Daniel P. Berrangé
2026-12-04 19:51 ` Eric Blake
2026-11-02 12:23 ` [PATCH v2 2/4] crypto: unconditionally report SM3 hash length Daniel P. Berrangé
2026-12-04 19:52 ` Eric Blake
2026-11-02 12:23 ` [PATCH v2 3/4] tests/unit: drop conditionals for SM3 Daniel P. Berrangé
2026-12-04 19:53 ` Eric Blake
2026-11-02 12:23 ` [PATCH v2 4/4] tests/unit: register one test per hash/hmac algorithm Daniel P. Berrangé
2026-12-04 19:57 ` Eric Blake [this message]
2026-11-12 18:00 ` [PATCH v2 0/4] crypto: robustness fixes to handling of SM3 hash Daniel P. Berrangé
2026-12-04 14:00 ` Daniel P. Berrangé
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=axMaJ8XDBPNR9zj-@redhat.com \
--to=eblake@redhat.com \
--cc=berrange@redhat.com \
--cc=philmd@oss.qualcomm.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.