lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87a50flko1.fsf@igel.home>
Date: Fri, 21 Nov 2025 11:55:26 +0100
From: Andreas Schwab <schwab@...ux-m68k.org>
To: "Theodore Tso" <tytso@....edu>
Cc: David Laight <david.laight.linux@...il.com>,  Guan-Chun Wu
 <409411716@....tku.edu.tw>,  Andreas Dilger <adilger.kernel@...ger.ca>,
  linux-ext4@...r.kernel.org,  linux-kernel@...r.kernel.org,
  visitorckw@...il.com
Subject: Re: [PATCH] ext4: improve str2hashbuf by processing 4-byte chunks

On Nov 20 2025, Theodore Tso wrote:

> Secondly, it's not that a promotion happens before "any" arithmetic.
> If we add two 8-bit values together, promotion doesn't happen.

That is not true.  Integer promotion is applied individually to each
operand independent of context.

-- 
Andreas Schwab, schwab@...ux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ