From: linuxtestproject.agent@gmail.com
To: Frank Ranner <frank.ranner@intel.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] testcases/kernel/crypto/crypto_user02.c: try non-generic hmac names first
Date: Wed, 12 Aug 2026 13:09:30 +0000 [thread overview]
Message-ID: <20260812130930.9202-1-linuxtestproject.agent@gmail.com> (raw)
In-Reply-To: <20260812112737.2222475-1-frank.ranner@intel.com>
Hi Frank,
On Wed, 12 Aug 2026, Frank Ranner wrote:
> testcases/kernel/crypto/crypto_user02.c: try non-generic hmac names first
> + "hmac(sha1)",
> + "hmac(sha224)",
> + "hmac(sha256)",
> + "hmac(sha384)",
> + "hmac(md5)",
> + "hmac(sm3)",
> + "hmac(sha512)",
> + "hmac(rmd160)",
> + "hmac(sha3-224)",
> + "hmac(sha3-256)",
> + "hmac(sha3-384)",
> + "hmac(sha3-512)",
> + "hmac(streebog256)",
> + "hmac(streebog512)",
[Major] Could these be replaced with actual deletable instance driver names?
The strings are copied into cru_driver_name, but these new values are
algorithm names.
On Linux 7.2, CRYPTO_MSG_NEWALG first misses the exact driver-name lookup
for "hmac(sha256)", then finds the non-instance "hmac-sha256-lib" driver by
its cra_name and returns success. CRYPTO_MSG_DELALG subsequently requires an
exact driver-name match, cannot find "hmac(sha256)", and returns ENOENT.
Consequently, the setup loop rejects every newly added candidate and still
reaches TCONF when the legacy *-generic instances are absent. The 7.2 HMAC
shash template instead produces deletable hmac-shash(<driver>) instance
names.
Verdict - Needs revision
---
Note:
The agent can sometimes produce false positives although often its
findings are genuine. If you find issues with the review, please
comment this email or ignore the suggestions.
Regards,
LTP AI Reviewer
--
Mailing list info: https://lists.linux.it/listinfo/ltp
prev parent reply other threads:[~2026-08-12 13:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-12 11:27 [LTP] [PATCH ltp] testcases/kernel/crypto/crypto_user02.c: try non-generic hmac names first Frank Ranner
2026-08-12 13:09 ` linuxtestproject.agent [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=20260812130930.9202-1-linuxtestproject.agent@gmail.com \
--to=linuxtestproject.agent@gmail.com \
--cc=frank.ranner@intel.com \
--cc=ltp@lists.linux.it \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox