AES implementation with C++