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 | 1bc608b4655b8b1491fb100f4cf4f15ae64a8698 (patch) | |
tree | f9886c09b765eff3819e8919ae67ea4457ae50d6 /net | |
parent | ad0bb4e4d226e76950531cb4260402bbbb8997b5 (diff) |
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 'net')
0 files changed, 0 insertions, 0 deletions