summaryrefslogtreecommitdiffstats
path: root/crypto/cbc.c
diff options
context:
space:
mode:
authorTianjia Zhang <tianjia.zhang@linux.alibaba.com>2020-10-15 11:24:41 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2020-10-30 07:35:02 +0100
commit1bc608b4655b8b1491fb100f4cf4f15ae64a8698 (patch)
treef9886c09b765eff3819e8919ae67ea4457ae50d6 /crypto/cbc.c
parentcrypto: sa2ul - Reduce stack usage (diff)
downloadlinux-1bc608b4655b8b1491fb100f4cf4f15ae64a8698.tar.xz
linux-1bc608b4655b8b1491fb100f4cf4f15ae64a8698.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/cbc.c')
0 files changed, 0 insertions, 0 deletions