From: Eric Biggers <ebiggers@kernel.org>
To: Anggara Putra <anggaraputra87.ap@gmail.com>
Cc: "linux-crypto@vger.kernel.org" <linux-crypto@vger.kernel.org>,
"Jason@zx2c4.com" <Jason@zx2c4.com>,
"ardb@kernel.org" <ardb@kernel.org>,
"linux-hardening@vger.kernel.org"
<linux-hardening@vger.kernel.org>
Subject: Re: [PATCH] crypto: polyval - Mark binary test vectors as nonstrings
Date: Sat, 5 Dec 2026 12:42:54 -0800 [thread overview]
Message-ID: <20261205204254.GB3189@quark> (raw)
In-Reply-To: <CALo22m2Qt5EyzKGDz4_wwitYUf-Xg+J3h4a-Q_4140sgM_Rj7Q@mail.gmail.com>
On Sat, Dec 05, 2026 at 08:01:30PM +0700, Anggara Putra wrote:
> The RFC 8452 key, input and digest are fixed-width binary test vectors.
> Enabling GCC's -Wunterminated-string-initialization flags their string
> literal initializers because the arrays omit the terminating NUL.
> Mark the arrays as __nonstring. The test data and the length passed to
> polyval() stay the same.
>
> OpenAI Codex assisted with the patch, commit message, and local tests
> using the public KSPP compiler diagnostics.
>
> Link: https://github.com/KSPP/linux/issues/381
> Signed-off-by: Anggara Putra <anggaraputra87.ap@gmail.com>
Someone else sent a patch for this first
(https://lore.kernel.org/linux-crypto/20261204131128.74519-1-pawan@hexcode.au/).
I'll take the first one.
- Eric
parent reply other threads:[~2026-12-05 20:42 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <CALo22m2Qt5EyzKGDz4_wwitYUf-Xg+J3h4a-Q_4140sgM_Rj7Q@mail.gmail.com>]
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=20261205204254.GB3189@quark \
--to=ebiggers@kernel.org \
--cc=Jason@zx2c4.com \
--cc=anggaraputra87.ap@gmail.com \
--cc=ardb@kernel.org \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-hardening@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox