[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200222011926.GA18695@gondor.apana.org.au>
Date: Sat, 22 Feb 2020 12:19:26 +1100
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Tianjia Zhang <tianjia.zhang@...ux.alibaba.com>
Cc: davem@...emloft.net, ebiggers@...nel.org, pvanleeuwen@...bus.com,
zohar@...ux.ibm.com, linux-crypto@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] crypto: sm3 - export crypto_sm3_final function
On Sun, Feb 16, 2020 at 05:02:33PM +0800, Tianjia Zhang wrote:
> Both crypto_sm3_update and crypto_sm3_finup have been
> exported, exporting crypto_sm3_final, to avoid having to
> use crypto_sm3_finup(desc, NULL, 0, dgst) to calculate
> the hash in some cases.
>
> Signed-off-by: Tianjia Zhang <tianjia.zhang@...ux.alibaba.com>
> ---
> crypto/sm3_generic.c | 7 ++++---
> include/crypto/sm3.h | 2 ++
> 2 files changed, 6 insertions(+), 3 deletions(-)
Please add this into the series that actually uses the function.
It makes no sense on its own.
Thanks,
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists