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/21 03:41:49 Modified files: lib/libc/hash : Makefile.inc sha256.c lib/libc/hidden: sha2.h Added files: lib/libc/arch/amd64/hash: Makefile.inc sha256_amd64.c sha256_amd64_generic.S sha256_amd64_shani.S Log message: Provide assembly implementations of SHA-256 for amd64 in libc. Provide a generic assembly implementation for SHA-256 - 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. Both are largely borrowed from libcrypto. With input from naddy@ ok naddy@ tb@