| author | |
| committer | |
| log | f3655fd07dbd30d3c7ed95d92df192a78b081a3a |
| tree | 768c605b6ecadbcab3bffaa69f502b58755f231f |
| parent | 5f589562646b972e4f177d60c7da37e872991d29 |
| signature |
Thanks to @r4gus for reporting this.
Fixes #203981 files changed, 1 insertions(+), 1 deletions(-)
lib/std/crypto/chacha20.zig+1-1| ... | ... | @@ -632,7 +632,7 @@ fn XChaChaIETF(comptime rounds_nb: usize) type { |
| 632 | 632 | /// Write the output of the XChaCha20 stream cipher into `out`. |
| 633 | 633 | pub fn stream(out: []u8, counter: u32, key: [key_length]u8, nonce: [nonce_length]u8) void { |
| 634 | 634 | const extended = extend(key, nonce, rounds_nb); |
| 635 | ChaChaIETF(rounds_nb).xor(out, counter, extended.key, extended.nonce); | |
| 635 | ChaChaIETF(rounds_nb).stream(out, counter, extended.key, extended.nonce); | |
| 636 | 636 | } |
| 637 | 637 | }; |
| 638 | 638 | } |