]> git.ipfire.org Git - thirdparty/openssl.git/commit
enable hardware acceleration for sm4-ccm
authorzhangzhilei <zhangzhilei@360.cn>
Sun, 12 Mar 2023 06:53:01 +0000 (14:53 +0800)
committerTomas Mraz <tomas@openssl.org>
Tue, 21 Mar 2023 07:20:37 +0000 (08:20 +0100)
commitfdfa63dfd6f1e6d7aff175fba56486a0cf79713f
treeecf7d1baf0ba5bd5887adbb1049084f49f5ccc3b
parent6ec3d3125f76aa9f11c133333f868c42b9b585c4
enable hardware acceleration for sm4-ccm

benchmark data test on KunPeng920

before:
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes  16384 bytes
SM4-CCM          20401.16k    33739.97k    40476.08k    42326.70k    43373.91k    43220.99k

after:
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes  16384 bytes
SM4-CCM           8050.11k    13011.29k    15407.10k    16147.80k    16378.54k    16449.76k

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20499)
providers/implementations/ciphers/cipher_sm4_ccm_hw.c