We want to thank Georgios Spanos for his AES code in our research context: Raspberry Pi and Arduino.
GitHub link spaniakos AES