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

Public Member Functions | |
| virtual void | bytes (void *buf, size_t len) const =0 |
Generates len truly random bytes in buf More... | |
Random generator interface.
Definition at line 31 of file random_if.hpp.
|
pure virtual |
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. |
Implemented in SPSP::Random, SPSP::Random, and SPSP::Random.
1.8.17