From b0f5367085b5078f128b1bd6a5990501ff034d6b Mon Sep 17 00:00:00 2001 From: hashlag <90853356+hashlag@users.noreply.github.com> Date: Tue, 26 Aug 2025 00:01:37 +0300 Subject: [PATCH] Rename Arc4 PRNG .hpp file appropriately --- Chaos/Cipher/Arc4/{Arc4.hpp => Arc4Gen.hpp} | 4 ++-- ChaosTests/CMakeLists.txt | 2 +- ChaosTests/Cipher/{Arc4Tests.cpp => Arc4GenTests.cpp} | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename Chaos/Cipher/Arc4/{Arc4.hpp => Arc4Gen.hpp} (96%) rename ChaosTests/Cipher/{Arc4Tests.cpp => Arc4GenTests.cpp} (99%) diff --git a/Chaos/Cipher/Arc4/Arc4.hpp b/Chaos/Cipher/Arc4/Arc4Gen.hpp similarity index 96% rename from Chaos/Cipher/Arc4/Arc4.hpp rename to Chaos/Cipher/Arc4/Arc4Gen.hpp index e651533..0f73233 100644 --- a/Chaos/Cipher/Arc4/Arc4.hpp +++ b/Chaos/Cipher/Arc4/Arc4Gen.hpp @@ -1,5 +1,5 @@ -#ifndef CHAOS_CIPHER_ARC4_HPP -#define CHAOS_CIPHER_ARC4_HPP +#ifndef CHAOS_CIPHER_ARC4GEN_HPP +#define CHAOS_CIPHER_ARC4GEN_HPP #include #include diff --git a/ChaosTests/CMakeLists.txt b/ChaosTests/CMakeLists.txt index c34befa..17cc700 100644 --- a/ChaosTests/CMakeLists.txt +++ b/ChaosTests/CMakeLists.txt @@ -14,7 +14,7 @@ FetchContent_MakeAvailable(googletest) set(ChaosTests_SOURCE Hash/Md4HasherTests.cpp Hash/Md5HasherTests.cpp Mac/HmacTests.cpp - Cipher/Arc4Tests.cpp) + Cipher/Arc4GenTests.cpp) add_executable(ChaosTests ${ChaosTests_SOURCE}) target_link_libraries(ChaosTests gtest gtest_main) diff --git a/ChaosTests/Cipher/Arc4Tests.cpp b/ChaosTests/Cipher/Arc4GenTests.cpp similarity index 99% rename from ChaosTests/Cipher/Arc4Tests.cpp rename to ChaosTests/Cipher/Arc4GenTests.cpp index 3e2350c..1baab07 100644 --- a/ChaosTests/Cipher/Arc4Tests.cpp +++ b/ChaosTests/Cipher/Arc4GenTests.cpp @@ -1,6 +1,6 @@ #include -#include "Cipher/Arc4/Arc4.hpp" +#include "Cipher/Arc4/Arc4Gen.hpp" using namespace Chaos::Cipher::Arc4;