DesCrypt KeySchedule: delete move,copy * constructor,operator.

This commit is contained in:
hashlag committed 2026-10-18 01:25:57 +03:00
1 parent 5ba326aa5a
commit 78836e4b75
1 file changed
+6
+6
View File
@@ -114,6 +114,12 @@ public:
Decrypt Decrypt
}; };
KeySchedule(const KeySchedule & other) = delete;
KeySchedule(KeySchedule && other) = delete;
KeySchedule & operator=(const KeySchedule & other) = delete;
KeySchedule & operator=(KeySchedule && other) = delete;
KeySchedule(Direction direction, const RawKey & rawKey) KeySchedule(Direction direction, const RawKey & rawKey)
{ {
Key56 key56 = Pc1(Bitwise::PackUInt64(rawKey.Begin(), rawKey.End())); Key56 key56 = Pc1(Bitwise::PackUInt64(rawKey.Begin(), rawKey.End()));