Skip to content

Commit

Permalink
Fix incorrect comment in ssh_chapoly
Browse files Browse the repository at this point in the history
  • Loading branch information
mkj committed Aug 15, 2024
1 parent e3b82d9 commit b4924f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ssh_chapoly.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ impl SSHChaPoly {

// compute tag
let mut poly_key = [0u8; 32];
// set block counter to 1
// set block counter to 0
c.seek(0u32);
c.apply_keystream(&mut poly_key);
let poly = Poly1305::new((&poly_key).into());
Expand Down

0 comments on commit b4924f0

Please sign in to comment.