diff --git a/ascii_table.c b/ascii_table.c deleted file mode 100644 index b9d704c..0000000 --- a/ascii_table.c +++ /dev/null @@ -1,44 +0,0 @@ -/****************************** ASCII TABLE ******************************/ - -#define ASCII_NON_PRINTABLE 0x00 -#define DDD 0x00 -#define ASCII_SPACE 0x20 // ' ' -#define ASCII_UP_1 0x21 // ! -#define ASCII_UP_QUOTE 0x22 // " -#define ASCII_UP_3 0x23 // # -#define ASCII_UP_4 0x24 // $ -#define ASCII_UP_5 0x25 // % -#define ASCII_UP_7 0x26 // & -#define ASCII_LOW_QUOTE 0x27 // ' -#define ASCII_LEFT_BRACKET 0x28 // ( -#define ASCII_RIGHT_BRACKET 0x29 // ) -#define ASCII_UP_8 0x2A // * -#define ASCII_UP_EQUAL 0x2B // + -#define ASCII_LOW_COMMA 0x2C // , -#define ASCII_LOW_MINUS 0x2D // - -#define ASCII_LOW_DOT 0x2E // . -#define ASCII_LOW_SLASH 0x2F // / -#define ASCII_LOW_0 0x30 // 0 -#define ASCII_LOW_1 0x31 // 1 -#define ASCII_LOW_2 0x32 // 2 -#define ASCII_LOW_3 0x33 // 3 -#define ASCII_LOW_4 0x34 // 4 -#define ASCII_LOW_5 0x35 // 5 -#define ASCII_LOW_6 0x36 // 6 -#define ASCII_LOW_7 0x37 // 7 -#define ASCII_LOW_8 0x38 // 8 -#define ASCII_LOW_9 0x39 // 9 -#define ASCII_UP_SEMICOLON 0x3A // : -#define ASCII_LOW_SEMICOLON 0x3B // ; - - - - -#define ASCII_LOW_EQUAL 0x3D // = - - -#define ASCII_UP_2 0x40 // @ - - -#define ASCII_UP_6 0x5E // ^ -#define ASCII_UP_MINUS 0x5F // _ \ No newline at end of file diff --git a/kuznechik_8bit.h b/kuznechik_8bit.h index 0b52504..686e63f 100644 --- a/kuznechik_8bit.h +++ b/kuznechik_8bit.h @@ -4,6 +4,7 @@ #ifndef KUZNECHIK_H #define KUZNECHIK_H + #include #include diff --git a/red_crypto.h b/red_crypto.h index 957f882..96a90bf 100644 --- a/red_crypto.h +++ b/red_crypto.h @@ -14,15 +14,13 @@ // #endif #ifdef USE_RED_KUZNECHIK_8 #include "kuznechik_8bit.h" +#include "sha256.h" #endif #ifdef USE_RED_AES_256 #include "aes.h" #endif -#ifdef USE_RED_SHA_256 -#include "sha256.h" -#endif enum red_crypto_keys {