summaryrefslogtreecommitdiff
path: root/crypto/sha512_generic.c
diff options
context:
space:
mode:
authorTianjia Zhang <tianjia.zhang@linux.alibaba.com>2020-10-15 17:24:41 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2020-10-30 17:35:02 +1100
commit8994fee63119f4ee189c0a4c96ac25db9089ef52 (patch)
tree866fc67a6541c08fbad61a9e45153f1307de15d0 /crypto/sha512_generic.c
parenta223cf23d6e562b147b257c269417cf57adfe9af (diff)
downloadlinux-crypto-8994fee63119f4ee189c0a4c96ac25db9089ef52.tar.gz
linux-crypto-8994fee63119f4ee189c0a4c96ac25db9089ef52.zip
crypto: sm2 - remove unnecessary reset operations
This is an algorithm optimization. The reset operation when setting the public key is repeated and redundant, so remove it. At the same time, `sm2_ecc_os2ec()` is optimized to make the function more simpler and more in line with the Linux code style. Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/sha512_generic.c')
0 files changed, 0 insertions, 0 deletions