Rename concept Key –> BlockKey.

This commit is contained in:
hashlag committed 2026-09-19 17:55:09 +03:00
1 parent 611ffa2222
commit 0394c42238
3 files changed
+8 -8

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
#ifndef CHAOS_CIPHER_BLOCK_BLOCKKEY_HPP
#define CHAOS_CIPHER_BLOCK_BLOCKKEY_HPP
#include <concepts>
#include <cstdint>
namespace Chaos::Cipher::Block
{
template<typename T>
concept BlockKey = requires
{
requires std::constructible_from<T, uint8_t *, uint8_t *>;
};
} // namespace Chaos::Cipher::Block
#endif // CHAOS_CIPHER_BLOCK_BLOCKKEY_HPP