summaryrefslogtreecommitdiffstats
path: root/include/crypto/sm3.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* crypto: sm3 - export crypto_sm3_final functionTianjia Zhang2020-09-251-0/+2
| | | | | | | | | | | 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>
* crypto: sm3 - add OSCCA SM3 secure hashGilad Ben-Yossef2017-09-221-0/+40
Add OSCCA SM3 secure hash (OSCCA GM/T 0004-2012 SM3) generic hash transformation. Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>