Home
last modified time | relevance | path

Searched refs:hash_hkdf (Results 1 – 8 of 8) sorted by relevance

/php-src/ext/hash/tests/
H A Dhash_hkdf_basic.phpt2 Hash: hash_hkdf() function: basic functionality
6 echo "*** Testing hash_hkdf(): basic functionality ***\n";
10 echo 'md2: ', bin2hex(hash_hkdf('md2', $ikm)), "\n";
11 echo 'md4: ', bin2hex(hash_hkdf('md4', $ikm)), "\n";
12 echo 'md5: ', bin2hex(hash_hkdf('md5', $ikm)), "\n";
13 echo 'sha1: ', bin2hex(hash_hkdf('sha1', $ikm)), "\n";
14 echo 'sha224: ', bin2hex(hash_hkdf('sha224', $ikm)), "\n";
15 echo 'sha256: ', bin2hex(hash_hkdf('sha256', $ikm)), "\n";
16 echo 'sha384: ', bin2hex(hash_hkdf('sha384', $ikm)), "\n";
17 echo 'sha512: ', bin2hex(hash_hkdf('sha512', $ikm)), "\n";
[all …]
H A Dhash_hkdf_error.phpt2 Hash: hash_hkdf() function: error conditions
25 fn() => hash_hkdf('foo', $ikm)
30 fn() => hash_hkdf('adler32', $ikm),
31 fn() => hash_hkdf('crc32', $ikm),
32 fn() => hash_hkdf('crc32b', $ikm),
33 fn() => hash_hkdf('fnv132', $ikm),
34 fn() => hash_hkdf('fnv1a32', $ikm),
35 fn() => hash_hkdf('fnv164', $ikm),
36 fn() => hash_hkdf('fnv1a64', $ikm),
37 fn() => hash_hkdf('joaat', $ikm)
[all …]
H A Dhash_hkdf_edges.phpt2 Hash: hash_hkdf() function: edge cases
6 echo "*** Testing hash_hkdf(): edge cases ***\n";
10 echo 'Length < digestSize: ', bin2hex(hash_hkdf('md5', $ikm, 7)), "\n";
11 echo 'Length % digestSize != 0: ', bin2hex(hash_hkdf('md5', $ikm, 17)), "\n";
12 echo 'Algo name case-sensitivity: ', (bin2hex(hash_hkdf('Md5', $ikm, 7)) === '98b16391063ece' ? 'tr…
16 var_dump(hash_hkdf('jOaAt', $ikm));
24 *** Testing hash_hkdf(): edge cases ***
29 [Error] hash_hkdf(): Argument #1 ($algo) must be a valid cryptographic hashing algorithm
H A Dhash_hkdf_rfc5869.phpt2 Hash: hash_hkdf() function: RFC 5869 test vectors
6 echo "*** Testing hash_hkdf(): RFC 5869 test vectors ***\n";
8 bin2hex(hash_hkdf(
16 bin2hex(hash_hkdf(
24 bin2hex(hash_hkdf(
32 bin2hex(hash_hkdf(
40 bin2hex(hash_hkdf(
48 bin2hex(hash_hkdf(
56 bin2hex(hash_hkdf(
64 *** Testing hash_hkdf(): RFC 5869 test vectors ***
/php-src/ext/standard/tests/general_functions/
H A Dregister_shutdown_functions_without_previous_call_frame_01.phpt5 register_shutdown_function("forward_static_call", "hash_hkdf");
13 #0 [internal function]: forward_static_call('hash_hkdf')
/php-src/ext/hash/
H A Dhash.stub.php70 function hash_hkdf(string $algo, #[\SensitiveParameter] string $key, int $length = 0, string $info …
H A Dhash_arginfo.h144 ZEND_FUNCTION(hash_hkdf);
172 ZEND_FE(hash_hkdf, arginfo_hash_hkdf)
H A Dhash.c896 PHP_FUNCTION(hash_hkdf) in PHP_FUNCTION() argument

Completed in 20 milliseconds