|
SPSP
Simple publish-subscribe protocol. Connects low power IoT clients to MQTT.
|
ESP random generator. More...
#include <random.hpp>


Public Member Functions | |
| void | bytes (void *buf, size_t len) const noexcept |
Generates len truly random bytes in buf More... | |
| void | bytes (void *buf, size_t len) const |
Generates len truly random bytes in buf More... | |
| void | bytes (void *buf, size_t len) const noexcept |
Generates len truly random bytes in buf More... | |
ESP random generator.
Testing random generator.
Truly random if WiFi or Bluetooth is enabled.
Definition at line 25 of file espidf/spsp/random.hpp.
|
inlinevirtual |
Generates len truly random bytes in buf
| buf | Buffer |
| len | Length |
| RandomGeneratorError | Random generator error if generation fails. |
Implements SPSP::IRandom.
Definition at line 34 of file linux/spsp/random.hpp.
|
inlinevirtualnoexcept |
Generates len truly random bytes in buf
Platform dependent implementation, but should be cryptographically secure.
| buf | Buffer |
| len | Length |
| RandomGeneratorError | Random generator error if generation fails. |
Implements SPSP::IRandom.
Definition at line 26 of file testing/spsp/random.hpp.
|
inlinevirtualnoexcept |
Generates len truly random bytes in buf
Platform dependent implementation, but should be cryptographically secure.
| buf | Buffer |
| len | Length |
Implements SPSP::IRandom.
Definition at line 37 of file espidf/spsp/random.hpp.
1.8.17