It is unused and doesn't make much sense in TxHandler.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
::ceph::crypto::zeroize_for_security(&initial_nonce, sizeof(initial_nonce));
}
- std::uint32_t calculate_segment_size(std::uint32_t size) override
- {
- return size;
- }
-
void reset_tx_handler(const uint32_t* first, const uint32_t* last) override;
void authenticated_encrypt_update(const ceph::bufferlist& plaintext) override;
struct TxHandler {
virtual ~TxHandler() = default;
- virtual std::uint32_t calculate_segment_size(std::uint32_t size) = 0;
-
// Instance of TxHandler must be reset before doing any encrypt-update
// step. This applies also to situation when encrypt-final was already
// called and another round of update-...-update-final will take place.