Rename concept Key –> BlockKey.
This commit is contained in:
1 parent
611ffa2222
commit
0394c42238
3 files changed
+8
-8
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user