From 9ec4e6f7e607b5ead9077fd8de412a1a0a7162df Mon Sep 17 00:00:00 2001 From: hashlag Date: Sun, 18 Oct 2026 01:31:49 +0300 Subject: [PATCH] DesCrypt::Decryptor: delete move,copy * constructor,operator. --- Chaos/Cipher/Block/Des/DesCrypt.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Chaos/Cipher/Block/Des/DesCrypt.hpp b/Chaos/Cipher/Block/Des/DesCrypt.hpp index 6c16e04..6d6c7cf 100644 --- a/Chaos/Cipher/Block/Des/DesCrypt.hpp +++ b/Chaos/Cipher/Block/Des/DesCrypt.hpp @@ -311,6 +311,12 @@ public: static constexpr size_t BlockSize = DesCrypt::BlockSize; static constexpr size_t KeySize = DesCrypt::KeySize; + Decryptor(const Decryptor & other) = delete; + Decryptor(Decryptor && other) = delete; + + Decryptor & operator=(const Decryptor & other) = delete; + Decryptor & operator=(Decryptor && other) = delete; + Decryptor(const Key & key) : Schedule_(Inner_::KeySchedule::Direction::Decrypt, key.Key_) { }