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] [day] [month] [year] [list]
Message-ID: <202601300936.6EDA32E96@keescook>
Date: Fri, 30 Jan 2026 09:37:36 -0800
From: Kees Cook <kees@...nel.org>
To: Feng Jiang <jiangfeng@...inos.cn>
Cc: palmer@...belt.com, aou@...s.berkeley.edu, alex@...ti.fr,
	akpm@...ux-foundation.org, andy@...nel.org, ebiggers@...nel.org,
	martin.petersen@...cle.com, herbert@...dor.apana.org.au,
	samuel.holland@...ive.com, ajones@...tanamicro.com,
	conor.dooley@...rochip.com, charlie@...osinc.com, nathan@...nel.org,
	linusw@...nel.org, linux-riscv@...ts.infradead.org,
	linux-kernel@...r.kernel.org, linux-hardening@...r.kernel.org
Subject: Re: [PATCH v7 0/8] riscv: optimize string functions and add kunit
 tests

On Fri, Jan 30, 2026 at 10:50:10AM +0800, Feng Jiang wrote:
> This series provides optimized implementations of strnlen(), strchr(),
> and strrchr() for the RISC-V architecture. The strnlen() implementation
> is derived from the existing optimized strlen(). For strchr() and
> strrchr(), the current versions use simple byte-by-byte assembly logic,
> which will serve as a baseline for future Zbb-based optimizations.

I'm happy with the Kunit elements here, so unless Andy has other
feedback, please feel free to take this via the riscv tree. (Or if riscv
maintainers would prefer, I can take it via string.)

Thanks for working on this!

-Kees

-- 
Kees Cook

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ