Skip to content

Commit

Permalink
rsa: bugfix about redundant and inefficient operations
Browse files Browse the repository at this point in the history
Includes:
1. Remove redundant judgment conditions.
2. Remove redundant function parameters.
3. Remove the redundant operation in soft RSA keygen method.
4. Use more efficient BN memory allocation method, and add
judgment of the results.

Signed-off-by: Zhiqi Song <songzhiqi1@huawei.com>
  • Loading branch information
Zhiqi Song authored and gaozhangfei committed Mar 19, 2022
1 parent cf72086 commit 50692e4
Showing 1 changed file with 148 additions and 183 deletions.

0 comments on commit 50692e4

Please sign in to comment.