CVS: cvs.openbsd.org: src

Joel Sing <[email protected]>
Newsgroups gmane.os.openbsd.cvs
Message-ID <[email protected]>
CVSROOT:	/cvs
Module name:	src
Changes by:	[email protected]	2026/08/22 03:04:01

Modified files:
	lib/libc/arch/amd64/hash: Makefile.inc 
	lib/libc/hash  : sha1.c 
	lib/libc/hidden: sha1.h 
Added files:
	lib/libc/arch/amd64/hash: sha1_amd64.c sha1_amd64_generic.S 
	                          sha1_amd64_shani.S 

Log message:
Provide assembly implementations of SHA-1 for amd64 in libc

Provide a generic assembly implementation for SHA-1 - this is considerably
faster than the C version.

Provide a SHA-NI assembly implementation that can be used on hardware that
has the SHA-NI instructions. This is considerably faster than the generic
assembly implementation.

Largely borrowed from libcrypto.

With input from naddy@

ok naddy@ tb@
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.