#pragma once #include #include //The GF(2^8) field used in AES //Elements are represented by unsigned 8-bit ints, as is their nature. //Since addition in GF(2^8) is more simply written as just '^', only //multiplication and taking inverses is necessary to implement separately. namespace GF28 { uint8_t multiply(uint8_t x,uint8_t y); uint8_t inverse(uint8_t value); }