#include <noise.h>
|
| void | set_psk (const uint8_t *psk) |
| | psk points at 32 bytes that outlive the context (PROGMEM or caller owned RAM); nullptr means no key.
|
| |
| void | load_psk (psk_t &out) const |
| | Copy the key out (flash-aware on ESP8266); all zeros when none is set.
|
| |
| bool | has_psk () const |
| |
|
| const uint8_t * | psk_ {nullptr} |
| |
Definition at line 13 of file noise.h.
◆ has_psk()
| bool esphome::noise::NoiseContext::has_psk |
( |
| ) |
const |
|
inline |
◆ is_all_zeros()
| static bool esphome::noise::NoiseContext::is_all_zeros |
( |
const psk_t & | psk | ) |
|
|
inlinestatic |
◆ load_psk()
| void esphome::noise::NoiseContext::load_psk |
( |
psk_t & | out | ) |
const |
Copy the key out (flash-aware on ESP8266); all zeros when none is set.
Definition at line 19 of file noise.cpp.
◆ set_psk()
| void esphome::noise::NoiseContext::set_psk |
( |
const uint8_t * | psk | ) |
|
|
inline |
psk points at 32 bytes that outlive the context (PROGMEM or caller owned RAM); nullptr means no key.
Runtime callers map the all-zeros key to nullptr themselves; validation keeps it out of yaml.
Definition at line 29 of file noise.h.
◆ psk_
| const uint8_t* esphome::noise::NoiseContext::psk_ {nullptr} |
|
protected |
The documentation for this class was generated from the following files: