[openssl/openssl] fdfa63: enable hardware acceleration for sm4-ccm

zzl-360 noreply at github.com
Tue Mar 21 07:23:28 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: fdfa63dfd6f1e6d7aff175fba56486a0cf79713f
      https://github.com/openssl/openssl/commit/fdfa63dfd6f1e6d7aff175fba56486a0cf79713f
  Author: zhangzhilei <zhangzhilei at 360.cn>
  Date:   2023-03-21 (Tue, 21 Mar 2023)

  Changed paths:
    M providers/implementations/ciphers/cipher_sm4_ccm_hw.c

  Log Message:
  -----------
  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 at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20499)




More information about the openssl-commits mailing list