diff options
author | Tianjia Zhang <tianjia.zhang@linux.alibaba.com> | 2020-10-15 17:24:41 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-10-30 17:35:02 +1100 |
commit | 8994fee63119f4ee189c0a4c96ac25db9089ef52 (patch) | |
tree | 866fc67a6541c08fbad61a9e45153f1307de15d0 /crypto/aegis128-core.c | |
parent | a223cf23d6e562b147b257c269417cf57adfe9af (diff) | |
download | linux-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/aegis128-core.c')
0 files changed, 0 insertions, 0 deletions