Is there any working AES encryption libraries?

Hello guys, am trying to do a project which will compare the effecient, weight, speed, security, ... of diffirents encryption algorithms on IoT devices (Arduino in particular).
I already have some working block, stream ciphers, only need AES to be complete (prefer CBC type, 128bit).
I tried some libraries in links below, they worked, but the result is not correct. I compared the encrypted result with online AES tool and Java AES libraries, the encrypted text is the same for online tool and Java, but in Arduino it diffirent (same key, same plain text, same IV, all is in 128bit, CBC mode)
So, I will be very grateful if someone provide me others libraries, or show me how to correctly use those libraries.
Thank you very much!

https://github.com/kakopappa/arduino-esp8266-aes-encryption-with-nodejs
https://forum.arduino.cc/index.php?topic=88890.0
https://platformio.org/lib/show/5533/AESLib