Linux cryptographic layer development
 help / color / mirror / Atom feed
From: Herbert Xu <herbert@gondor.apana.org.au>
To: Neal Liu <neal_liu@aspeedtech.com>
Cc: Linux Crypto Mailing List <linux-crypto@vger.kernel.org>,
	Chengyu Lin <chengyu_lin@aspeedtech.com>
Subject: Re: [PATCH] crypto: aspeed/hash - Use API partial block handling
Date: Mon, 12 May 2025 11:59:44 +0800	[thread overview]
Message-ID: <aCFyMIQml6YXCyoc@gondor.apana.org.au> (raw)
In-Reply-To: <JH0PR06MB69675F76775A8771A358F0208097A@JH0PR06MB6967.apcprd06.prod.outlook.com>

On Mon, May 12, 2025 at 03:56:34AM +0000, Neal Liu wrote:
>
> The hmac implementation is not purely software-based.

It is purely software based in the sense that it simply converts
the hmac hash into the underlying hashes with ipad and opad computed
separately.

That's exactly what the new ahash hmac does so there is no point in
doing it in the driver.

Cheers,
-- 
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

      reply	other threads:[~2025-05-12  3:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-06  8:36 [PATCH] crypto: aspeed/hash - Use API partial block handling Herbert Xu
2025-05-12  3:56 ` Neal Liu
2025-05-12  3:59   ` Herbert Xu [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=aCFyMIQml6YXCyoc@gondor.apana.org.au \
    --to=herbert@gondor.apana.org.au \
    --cc=chengyu_lin@aspeedtech.com \
    --cc=linux-crypto@vger.kernel.org \
    --cc=neal_liu@aspeedtech.com \
    /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