AES with the Arduino-core?

How does one go about using plain 128-bit AES with the Arduino-core for CubeCell?

Well, since there are zero replies, I’ll just quickly mention what I did: there’s aes.h and aes.c in ASR650x-Arduino\cores\asr650x\loramac\system\crypto, so I went and copied aes.c as aes.cpp in my sketch’s location, optimized the code a bit – a couple functions only take ~35% of the execution-time of the original ones now – and added the relevant #defines to the top of the sketch to enable all the functionality from aes.h.

Quite annoying to have to jump through such hoops and just goes to demonstrate the shoddy quality of the Arduino-core for CubeCell.