Skip to content

Commit

Permalink
Update protocols/v2/noise-sv2/src/initiator.rs
Browse files Browse the repository at this point in the history
Co-authored-by: RJ Rybarczyk <[email protected]>
  • Loading branch information
Shourya742 and rrybarczyk authored Sep 2, 2024
1 parent 0188164 commit 89afe0d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion protocols/v2/noise-sv2/src/initiator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ pub struct Initiator {
/// Optional static key used in the handshake. This key may be derived from the pre-shared key
/// (PSK) or generated during the handshake.
k: Option<[u8; 32]>,
/// The current nonce value used by the cipher state.
/// Current nonce used in the encryption process.
///
/// Ensures that the same plaintext encrypted twice will produce different ciphertexts.
n: u64,
/// The chaining key, used in the key derivation process.
ck: [u8; 32],
Expand Down

0 comments on commit 89afe0d

Please sign in to comment.