Christoph M. Becker
1d36927127
Support SHA256_Transform_shani() with MSVC, too
...
Closes GH-15312.
2024-09-04 18:07:59 +02:00
Tim Düsterhus
a2a3c5ba8a
hash: Consistently check for PHP_HASH_INTRIN_SHA_* to guard compilation of SHA256_Transform_shani ( #15404 )
...
This fixes the build for amd64 platforms that do not have
`HAVE_FUNC_ATTRIBUTE_TARGET`, specifically Alpine/Musl as of now.
Closes GH-15384.
Related to GH-15312.
2024-08-14 15:18:07 +02:00
Tim Düsterhus
6eca7839af
hash: Add SHA-NI implementation of SHA-256 ( #15152 )
...
* hash: Add SSE2 implementation of SHA-256
Implementation taken from
tarsnap/libcperciva@661752aee8 .
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de >
Co-authored-by: Niels Dossche <7771979+nielsdos@users.noreply.github.com >
* zend_cpuinfo: Add ZEND_CPU_FEATURE_SHA
* hash: Add SHA-NI implementation of SHA-256
Implementation taken from
tarsnap/libcperciva@661752aee8 .
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de >
* NEWS / UPGRADING
---------
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de >
Co-authored-by: Niels Dossche <7771979+nielsdos@users.noreply.github.com >
2024-08-08 22:19:33 +02:00