Skip to content

Commit 8080291

Browse files
authored
Update PROTOCOL.md
1 parent 61317a6 commit 8080291

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

PROTOCOL.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,8 @@ Now `Alice` and `Bob` both have each other ephemeral public keys, Have successfu
286286
### 5.3. PFS rotation counters
287287
`Alice` stores a `rotate_at` and `rotation_counter` variables alongside her ephemeral keys, locally.
288288

289+
`rotation_counter` and `rotate_at` are reset whenever `PFS` keys rotate.
290+
289291
Those counters will be used in `6. Messages` to determine when it is time to rotate ephemeral keys.
290292

291293
### 5.4. Security notes
@@ -342,6 +344,8 @@ Messages could been forged by `Bob`.
342344
### 6.3. OTP Pad Generation
343345
If in `6.2. Message Prepartions`, `Alice` did not have enough pads, she would need to generate and sends pads to `Bob`.
344346

347+
`Alice` increments her `rotation_counter` local variable.
348+
345349
`Alice` uses `Bob` ephemeral `Kyber1024` public-key to generate `OTP_PAD_SIZE bytes` of `shared secrets`. `OTP_PAD_SIZE` is default to `11264 bytes` (around 11 Kilobytes)
346350

347351
Those `shared secrets` are now `Alice`'s OTP pads.

0 commit comments

Comments
 (0)