Hello Diaolog,
we want to implement MbedTLS library for secuirty features. I wanted to ask are there any low level drivers that are available in the sdk for the DA14695 USB kit already for crypto functions? Also, are there any documents that might be useful for including the security libraries like MbedTLS for our applications?
Thanks in advance.
Regards,
Prasanna
Device:
Hi Prasanna,
Please take a look at hw_crypto.h / .c LLD which is under SDK_10.0.10.118\sdk\bsp\peripherals SDK path. There is a crypto adapter too – ad_crypto.h / .c – which is under SDK_10.0.10.118\sdk\middleware\adapters.
I would recommend checking out theDA1469x AES HASH Secure KeysandDA1469x Crypto AES OTPSW examples.
Thanks, PM_Dialog
Hello PM_Dialog,
Thank you for the information. If I want to integrate MbedTLS library to my application, are there any set of rules to follow or I can just add the library files to my specific application?
Thanks in advance.
Regards,
Prasanna
Hi Prasanna,
The mbedtls library is under SDK_10.0.10.118\utilities\libbo_crypto\third_party_crypto\mbedtls, so you can use it. Would you would like to accomplish?
Thanks, PM_Dialog
Hi PM_Dialog,
Thanks for the information. Basically, my idea is to establish a DTLS handshake between the dialog(DA14695 USB) and the smart phone once they are connected and before exchange of any data. Can you give me some insights about how fast can we establish a handshake between both the devices?
Regards,
Prasanna
Hi Prasanna,
This depends on the application. Please follow the recommended SW examples.
Thanks, PM_Dialog
Hi Dialog,
I tried to build the examples that you have mentioned above in this thread. But, I am getting this error in "DiaSemi/SDK_10.0.10.118/projects/dk_apps/da1469x_aes_hash_crypto/config/custom_config_qspi.h:89:10: fatal error: bsp_memory_layout.h: No such file or directory
#include "bsp_memory_layout.h"
^~~~~~~~~~~~~~~~~~~~~
I could not find this header file in the project as well. Could you tell me how this header file is included and where is it coming from. I have checked the config folder under sdk and also the bsp include files. But I cannot find this header file. I am using the SDK_10.0.10.118, DA1469x USB module.
Thanks in advance.
Regards,
Prasanna
Hi Prasanna,
Please find below the changes should be done in custom_config_xxx.h in order to run SW Example.
1. The following macros are no longer used and so, they should be removed completely.
#define dg_configEMULATE_OTP_COPY (0)
#define dg_configUSER_CAN_USE_TIMER1 (0)
2. There are no memory layout schemes and so, the following definition should be removed completely.
/* Include memory layout */
#include "bsp_memory_layout.h"
Thanks, PM_Dialog