Lora-net/LoRaMac-node

AES function rename due to multiple definitions linking error

Opened this issue · 0 comments

Hello,

I would like to open a pull request to rename the aes_encrpyt() function found in src/peripherals/soft-se/aes.* files to something other than what it currently is, perhaps aes_encrypt_block() (aes_decrypt() would also potentially be renamed to aes_decrypt_block() as per this example, for consistency).

The reason for this request is a multiple definitions linking error occurring when including LmHandler.h in an application file when using an ESP32 board port. ESP-IDF has a function with the same name.

Thanks,
Brandon