commit | f49282870fb039e3c2e5c3341bd27875282609d7 | [log] [tgz] |
---|---|---|
author | Tianjia Zhang <tianjia.zhang@linux.alibaba.com> | Mon Sep 21 00:20:54 2020 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Sep 25 17:48:53 2020 +1000 |
tree | 0a5907437ebe5bf42e377157b0ea315715a6bfea | |
parent | d8e887661711d668f5926a3d849c08c203fb0381 [diff] |
crypto: sm3 - export crypto_sm3_final function 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@linux.alibaba.com> Tested-by: Xufeng Zhang <yunbo.xufeng@linux.alibaba.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>