AES - ECB in DA14531

Hi guys,

          I have to port AES-ECB implementation from one SDK to dialog SDK. is it possible to implement AES-ECB in DA14531 SDK ?

Thanks 

Yedida Gangadhar 

Parents
  • Hi Gangadhar,

    You do not need to implement AES in SDK6 since it is already integrated. 
    As you can see on DA14531 Datasheet 29. Bluetooth LE Core, page:159

    The DA14531 is equipped with is an AES-128 CCM mode encryption accelerator. The CCM mode is dedicated for the BLE operation and only plain AES-128 is available for the user application. Also, only encryption is possible in HW (not decryption). The CBC, CCM and CMAC modes are supported by the SDK (all of them are SW implementations, the HW is used only for the AES-128 part and only during encryption the decryption is sw based). The corresponding files can be found in the <sdk_root_directory>\sdk\platform\core_modules\crypto.
    You can find extra information on DA14531 Datasheet, 31.2 Bluetooth LE Core Registers, page:168. Look for Table.63 and Tables 96 to 103. 
    and on DA145xx SW Platform Reference Manual on 4.2.5: 4. User Guides — DA14585/DA14531 SW Platform Reference Manual (renesas.com)
    I would also recommend checking our BLE Security Tutorial: 1. Introduction — DA145XX Tutorial BLE security (renesas.com)

    Kind Regards,
    OV_Renesas

Reply
  • Hi Gangadhar,

    You do not need to implement AES in SDK6 since it is already integrated. 
    As you can see on DA14531 Datasheet 29. Bluetooth LE Core, page:159

    The DA14531 is equipped with is an AES-128 CCM mode encryption accelerator. The CCM mode is dedicated for the BLE operation and only plain AES-128 is available for the user application. Also, only encryption is possible in HW (not decryption). The CBC, CCM and CMAC modes are supported by the SDK (all of them are SW implementations, the HW is used only for the AES-128 part and only during encryption the decryption is sw based). The corresponding files can be found in the <sdk_root_directory>\sdk\platform\core_modules\crypto.
    You can find extra information on DA14531 Datasheet, 31.2 Bluetooth LE Core Registers, page:168. Look for Table.63 and Tables 96 to 103. 
    and on DA145xx SW Platform Reference Manual on 4.2.5: 4. User Guides — DA14585/DA14531 SW Platform Reference Manual (renesas.com)
    I would also recommend checking our BLE Security Tutorial: 1. Introduction — DA145XX Tutorial BLE security (renesas.com)

    Kind Regards,
    OV_Renesas

Children