Home
last modified time | relevance | path

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

/PHP-5.5/ext/hash/tests/
H A Dhash_hmac_file_basic.phpt2 Test hash_hmac_file() function : basic functionality
17 $file = dirname(__FILE__) . "hash_hmac_file.txt";
41 echo "gost: " . hash_hmac_file('gost', $file, $key) . "\n";
43 echo "md2: " . hash_hmac_file('md2', $file, $key) . "\n";
44 echo "md4: " . hash_hmac_file('md4', $file, $key) . "\n";
45 echo "md5: " . hash_hmac_file('md5', $file, $key) . "\n";
50 echo "sha1: " . hash_hmac_file('sha1', $file, $key) . "\n";
63 hash_hmac_file();
64 hash_hmac_file('foo', $file);
65 hash_hmac_file('foo', $file, $key, TRUE, 10);
[all …]
H A Dhash_hmac_file_error.phpt2 Test hash_hmac_file() function : basic functionality
20 var_dump(hash_hmac_file());
21 var_dump(hash_hmac_file('crc32'));
22 var_dump(hash_hmac_file('crc32', $file));
26 hash_hmac_file('crc32', $file, $key, TRUE, $extra_arg);
29 hash_hmac_file('foo', $file, $key, TRUE);
31 echo "\n-- Testing hash_hmac_file() function with bad path --\n";
32 hash_hmac_file('crc32', $file.chr(0).$file, $key, TRUE);
54 -- Testing hash_hmac_file() function with invalid hash algorithm --
58 -- Testing hash_hmac_file() function with bad path --
[all …]
/PHP-5.5/ext/hash/
H A Dphp_hash.h123 PHP_FUNCTION(hash_hmac_file);
H A Dhash.c329 PHP_FUNCTION(hash_hmac_file) in PHP_FUNCTION() argument
1193 PHP_FE(hash_hmac_file, arginfo_hash_hmac_file)

Completed in 16 milliseconds