authorgravatar for 124872+jedisct1@users.noreply.github.comFrank Denis <124872+jedisct1@users.noreply.github.com> 2026-05-28 23:44:31+02:00
committergravatar for 124872+jedisct1@users.noreply.github.comFrank Denis <124872+jedisct1@users.noreply.github.com> 2026-07-05 12:23:52+02:00
loged6d0eea9781b73bd6fab43fb0c1dbe8bc4102d7
tree8b008f99a12e1da3e6a0c07a380d648762f3ed49
parent2ae8359445e963949bbfe25b4f9d0f6efce2de4f

Typo


1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/crypto/salsa20.zig+1-1
......@@ -387,7 +387,7 @@ pub const XSalsa20Poly1305 = struct {
387387 /// session identifiers and sequence numbers.
388388 ///
389389 /// Since there is no separation between the associated data and
390 /// the ciphertext, its length must not contain be under an adversary's
390 /// the ciphertext, its length must not be under an adversary's
391391 /// control.
392392 pub fn encrypt(c: []u8, tag: *[tag_length]u8, m: []const u8, ad: []const u8, npub: [nonce_length]u8, k: [key_length]u8) void {
393393 debug.assert(c.len == m.len);