|
ESPHome 2026.11.0-dev
|
Go to the source code of this file.
Data Structures | |
| class | esphome::noise::NoiseContext |
Namespaces | |
| namespace | esphome |
| namespace | esphome::noise |
Typedefs | |
| using | NoiseHandshakeState = struct NoiseHandshakeState_s |
| using | esphome::noise::psk_t = std::array<uint8_t, 32> |
Functions | |
| const LogString * | esphome::noise::noise_err_to_logstr (int err) |
| Convert a noise error code to a readable error. | |
| bool | esphome::noise::has_spare_ephemeral () |
| void | esphome::noise::prepare_spare_ephemeral () |
| Fill the slot; blocks for the base point multiply. | |
| int | esphome::noise::consume_spare_ephemeral (NoiseHandshakeState *state) |
| Move the key pair into a handshake that has not started and wipe the slot; 0 unless noise-c rejects it. | |
| void | esphome::noise::write_frame_header (uint8_t *buf, uint16_t payload_len) |
| size_t | esphome::noise::format_reject_payload (uint8_t *buf, size_t capacity, const LogString *reason) |
| Fill buf with a handshake reject payload (status byte plus the reason text, PROGMEM aware); returns the payload length. | |
| const LogString * | esphome::noise::reject_reason_for (int err) |
| Reject reason for a failed handshake read. | |
| using NoiseHandshakeState = struct NoiseHandshakeState_s |