aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTianjia Zhang <[email protected]>2020-10-15 17:24:41 +0800
committerHerbert Xu <[email protected]>2020-10-30 17:35:02 +1100
commit1bc608b4655b8b1491fb100f4cf4f15ae64a8698 (patch)
treef9886c09b765eff3819e8919ae67ea4457ae50d6 /tools/perf/scripts/python
parentad0bb4e4d226e76950531cb4260402bbbb8997b5 (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 <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions