Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarification on the HW RNG (IDFGH-13813) #14665

Open
3 tasks done
KaeLL opened this issue Oct 4, 2024 · 0 comments
Open
3 tasks done

Clarification on the HW RNG (IDFGH-13813) #14665

KaeLL opened this issue Oct 4, 2024 · 0 comments
Labels
Status: Opened Issue is new

Comments

@KaeLL
Copy link
Contributor

KaeLL commented Oct 4, 2024

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

Chip: Vanilla ESP32

Docs say

The hardware RNG produces true random numbers under any of the following conditions:
RF subsystem is enabled (i.e., Wi-Fi or Bluetooth are enabled).

and the TRM says

High-speed ADC is enabled automatically when the Wi-Fi or Bluetooth modules is enabled.

"module/subsystem is enabled". When exactly is that? And up until when exactly? (As in, after and until X and Y function calls, etc).
More specifically, I need to know if by the time nimBLE on_sync cb gets called, esp_random is already a TNRG.

Also, from the TRM

when the Wi-Fi module is enabled, the value read from the high-speed ADC can be saturated in some extreme cases

Such as? Answers to these questions are likely worth adding to the docs.

@espressif-bot espressif-bot added the Status: Opened Issue is new label Oct 4, 2024
@github-actions github-actions bot changed the title Clarification on the HW RNG Clarification on the HW RNG (IDFGH-13813) Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Opened Issue is new
Projects
None yet
Development

No branches or pull requests

2 participants