Home
last modified time | relevance | path

Searched refs:hash_hmac_file (Results 1 – 4 of 4) sorted by relevance

/PHP-7.4/ext/hash/tests/
H A Dhash_hmac_file_basic.phpt2 Hash: hash_hmac_file() function : basic functionality
15 $file = __DIR__ . "hash_hmac_file.txt";
37 echo "gost: " . hash_hmac_file('gost', $file, $key) . "\n";
39 echo "md2: " . hash_hmac_file('md2', $file, $key) . "\n";
40 echo "md4: " . hash_hmac_file('md4', $file, $key) . "\n";
41 echo "md5: " . hash_hmac_file('md5', $file, $key) . "\n";
46 echo "sha1: " . hash_hmac_file('sha1', $file, $key) . "\n";
58 hash_hmac_file();
59 hash_hmac_file('foo', $file);
60 hash_hmac_file('foo', $file, $key, TRUE, 10);
[all …]
H A Dhash_hmac_file_error.phpt2 Hash: hash_hmac_file() function : basic functionality
18 var_dump(hash_hmac_file());
19 var_dump(hash_hmac_file('crc32'));
20 var_dump(hash_hmac_file('crc32', $file));
24 hash_hmac_file('crc32', $file, $key, TRUE, $extra_arg);
27 hash_hmac_file('foo', $file, $key, TRUE);
30 hash_hmac_file('crc32', $file, $key, TRUE);
32 echo "\n-- Testing hash_hmac_file() function with bad path --\n";
33 hash_hmac_file('md5', $file.chr(0).$file, $key, TRUE);
63 -- Testing hash_hmac_file() function with bad path --
[all …]
/PHP-7.4/ext/hash/
H A Dphp_hash.h136 PHP_FUNCTION(hash_hmac_file);
H A Dhash.c338 PHP_FUNCTION(hash_hmac_file) in PHP_FUNCTION() argument
1449 PHP_FE(hash_hmac_file, arginfo_hash_hmac_file)

Completed in 11 milliseconds