EcbMode: require concept Cipher.
This commit is contained in:
1 parent
cc7c8e1e55
commit
c51a22646f
1 file changed
+2
-1
@@ -4,6 +4,7 @@
|
|||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|
||||||
|
#include "Cipher/Block/Cipher.hpp"
|
||||||
#include "Padding/Padder.hpp"
|
#include "Padding/Padder.hpp"
|
||||||
#include "Service/ChaosException.hpp"
|
#include "Service/ChaosException.hpp"
|
||||||
#include "Service/SeArray.hpp"
|
#include "Service/SeArray.hpp"
|
||||||
@@ -11,7 +12,7 @@
|
|||||||
namespace Chaos::Cipher::Block::Mode
|
namespace Chaos::Cipher::Block::Mode
|
||||||
{
|
{
|
||||||
|
|
||||||
template<typename CipherT, Padding::Padder PadderT>
|
template<Cipher::Block::Cipher CipherT, Padding::Padder PadderT>
|
||||||
class EcbMode
|
class EcbMode
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|||||||
Reference in new issue
Block a user