#include int size_mesg=256; byte *key = (unsigned char*)"0123456789010123"; byte *iv = (unsigned char*)"0123456789010123"; void printArray(byte *mes, int n) { for (byte i = 0; i < n; i++) { Serial.print(mes[i]); Serial.print(" "); } Serial.println(); } void setup() { // put your setup code here to run once: Serial.begin (57600) ; // printf_begin(); delay(500); } void loop() { // put your main code here, to run repeatedly: AES aes(key, iv, AES::AES_MODE_128, AES::CIPHER_ENCRYPT); uint8_t plain[size_mesg]; uint8_t cipher [size_mesg] ; uint8_t check [size_mesg] ; randomSeed(334); for(int i=0;i