Skip to content

Commit 62d2905

Browse files
committed
fixup! hash: Add SSE2 implementation of SHA-256
1 parent 1cb6320 commit 62d2905

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

ext/hash/php_hash_sha.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,7 @@ PHP_HASH_API void PHP_SHA256Update(PHP_SHA256_CTX *, const unsigned char *, size
5353
#endif
5454

5555
#if defined(__SSE2__)
56-
void
57-
SHA256_Transform_sse2(uint32_t state[PHP_STATIC_RESTRICT 8],
58-
const uint8_t block[PHP_STATIC_RESTRICT 64], uint32_t W[PHP_STATIC_RESTRICT 64],
59-
uint32_t S[PHP_STATIC_RESTRICT 8]);
56+
void SHA256_Transform_sse2(uint32_t state[PHP_STATIC_RESTRICT 8], const uint8_t block[PHP_STATIC_RESTRICT 64], uint32_t W[PHP_STATIC_RESTRICT 64], uint32_t S[PHP_STATIC_RESTRICT 8]);
6057
#endif
6158

6259
#if (defined(__i386__) || defined(__x86_64__)) && defined(HAVE_IMMINTRIN_H)

0 commit comments

Comments
 (0)