/opt/alt/php82/usr/include/php/ext/hash
NameSizeModeActions
php_hash.h66600644editdlrm
php_hash_adler32.h15960644editdlrm
php_hash_crc32.h18570644editdlrm
php_hash_fnv.h28150644editdlrm
php_hash_gost.h15440644editdlrm
php_hash_haval.h21390644editdlrm
php_hash_joaat.h14710644editdlrm
php_hash_md.h20720644editdlrm
php_hash_murmur.h25990644editdlrm
php_hash_ripemd.h31170644editdlrm
php_hash_sha.h39240644editdlrm
php_hash_sha3.h24910644editdlrm
php_hash_snefru.h16210644editdlrm
php_hash_tiger.h18030644editdlrm
php_hash_whirlpool.h15480644editdlrm
php_hash_xxhash.h34650644editdlrm
Edit: /opt/alt/php82/usr/include/php/ext/hash/php_hash_whirlpool.h (1548B)
/* +----------------------------------------------------------------------+ | Copyright (c) The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | | available through the world-wide-web at the following url: | | https://www.php.net/license/3_01.txt | | If you did not receive a copy of the PHP license and are unable to | | obtain it through the world-wide-web, please send a note to | | license@php.net so we can mail you a copy immediately. | +----------------------------------------------------------------------+ | Author: Michael Wallner | +----------------------------------------------------------------------+ */ #ifndef PHP_HASH_WHIRLPOOL_H #define PHP_HASH_WHIRLPOOL_H /* WHIRLPOOL context */ typedef struct { uint64_t state[8]; unsigned char bitlength[32]; struct { int pos; int bits; unsigned char data[64]; } buffer; } PHP_WHIRLPOOL_CTX; #define PHP_WHIRLPOOL_SPEC "q8b32iib64." PHP_HASH_API void PHP_WHIRLPOOLInit(PHP_WHIRLPOOL_CTX *, ZEND_ATTRIBUTE_UNUSED HashTable *); PHP_HASH_API void PHP_WHIRLPOOLUpdate(PHP_WHIRLPOOL_CTX *, const unsigned char *, size_t); PHP_HASH_API void PHP_WHIRLPOOLFinal(unsigned char[64], PHP_WHIRLPOOL_CTX *); #endif