Home
last modified time | relevance | path

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

/PHP-5.3/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);
28 echo "\n-- Testing hash_hmac_file() function with invalid hash algorithm --\n";
29 hash_hmac_file('foo', $file, $key, TRUE);
36 -- Testing hash_hmac_file() function with less than expected no. of arguments --
47 -- Testing hash_hmac_file() function with more than expected no. of arguments --
51 -- Testing hash_hmac_file() function with invalid hash algorithm --
[all …]
/PHP-5.3/ext/hash/
H A Dphp_hash.h122 PHP_FUNCTION(hash_hmac_file);
H A Dhash.c303 PHP_FUNCTION(hash_hmac_file) in PHP_FUNCTION() argument
1033 PHP_FE(hash_hmac_file, arginfo_hash_hmac_file)

Completed in 8 milliseconds