AES256 Libraries for Arduino Zero (SAMD21 boards)?

Hi,

I’ve literally spent over a day trying to get around 6-7 different libraries that offer AES256-CBC working, with no success.

Does anybody know of any confirmed working libraries that allow AES256-CBC or ECB encryption and decryption on SAMD21 boards?

The closest I got was with this library but the decrypted output did not match the input. I guess there’s something deeper going on as it seems to be written for AVR 8-bit devices. I am no C/crypto expert either so not even sure where to begin trying to get this library working.

Hoping someone can help me make some progress!