On 2020/2/22 9:19, Herbert Xu wrote:
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@xxxxxxxxxxxxxxxxx>
---
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,
The actual use of this function is in sm2 and OSCCA certificates. This
set of patches has been submitted to the community. Please review them.