History log of /php-src/ext/hash/hash_sha_ni.c (Results 1 – 3 of 3)
Revision Date Author Comments
# 1d369271 04-Sep-2024 Christoph M. Becker

Support SHA256_Transform_shani() with MSVC, too

Closes GH-15312.


# a2a3c5ba 14-Aug-2024 Tim Düsterhus

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_

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.

show more ...


# 6eca7839 08-Aug-2024 Tim Düsterhus

hash: Add SHA-NI implementation of SHA-256 (#15152)

* hash: Add SSE2 implementation of SHA-256

Implementation taken from
tarsnap/libcperciva@661752aee82dcc8070754e3e539fdc7782bd

hash: Add SHA-NI implementation of SHA-256 (#15152)

* hash: Add SSE2 implementation of SHA-256

Implementation taken from
tarsnap/libcperciva@661752aee82dcc8070754e3e539fdc7782bd3942.

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@661752aee82dcc8070754e3e539fdc7782bd3942.

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>

show more ...