I second this. Speck is very controversial, and ECB is probably not a great idea. From Wikipedia
(And the particle.io CTO in AES encryption demo and secure TCPClient usage - #3 by zachary)
@Ali what do you mean by 'security concerns'? Just needing to be sure the files were not tampered with is a different problem than needing to make sure no one can read them in transit.