Deprecated in ESP-IDF V3.1 Anyone reading this should please include mbedtls/aes.h and use mbedTLS APIs, not the ESP-specific APIs.
Vulnerability reported by LimitedResults under Espressif Bug Bounty Program.
Closes https://github.com/espressif/esp-idf/issues/3372