diff options
author | zhangzhilei <zhangzhilei@360.cn> | 2022-09-24 10:32:36 +0800 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2022-10-13 13:20:24 +0100 |
commit | 704e8090b4a789f52af07de9a3ebbe11db8e19f8 (patch) | |
tree | e1567be97b69412ac85d2872457384545db8b1d7 /crypto/pkcs12 | |
parent | 79edcf4da7d4525acf0db894bc6af6f9ca2b9b9b (diff) |
optimize ossl_sm4_set_key speed
this optimization comes from libgcrypt, increse about 48% speed
Benchmark on my AMD Ryzen Threadripper 3990X
before:
Did 5752000 SM4 setup operations in 1000151us (5751131.6 ops/sec)
after:
Did 8506000 SM4 setup operations in 1000023us (8505804.4 ops/sec)
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19270)
Diffstat (limited to 'crypto/pkcs12')
0 files changed, 0 insertions, 0 deletions