]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crypto/openssl: update to use evp functions 32675/head
authorHang Li <lihang48@hisilicon.com>
Wed, 8 Jan 2020 00:57:03 +0000 (08:57 +0800)
committerluo rixin <luorixin@huawei.com>
Fri, 14 Feb 2020 01:53:21 +0000 (09:53 +0800)
commit487296875b2d28bf30778b0455b91550ec7180d7
tree676cfdcafcef263fbce4c18ef8d7f71e98bbb789
parent1c7742d141c60771775a696ff5fe828ce821365e
crypto/openssl: update to use evp functions

Openssl evp functions are a high level interface to openssl crypto
functions and can use external crypto engines, hardware accelerator
and AES instruction set. It is more flexible than AES_encrypt.
There is up to 6x faster than the AES_cbc_encrypt implementation
on armv8 server with armv8 cryptographic extensions.

Signed-off-by: Hang Li <lihang48@hisilicon.com>
Signed-off-by: luo rixin <luorixin@huawei.com>
src/crypto/openssl/openssl_crypto_accel.cc