⚠️
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
ddustin
Offline
Last seen:1 year 2 months ago
加入:2016-04-20 22:12
Antenna Entropy

Is there a way to collect random noise from the bluetooth antenna for added entropy?

Device:
PM_Dialog
Offline
Last seen:21 hours 33 min ago
Staff
加入:2018-02-08 11:03
Hi ddustin,

Hi ddustin,

这已经实现了in our SDK. The trng library, collect random noise from the bluetooth antenna in order to generate true random numbers, so I would suggest you to have a look into this librady. Define and follow the USE_TRNG macro. The initialization happens in system_init() by calling the init_rand_seed_from_trng() function. This function calls the trng_acquire() which acquires random noise from the bluetooth antenna for generating true random numbers. Please try to not duplicate the threads on the forum, the other one has been deleted.

Thanks, PM_Dialog

ddustin
Offline
Last seen:1 year 2 months ago
加入:2016-04-20 22:12
What example project

What example project demonstrates this and / or what header files implement this?

I have searched the entire example projects directory for any reference to USE_TRNG, init_rand_seed_from_trng, trng_acquire and found no matches.

ddustin
Offline
Last seen:1 year 2 months ago
加入:2016-04-20 22:12
Ah I believe I found it by

Ah I believe I found it by #including "sys_trng.h". Thanks for the the help!

PM_Dialog
Offline
Last seen:21 hours 33 min ago
Staff
加入:2018-02-08 11:03
Hi ddustin,

Hi ddustin,

Glad that you figured your issue out and thanks for accepting my answer.

Thanks, PM_Dialog