Hello,
In regards to the nRF Connect SDK...
I am looking into the possibility of switching out the current implementation of AES used by the Bluetooth firmware. I am curious if my initial impressions/intuition of where this would be done is correct, based on the naming convention of the SDK "subsys/bluetooth/controller/".
It seems that the AES solution used by the bluetooth module is located here in crypto.c. This obviously calls down to the MPSL layer implementation of AES ECB which I think is closed sourced? Anyways if I wanted to experiment with my own AES ECB solution for Bluetooth firmware would it be acceptable to patch both bt_encrypt_le and bt_encrypt_be to call my implementation of AES ECB for Big/Little Endian instead of the code calling down to the MPSL implementation.
The other part to this question is, am I looking in the wrong area for the firmware used by the Bluetooth module if not where should I look or is that closed sourced?
If I am looking at the correct location in the SDK is there already a system in place via kconfig/build system to switch this instead of patching crypto.c?
Thanks!