| author | |
| committer | |
| log | 4dd061a7ac3160c322fd035bc4a7bfa7a0bb9d13 |
| tree | 87fb9da6610b7f2e9c5bad598ed6aad0e64571f7 |
| parent | 3051e279a5b9519481e38ce61fba436664b17d0e |
1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/crypto/ghash.zig+1-1| ... | ... | @@ -146,7 +146,7 @@ pub const Ghash = struct { |
| 146 | 146 | |
| 147 | 147 | // Software carryless multiplication of two 64-bit integers. |
| 148 | 148 | fn clmulSoft(x_: u128, y_: u128, comptime half: Selector) u128 { |
| 149 | const x = @truncate(u64, if (half == .hi) x_ >> 64 else x_); | |
| 149 | const x = @truncate(u64, if (half == .hi or half == .hi_lo) x_ >> 64 else x_); | |
| 150 | 150 | const y = @truncate(u64, if (half == .hi) y_ >> 64 else y_); |
| 151 | 151 | |
| 152 | 152 | const x0 = x & 0x1111111111111110; |