ml_kem.zig: inLen -> in_len (#19269)

Don't use camelCase for variable names, especially just for that one.
This commit is contained in:
Frank Denis 2024-03-12 20:52:06 +01:00 committed by GitHub
parent da5b16f9e2
commit b8920bceb7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;