FelipeMdeO opened a new pull request, #19428: URL: https://github.com/apache/nuttx/pull/19428
## Summary Prefix the public AES API in `crypto/aes.h` (`aes_setkey`, `aes_encrypt`, `aes_decrypt`, their `_ecb` variants and `aes_keysetup_*`) with `nx_`, and update the in-tree callers under `crypto/`. The unprefixed `aes_encrypt`/`aes_decrypt` symbols exported by the NuttX software AES (`CRYPTO_SW_AES`) collide at link time with identically named symbols from third-party crypto libraries built into the arch tree (e.g. the Espressif esp-hal wpa_supplicant mbedTLS wrapper). The `nx_` prefix gives the NuttX implementation its own namespace. ## Impact API rename only; no behavior change. Any out-of-tree user of `crypto/aes.h` must adopt the `nx_` names. ## Testing Built `sim:nsh` (with `CRYPTO_SW_AES`). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
