(asymmetric) Key Pair Generation - secure storage: HOW TO

⚠️
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.
5 posts / 0 new
Last post
nhan.ngodinh
Offline
Last seen:1 year 4 months ago
Joined:2017-03-21 10:20
(asymmetric) Key Pair Generation - secure storage: HOW TO

# SDK: DA1468x_DA15xxx_SDK_1.0.14.1081

Hi,

just wanted to understand:

1) Whether or not is possible to generate through the SDK akey pair(priv, pub).

2)此外应该是有用的了解(if possible) tosecurely storethe private one.

Please provide sample code reference, if any.

Thank you in advance for your support

regards

aa

Device:
PM_Dialog
Offline
Last seen:2 days 6 hours ago
Staff
Joined:2018-02-08 11:03
Hi nhan.ngodinh,

Hi nhan.ngodinh,

In DA1468x_DA15xxx_SDK_1.0.14.1081\sdk\interfaces\crypto path of SDK folder, you could find some implementations and APIs for creating Public Keys, ECDH etc. I would highly suggest you to read first the datasheet in order to understand how the ECC works. However, be aware that we don’t have any software example on that.

Thanks, PM_Dialog

nhan.ngodinh
Offline
Last seen:1 year 4 months ago
Joined:2017-03-21 10:20
Hi,

Hi,

I start to think there is not mature code for managing cyber sec stuff.

As you can see I already opened a thread named "(HW) ECDH (curve25519) from SDK vs. (external) libsodium: shared secret problem" where your support team did not find a solution by now. And it is about the code you mentioned into interfaces/crypto...

Given the ECDH code is probably bugged at the moment I do not have a way to generate PUB and PRIV keys.

Please try to answer the second question pointing me out how to use the SECURE STORAGE if any (sample code for this?).

thank you for your support.

nn

PM_Dialog
Offline
Last seen:2 days 6 hours ago
Staff
Joined:2018-02-08 11:03
Hi nhan.ngodinh,

Hi nhan.ngodinh,

Apologies for the delay, but I have already created an internal ticket for your queries, and we are working on that, so I will get back to you as soon as possible.

Thanks, PM_Dialog

ametzger
Offline
Last seen:1 year 3 months ago
Joined:2020-01-06 20:49
Hi,

Hi,

Are there any new updates on the secure storage of keys?

Regards,

AM