diff --git a/aes.cpp b/aes.cpp index 652c6fa..c8006cb 100644 --- a/aes.cpp +++ b/aes.cpp @@ -38,16 +38,6 @@ const uint8_t AES::rc[10] = { 0x1b << 1 }; -void AES::print_data(uint8_t data[16]) -{ - PROFILER_RECORD; - for (int i = 0;i < 16;i++) - { - std::cout << std::hex << (int) data[i] << " "; - } - std::cout << std::endl; -} - void AES::encrypt_ecb(uint8_t data[16], const uint8_t key[16]) { PROFILER_RECORD; diff --git a/aes.hpp b/aes.hpp index 37b2f2b..aac8d74 100644 --- a/aes.hpp +++ b/aes.hpp @@ -18,7 +18,6 @@ public: static void shift_rows(uint8_t data[16]); static void sub_bytes(uint8_t data[16]); static void mix_columns(uint8_t data[16]); - static void print_data(uint8_t data[16]); static uint8_t gf_mult2(uint8_t value); static uint8_t gf_mult3(uint8_t value); static uint8_t gf_reduce(uint8_t value);