From d8531ce1f349cbef4d7becbb386203b7847a01ef Mon Sep 17 00:00:00 2001 From: Aster Seker Date: Thu, 4 Sep 2025 00:11:52 +0300 Subject: [PATCH] Add algorithm include for std::fill --- hmac.cpp | 1 + sha1.cpp | 1 + sha1.hpp | 1 + sha256.cpp | 1 + sha256.hpp | 1 + sha512.cpp | 1 + sha512.hpp | 1 + 7 files changed, 7 insertions(+) diff --git a/hmac.cpp b/hmac.cpp index 2c2e304..182296a 100644 --- a/hmac.cpp +++ b/hmac.cpp @@ -1,3 +1,4 @@ +#include #include "hmac.hpp" namespace hmac { diff --git a/sha1.cpp b/sha1.cpp index 4e68083..f7fd3c4 100644 --- a/sha1.cpp +++ b/sha1.cpp @@ -19,6 +19,7 @@ * Modified by NewYaroslav, 2025-04-15 */ +#include #include "sha1.hpp" /* Help macros */ diff --git a/sha1.hpp b/sha1.hpp index d48cd59..d08cfef 100644 --- a/sha1.hpp +++ b/sha1.hpp @@ -20,6 +20,7 @@ #ifndef _HMAC_SHA1_HPP_INCLUDED #define _HMAC_SHA1_HPP_INCLUDED +#include #include #include #include diff --git a/sha256.cpp b/sha256.cpp index d8aae6e..dac027c 100644 --- a/sha256.cpp +++ b/sha256.cpp @@ -39,6 +39,7 @@ * Исправления: 18.06.2020 Elektro Yar */ +#include #include //#include #include "sha256.hpp" diff --git a/sha256.hpp b/sha256.hpp index 8a1063f..6d1d41a 100644 --- a/sha256.hpp +++ b/sha256.hpp @@ -42,6 +42,7 @@ #ifndef _HMAC_SHA256_HPP_INCLUDED #define _HMAC_SHA256_HPP_INCLUDED +#include #include #include #include diff --git a/sha512.cpp b/sha512.cpp index 83d784b..5014375 100644 --- a/sha512.cpp +++ b/sha512.cpp @@ -39,6 +39,7 @@ * Исправления: 18.06.2020 Elektro Yar */ +#include #include #include "sha512.hpp" diff --git a/sha512.hpp b/sha512.hpp index 56ecd95..27213a9 100644 --- a/sha512.hpp +++ b/sha512.hpp @@ -42,6 +42,7 @@ #ifndef _HMAC_SHA512_HPP_INCLUDED #define _HMAC_SHA512_HPP_INCLUDED +#include #include #include #include