Skip to content

Commit ee87732

Browse files
TomAFrenchjfecher
andauthored
Update noir_stdlib/src/sha256.nr
Co-authored-by: jfecher <jake@aztecprotocol.com>
1 parent 46b6aee commit ee87732

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

noir_stdlib/src/sha256.nr

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ fn rotr32(a: u32, b: u32) -> u32 // 32-bit right rotation
77
{
88
// None of the bits overlap between `(a >> b)` and `(a << (32 - b))`
99
// Addition is then equivalent to OR, with fewer constraints.
10-
(a >> b) + (a << (32 as u32 - b))
10+
(a >> b) + (a << (32 - b))
1111
}
1212

1313
fn ch(x: u32, y: u32, z: u32) -> u32

0 commit comments

Comments
 (0)