]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: add encryption api
authorOr Ozeri <oro@il.ibm.com>
Sun, 10 Jan 2021 16:46:28 +0000 (18:46 +0200)
committerOr Ozeri <oro@il.ibm.com>
Mon, 11 Jan 2021 11:55:38 +0000 (13:55 +0200)
commit99d8cf9bb4c6461c021f8441f017dc8b6b335e6b
treeeed5e160dfe81a1562d7c62e187776abac024616
parent237eaacd324a5a0949a3b25694ddb9e925ececc8
librbd: add encryption api

This commit exposes librbd encryption api

Signed-off-by: Or Ozeri <oro@il.ibm.com>
38 files changed:
src/include/config-h.in.cmake
src/include/rbd/librbd.h
src/include/rbd/librbd.hpp
src/librbd/CMakeLists.txt
src/librbd/ImageCtx.cc
src/librbd/ImageCtx.h
src/librbd/api/Image.cc
src/librbd/api/Image.h
src/librbd/api/Utils.cc [new file with mode: 0644]
src/librbd/api/Utils.h [new file with mode: 0644]
src/librbd/crypto/CryptoImageDispatch.h
src/librbd/crypto/CryptoObjectDispatch.cc
src/librbd/crypto/CryptoObjectDispatch.h
src/librbd/crypto/EncryptionFormat.h [new file with mode: 0644]
src/librbd/crypto/FormatRequest.cc [new file with mode: 0644]
src/librbd/crypto/FormatRequest.h [new file with mode: 0644]
src/librbd/crypto/LoadRequest.cc [new file with mode: 0644]
src/librbd/crypto/LoadRequest.h [new file with mode: 0644]
src/librbd/crypto/Types.h
src/librbd/crypto/luks/EncryptionFormat.cc [new file with mode: 0644]
src/librbd/crypto/luks/EncryptionFormat.h [new file with mode: 0644]
src/librbd/crypto/luks/FormatRequest.cc
src/librbd/crypto/luks/FormatRequest.h
src/librbd/crypto/luks/Header.cc
src/librbd/crypto/luks/Header.h
src/librbd/crypto/luks/LoadRequest.cc
src/librbd/crypto/luks/LoadRequest.h
src/librbd/internal.cc
src/librbd/io/ImageRequest.cc
src/librbd/librbd.cc
src/test/librbd/CMakeLists.txt
src/test/librbd/crypto/luks/test_mock_FormatRequest.cc
src/test/librbd/crypto/luks/test_mock_LoadRequest.cc
src/test/librbd/crypto/test_mock_FormatRequest.cc [new file with mode: 0644]
src/test/librbd/crypto/test_mock_LoadRequest.cc [new file with mode: 0644]
src/test/librbd/mock/MockImageCtx.h
src/test/librbd/mock/crypto/MockEncryptionFormat.h [new file with mode: 0644]
src/test/librbd/test_librbd.cc