|
SH2SC-EDT
Self-Healing Hardware and Software Complex for Encrypted Data Transmission
|
Variables | |
| const uint8_t | HELLO_NONCE_SIZE = 12u |
| ChaCha20 IV length in bytes (IETF 96-bit nonce format). | |
| const uint8_t | AUTH_TAG_SIZE = 16u |
| Full Poly1305 tag length in bytes (computed internally, not fully transmitted). | |
| const uint8_t | TRUNCATED_MAC_SIZE = 8u |
| Bytes of Poly1305 MAC actually placed on the wire (first 8 of 16). | |
| const uint8_t | DATA_PAYLOAD_SIZE = 4u |
| Byte size of the encrypted payload in a DataPacket. | |
| const uint8_t | HELLO_NONCE_SIZE = 12u |
| ChaCha20 IV length in bytes (IETF 96-bit nonce format). | |
| const uint8_t | AUTH_TAG_SIZE = 16u |
| Full Poly1305 tag length in bytes (computed internally, not fully transmitted). | |
| const uint8_t | TRUNCATED_MAC_SIZE = 8u |
| Bytes of Poly1305 MAC actually placed on the wire (first 8 of 16). | |
| const uint8_t | DATA_PAYLOAD_SIZE = 4u |
| Byte size of the encrypted payload in a DataPacket. | |
| const uint8_t AUTH_TAG_SIZE = 16u |
Full Poly1305 tag length in bytes (computed internally, not fully transmitted).
Definition at line 55 of file protocol.h.
| const uint8_t AUTH_TAG_SIZE = 16u |
Full Poly1305 tag length in bytes (computed internally, not fully transmitted).
Definition at line 55 of file protocol.h.
| const uint8_t DATA_PAYLOAD_SIZE = 4u |
Byte size of the encrypted payload in a DataPacket.
Covers two uint16_t fields: note_index and duration_ms. Layout: [0..1] = note_index, [2..3] = duration_ms.
Definition at line 63 of file protocol.h.
| const uint8_t DATA_PAYLOAD_SIZE = 4u |
Byte size of the encrypted payload in a DataPacket.
Covers two uint16_t fields: note_index and duration_ms. Layout: [0..1] = note_index, [2..3] = duration_ms.
Definition at line 63 of file protocol.h.
Referenced by authenticateAndPlay(), processFinPacket(), sendFinPacket(), and sendPacket().
| const uint8_t HELLO_NONCE_SIZE = 12u |
ChaCha20 IV length in bytes (IETF 96-bit nonce format).
Definition at line 54 of file protocol.h.
| const uint8_t HELLO_NONCE_SIZE = 12u |
ChaCha20 IV length in bytes (IETF 96-bit nonce format).
Definition at line 54 of file protocol.h.
Referenced by authenticateAndPlay(), processFinPacket(), processHelloBody(), rx_loop(), sendFinPacket(), sendHelloPacket(), sendPacket(), suspendSession(), and tx_loop().
| const uint8_t TRUNCATED_MAC_SIZE = 8u |
Bytes of Poly1305 MAC actually placed on the wire (first 8 of 16).
Definition at line 56 of file protocol.h.
| const uint8_t TRUNCATED_MAC_SIZE = 8u |
Bytes of Poly1305 MAC actually placed on the wire (first 8 of 16).
Definition at line 56 of file protocol.h.
Referenced by authenticateAndPlay(), processFinPacket(), sendFinPacket(), and sendPacket().