diff --git a/Inc/ciphering/caesar_cipher.h b/Inc/crypto/caesar_cipher.h similarity index 100% rename from Inc/ciphering/caesar_cipher.h rename to Inc/crypto/caesar_cipher.h diff --git a/Makefile b/Makefile index 3e09980..af097a7 100644 --- a/Makefile +++ b/Makefile @@ -57,7 +57,6 @@ TARGET = $(TARGET_DIR)/$(TARGET_BASE)$(TARGET_EXTENSION) IMUTILITY_FILES=\ Src/base64.c \ Src/bit_manipulation.c \ - Src/ciphering/caesar_cipher.c \ Src/crc/crc8_base.c \ Src/crc/crc8_variants/crc8.c \ Src/crc/crc8_variants/crc8_8h2f.c \ @@ -106,6 +105,7 @@ IMUTILITY_FILES=\ Src/crc/crc32_variants/crc32_posix.c \ Src/crc/crc32_variants/crc32_q.c \ Src/crc/crc32_variants/crc32_xfer.c \ + Src/crypto/caesar_cipher.c \ Src/sort/bubble_sort.c \ Src/sort/heap_sort.c \ Src/sort/insertion_sort.c \ @@ -140,6 +140,7 @@ SRC_FILES+=$(IMUTILITY_FILES) \ Tests/test_utils.c INC_DIRS_CODE=\ -IInc \ + -IInc/crypto \ -IInc/crc \ -IInc/crc/crc8_variants \ -IInc/crc/crc16_variants \ diff --git a/README.md b/README.md index a41d559..997f181 100644 --- a/README.md +++ b/README.md @@ -59,10 +59,6 @@ Join us on the Discord channel https://discord.gg/R6nZxZqDH3 - BitManipulation_clearBit - BitManipulation_toggleBit -### Ciphering algorithms -- CaesarCipher_encrypt -- CaesarCipher_decrypt - ### Crc8 - Crc8Base_tableCalculator - Crc8Base // Base used for calculating all Crc8 variants @@ -120,6 +116,10 @@ Join us on the Discord channel https://discord.gg/R6nZxZqDH3 - Crc32_q - Crc32_xfer +### Cryptography +- CaesarCipher_encrypt +- CaesarCipher_decrypt + ### JSON - Json_startString - Json_addData diff --git a/Src/ciphering/caesar_cipher.c b/Src/crypto/caesar_cipher.c similarity index 96% rename from Src/ciphering/caesar_cipher.c rename to Src/crypto/caesar_cipher.c index 9e2618b..42468f5 100644 --- a/Src/ciphering/caesar_cipher.c +++ b/Src/crypto/caesar_cipher.c @@ -32,7 +32,7 @@ * ****************************************************************************/ -#include "ciphering/caesar_cipher.h" +#include "caesar_cipher.h" #include diff --git a/Tests/test_caesar_cipher.c b/Tests/test_caesar_cipher.c index 00b2989..f962012 100644 --- a/Tests/test_caesar_cipher.c +++ b/Tests/test_caesar_cipher.c @@ -1,4 +1,4 @@ -#include "ciphering/caesar_cipher.h" +#include "caesar_cipher.h" #include "unity.h" #include "unity_fixture.h"