Replace Hasher CRTP base with a concept.
Chaos Ci / test (push) Successful in 3m17s
Chaos Ci / benchmark (push) Successful in 1m54s

This commit is contained in:
hashlag
2026-08-31 01:22:07 +03:00
parent 2f1b5091cd
commit b03fddd40b
5 changed files with 18 additions and 37 deletions
+1 -3
View File
@@ -3,7 +3,6 @@
#include <array>
#include <cstdint>
#include <type_traits>
#include "Hash/Hasher.hpp"
#include "Service/ChaosException.hpp"
@@ -11,8 +10,7 @@
namespace Chaos::Mac::Hmac
{
template<typename HasherImpl,
typename = std::enable_if_t<std::is_base_of_v<Hash::Hasher<HasherImpl>, HasherImpl>>>
template<Hash::Hasher HasherImpl>
class Hmac
{
public: