]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common: add openssl engine support
authorHang Li <lihang48@huawei.com>
Fri, 10 Apr 2020 08:34:05 +0000 (16:34 +0800)
committerluo rixin <luorixin@huawei.com>
Sun, 26 Apr 2020 00:59:22 +0000 (08:59 +0800)
commitea37825144ed6184847fadc8b6677e5752f33d09
tree96c79eddf656503866b67fb2f06665c09385305e
parentd244ca1e9f33575a55ccb23b8911cc4881307003
common: add openssl engine support

this patch enables the use of openssl engine for
specific openssl algorithm(like DIGESTS/CIPHERS/...)

we can pass configuration to ceph by opt "openssl_engine_opts"
like "engine_id=engine1,dynamic_path=/some/path/engine1.so,
default_algorithms=DIGESTS:engine_id=engine2,dynamic_path=
/some/path/engine2.so,default_algorithms=CIPHERS,
other_ctrl=other_value"

Signed-off-by: Hang Li <lihang48@huawei.com>
Signed-off-by: luo rixin <luorixin@huawei.com>
src/common/CMakeLists.txt
src/common/legacy_config_opts.h
src/common/openssl_opts_handler.cc [new file with mode: 0644]
src/common/openssl_opts_handler.h [new file with mode: 0644]
src/common/options.cc