Searched refs:hash_hmac_file (Results 1 – 5 of 5) sorted by relevance
/php-src/ext/hash/tests/ |
H A D | hash_hmac_file_basic.phpt | 2 Hash: hash_hmac_file() function : basic functionality 7 echo "*** Testing hash_hmac_file() : basic functionality ***\n"; 9 $file = __DIR__ . "hash_hmac_file.txt"; 31 echo "gost: " . hash_hmac_file('gost', $file, $key) . "\n"; 33 echo "md2: " . hash_hmac_file('md2', $file, $key) . "\n"; 34 echo "md4: " . hash_hmac_file('md4', $file, $key) . "\n"; 35 echo "md5: " . hash_hmac_file('md5', $file, $key) . "\n"; 40 echo "sha1: " . hash_hmac_file('sha1', $file, $key) . "\n"; 41 echo "sha256: " . hash_hmac_file('sha256', $file, $key) . "\n"; 42 echo "sha384: " . hash_hmac_file('sha384', $file, $key) . "\n"; [all …]
|
H A D | hash_hmac_file_error.phpt | 2 Hash: hash_hmac_file() function : basic functionality 11 echo "\n-- Testing hash_hmac_file() function with invalid hash algorithm --\n"; 13 var_dump(hash_hmac_file('foo', $file, $key, TRUE)); 21 var_dump(hash_hmac_file('crc32', $file, $key, TRUE)); 27 echo "\n-- Testing hash_hmac_file() function with bad path --\n"; 29 var_dump(hash_hmac_file('md5', $file.chr(0).$file, $key, TRUE)); 39 -- Testing hash_hmac_file() function with invalid hash algorithm -- 40 hash_hmac_file(): Argument #1 ($algo) must be a valid cryptographic hashing algorithm 42 -- Testing hash_hmac_file() function with non-cryptographic hash algorithm -- 45 -- Testing hash_hmac_file() function with bad path -- [all …]
|
/php-src/ext/hash/ |
H A D | hash.stub.php | 25 function hash_hmac_file(string $algo, string $filename, #[\SensitiveParameter] string $key, bool $b…
|
H A D | hash_arginfo.h | 133 ZEND_FUNCTION(hash_hmac_file); 161 ZEND_FE(hash_hmac_file, arginfo_hash_hmac_file)
|
H A D | hash.c | 596 PHP_FUNCTION(hash_hmac_file) in PHP_FUNCTION() argument
|
Completed in 12 milliseconds