Home
last modified time | relevance | path

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

/PHP-8.1/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-8.1/ext/hash/
H A Dhash.stub.php52 function hash_hkdf(string $algo, string $key, int $length = 0, string $info = "", string $salt = ""… function
H A Dhash_arginfo.h151 ZEND_FUNCTION(hash_hkdf);
187 ZEND_FE(hash_hkdf, arginfo_hash_hkdf)
H A Dhash.c896 PHP_FUNCTION(hash_hkdf) in PHP_FUNCTION() argument

Completed in 15 milliseconds