Replace Decryptor CRTP base with a concept.
Chaos Ci / test (push) Successful in 3m4s
Chaos Ci / benchmark (push) Successful in 1m31s

This commit is contained in:
hashlag committed 2026-09-06 02:45:45 +03:00
1 parent 2c6a24197a
commit 3dacd57fef
3 files changed
+28 -43

No files matched your search

+3 -1
View File
@@ -281,7 +281,7 @@ public:
static_assert(Chaos::Cipher::Block::Encryptor<Encryptor>);
class Decryptor : public Chaos::Cipher::Block::Decryptor<Decryptor>
class Decryptor
{
public:
using Block = DesCrypt::Block;
@@ -327,6 +327,8 @@ public:
Inner_::KeySchedule Schedule_;
};
static_assert(Chaos::Cipher::Block::Decryptor<Decryptor>);
private:
using BlockHalf = uint32_t;
using RawBlockArray = Service::SeArray<uint8_t, 8>;