Skip to content

Commit 90a695d

Browse files
authored
api: fix Noise handshake pattern (#60)
1 parent a4b9255 commit 90a695d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/architecture/api/protocol_details.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Size ranges:
4141

4242
### Overview
4343

44-
The Noise protocol provides encrypted, authenticated communication using the [Noise XX handshake pattern](https://www.noiseprotocol.org/noise.html#interactive-handshake-patterns-fundamental).
44+
The Noise protocol provides encrypted, authenticated communication using the [Noise NNpsk0 handshake pattern](https://www.noiseprotocol.org/noise.html#interactive-handshake-patterns-fundamental).
4545

4646
### Frame Structure
4747

@@ -140,7 +140,7 @@ States:
140140

141141
3. **SERVER_HELLO**: Sending server hello with device info
142142

143-
4. **HANDSHAKE**: Performing Noise XX handshake exchange
143+
4. **HANDSHAKE**: Performing Noise NNpsk0 handshake exchange
144144

145145
5. **DATA**: Handshake complete, ready for encrypted data exchange
146146

@@ -431,4 +431,4 @@ Both protocols ensure payload data starts at predictable offsets for efficient p
431431

432432
### Maximum Sizes
433433
- Message types: 0-65,535 (16-bit unsigned)
434-
- Frame/data sizes: up to 2^32-1 bytes (varint can encode up to 64-bit values, but practically limited by memory)
434+
- Frame/data sizes: up to 2^32-1 bytes (varint can encode up to 64-bit values, but practically limited by memory)

0 commit comments

Comments
 (0)