diff --git a/lib/std/crypto/ff.zig b/lib/std/crypto/ff.zig index caae9cb33e311cd5bee4c21bcdcfd95d4c7bf7f6..796a11e435eed7e956311232b523bf49bf301eb0 100644 --- a/lib/std/crypto/ff.zig +++ b/lib/std/crypto/ff.zig @@ -702,7 +702,9 @@ pub fn Modulus(comptime max_bits: comptime_int) type { var out = self.one(); self.toMontgomery(&out) catch unreachable; - if (public and e.len < 3 or (e.len == 3 and e[if (endian == .big) 0 else 2] <= 0b1111)) { + if (public and + (e.len < 3 or (e.len == 3 and e[if (endian == .big) 0 else 2] <= 0b1111))) + { // Do not use a precomputation table for short, public exponents var x_m = x; if (!x.montgomery) {