低电平驱动程序加密引擎s

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
8 posts / 0 new
Last post
prasanna
Offline
Last seen:1 week 6 days ago
加入:2020-09-29 11:56
低电平驱动程序加密引擎s

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:
PM_Dialog
Offline
Last seen:34 min 40 sec ago
Staff
加入:2018-02-08 11:03
Hi Prasanna,

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

prasanna
Offline
Last seen:1 week 6 days ago
加入:2020-09-29 11:56
Hello 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

PM_Dialog
Offline
Last seen:34 min 40 sec ago
Staff
加入:2018-02-08 11:03
Hi 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

prasanna
Offline
Last seen:1 week 6 days ago
加入:2020-09-29 11:56
Hi 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

PM_Dialog
Offline
Last seen:34 min 40 sec ago
Staff
加入:2018-02-08 11:03
Hi Prasanna,

Hi Prasanna,

This depends on the application. Please follow the recommended SW examples.

Thanks, PM_Dialog

prasanna
Offline
Last seen:1 week 6 days ago
加入:2020-09-29 11:56
Hi 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

PM_Dialog
Offline
Last seen:34 min 40 sec ago
Staff
加入:2018-02-08 11:03
Hi 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