Hello everyone,
I'm working on a project using the Renesas RA2L1 microcontroller, part number R7FA2L1AB3CFP, and I need help implementing AES-128 decryption.
I already have the encrypt data using AES-128 on the ESP32 and then transmit the encrypted data via UART to the RA2L1 device. and the correct 128-bit AES key. I would like to know how to perform the decryption using the FSP (Flexible Software Package) or any available hardware cryptographic support provided for this device.
If anyone has example code, configuration steps using the Crypto module in FSP, or any documentation that can help with AES-128 decryption on this MCU, I would really appreciate your guidance.
Thanks in advance for your support!
Hello anuj ,
Thanks for reaching out Renesas Engineering Community.
Please let me provide you an example we have in our official github repo.
https://github.com/renesas/ra-fsp-examples/tree/master/example_projects/ek_ra2l1/mbed_crypto/mbed_crypto_ek_ra2l1_ep
This example is using the mbed crypto driver on Renesas RA MCUs implemented in FSP and for RA2L1 it performs
AES Key Generation, Encryption and Decryption.
I would also recommend to you to go through the documentation of the mbed crypto driver to see the examples codes also provided there:
https://renesas.github.io/fsp/group___r_m___p_s_a___c_r_y_p_t_o.html
Hope it helps.
Thanks and Regards,
IK