From b8920bceb79756aead8635d156a6e8bffcc1ccea Mon Sep 17 00:00:00 2001 From: Frank Denis <124872+jedisct1@users.noreply.github.com> Date: Tue, 12 Mar 2024 20:52:06 +0100 Subject: [PATCH] ml_kem.zig: inLen -> in_len (#19269) Don't use camelCase for variable names, especially just for that one. --- lib/std/crypto/ml_kem.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/std/crypto/ml_kem.zig b/lib/std/crypto/ml_kem.zig index 4666148ed7..b2f38b82fe 100644 --- a/lib/std/crypto/ml_kem.zig +++ b/lib/std/crypto/ml_kem.zig @@ -1109,8 +1109,8 @@ const Poly = struct { // Set p to Decompress_q(m, d). fn decompress(comptime d: u8, in: *const [compressedSize(d)]u8) Poly { @setEvalBranchQuota(10000); - const inLen = comptime @divTrunc(N * d, 8); - comptime assert(inLen * 8 == d * N); + const in_len = comptime @divTrunc(N * d, 8); + comptime assert(in_len * 8 == d * N); var ret: Poly = undefined; var in_off: usize = 0; var out_off: usize = 0;