Skip to content

Commit 0526fa5

Browse files
committed
fixup! hash: Add SHA-NI implementation of SHA-256
1 parent 62d2905 commit 0526fa5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ext/hash/php_hash_sha.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,7 @@ void SHA256_Transform_sse2(uint32_t state[PHP_STATIC_RESTRICT 8], const uint8_t
6363
# define ZEND_INTRIN_SHA_RESOLVER 1
6464
# endif
6565

66-
void
67-
SHA256_Transform_shani(uint32_t state[PHP_STATIC_RESTRICT 8],
68-
const uint8_t block[PHP_STATIC_RESTRICT 64]);
66+
void SHA256_Transform_shani(uint32_t state[PHP_STATIC_RESTRICT 8], const uint8_t block[PHP_STATIC_RESTRICT 64]);
6967
#endif
7068

7169
PHP_HASH_API void PHP_SHA256Final(unsigned char[32], PHP_SHA256_CTX *);

0 commit comments

Comments
 (0)