suculent / thinx-aes-lib

AES wrapper for ESP8266/ESP32/Arduino/nRF5x
Other
118 stars 37 forks source link

Update AESLib.cpp #42

Closed twisniew1976 closed 3 years ago

twisniew1976 commented 3 years ago

Add check of padding / plain length in decrypt64. Negative value means deciphering error (the error reason is not relevant) and cause ESP restarts due to stack smashing error or stack overflow.