Соберите с поддержкой aes и попробуйте.
aes
https://www.lysator.liu.se/~nisse/nettle/nettle.html#AES
3.3.1 Encryption algorithms used in the record layer