mirror of
https://github.com/ziglang/zig.git
synced 2026-02-20 08:14:48 +00:00
remove unnecessary operations
This commit is contained in:
parent
8286cc77f8
commit
1df33936d6
@ -419,7 +419,7 @@ pub fn Blake2b(comptime out_len: usize) type {
|
||||
mem.copy(u64, d.h[0..], iv[0..]);
|
||||
|
||||
// default parameters
|
||||
d.h[0] ^= 0x01010000 ^ @truncate(u32, d.key.len << 8) ^ @intCast(u32, out_len >> 3);
|
||||
d.h[0] ^= 0x01010000 ^ (d.key.len << 8) ^ (out_len >> 3);
|
||||
d.t = 0;
|
||||
d.buf_len = 0;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user