From 8b7e485179d6f28c423ea81208de34d7edbf863b Mon Sep 17 00:00:00 2001 From: hashlag Date: Sun, 18 Oct 2026 01:37:03 +0300 Subject: [PATCH] EcbMode:Decryptor: delete move,copy * constructor,operator. --- Chaos/Cipher/Block/Mode/Ecb.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Chaos/Cipher/Block/Mode/Ecb.hpp b/Chaos/Cipher/Block/Mode/Ecb.hpp index 07e19c4..770ea6b 100644 --- a/Chaos/Cipher/Block/Mode/Ecb.hpp +++ b/Chaos/Cipher/Block/Mode/Ecb.hpp @@ -129,6 +129,12 @@ public: class Decryptor { public: + Decryptor(const Decryptor & other) = delete; + Decryptor(Decryptor && other) = delete; + + Decryptor & operator=(const Decryptor & other) = delete; + Decryptor & operator=(Decryptor && other) = delete; + Decryptor(const typename CipherT::Key & key) : Decryptor_(key) , BlockBytesPacked_(0)