Skip to content

Commit

Permalink
fix(kemeleon): remove unnecessary parens
Browse files Browse the repository at this point in the history
  • Loading branch information
codahale committed Dec 23, 2024
1 parent d41839e commit 8a2ad87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion veil/src/kemeleon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ fn ring_compress_and_encode10(f: RingElement) -> [u8; 320] {
x |= (compress(f[1], 10) as u64) << 10;
x |= (compress(f[2], 10) as u64) << 20;
x |= (compress(f[3], 10) as u64) << 30;
b[0] = (x) as u8;
b[0] = x as u8;
b[1] = (x >> 8) as u8;
b[2] = (x >> 16) as u8;
b[3] = (x >> 24) as u8;
Expand Down

0 comments on commit 8a2ad87

Please sign in to comment.