From: Herbert Xu <herbert@gondor.apana.org.au>
To: Holger Dengler <dengler@linux.ibm.com>
Cc: Harald Freudenberger <freude@linux.ibm.com>,
linux-s390@vger.kernel.org,
Linux Crypto Mailing List <linux-crypto@vger.kernel.org>
Subject: Re: s390 hmac
Date: Mon, 24 Mar 2025 16:07:23 +0800 [thread overview]
Message-ID: <Z-ESu7CyMM873xBB@gondor.apana.org.au> (raw)
In-Reply-To: <b7bf79e9-9b75-462c-9c25-71dbc708760d@linux.ibm.com>
On Mon, Mar 24, 2025 at 08:50:21AM +0100, Holger Dengler wrote:
>
> The bit s390_kmac_gr0.ikp indicates, if the instruction has processed the inner key padding or not. The bit is zeroed at init() and the first instruction call for a context will set this bit to 1 and update the cv. So, if this bit is 0, the cv in param block contains undefined state.
Thanks for the info!
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
next prev parent reply other threads:[~2025-03-24 8:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-23 13:13 s390 hmac Herbert Xu
2025-03-24 7:50 ` Holger Dengler
2025-03-24 8:07 ` Herbert Xu [this message]
2025-03-24 10:04 ` Harald Freudenberger
2025-03-25 8:22 ` Herbert Xu
2025-03-25 18:10 ` Holger Dengler
2025-03-26 0:54 ` Herbert Xu
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=Z-ESu7CyMM873xBB@gondor.apana.org.au \
--to=herbert@gondor.apana.org.au \
--cc=dengler@linux.ibm.com \
--cc=freude@linux.ibm.com \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-s390@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