Searched refs:hash_hkdf (Results 1 – 7 of 7) sorted by relevance
/PHP-7.2/ext/hash/tests/ |
H A D | hash_hkdf_basic.phpt | 2 Test hash_hkdf() function: basic functionality 13 echo "*** Testing hash_hkdf(): basic functionality ***\n"; 17 echo 'md2: ', bin2hex(hash_hkdf('md2', $ikm)), "\n"; 18 echo 'md4: ', bin2hex(hash_hkdf('md4', $ikm)), "\n"; 19 echo 'md5: ', bin2hex(hash_hkdf('md5', $ikm)), "\n"; 20 echo 'sha1: ', bin2hex(hash_hkdf('sha1', $ikm)), "\n"; 21 echo 'sha224: ', bin2hex(hash_hkdf('sha224', $ikm)), "\n"; 22 echo 'sha256: ', bin2hex(hash_hkdf('sha256', $ikm)), "\n"; 23 echo 'sha384: ', bin2hex(hash_hkdf('sha384', $ikm)), "\n"; 53 echo 'gost: ', bin2hex(hash_hkdf('gost', $ikm)), "\n"; [all …]
|
H A D | hash_hkdf_error.phpt | 2 Test hash_hkdf() function: error conditions 18 var_dump(hash_hkdf()); 19 var_dump(hash_hkdf('sha1')); 25 var_dump(hash_hkdf('foo', $ikm)); 28 var_dump(hash_hkdf('adler32', $ikm)); 29 var_dump(hash_hkdf('crc32', $ikm)); 30 var_dump(hash_hkdf('crc32b', $ikm)); 31 var_dump(hash_hkdf('fnv132', $ikm)); 33 var_dump(hash_hkdf('fnv164', $ikm)); 35 var_dump(hash_hkdf('joaat', $ikm)); [all …]
|
H A D | hash_hkdf_edges.phpt | 2 Test hash_hkdf() function: edge cases 13 echo "*** Testing hash_hkdf(): edge cases ***\n"; 17 echo 'Length < digestSize: ', bin2hex(hash_hkdf('md5', $ikm, 7)), "\n"; 18 echo 'Length % digestSize != 0: ', bin2hex(hash_hkdf('md5', $ikm, 17)), "\n"; 19 echo 'Algo name case-sensitivity: ', (bin2hex(hash_hkdf('Md5', $ikm, 7)) === '98b16391063ece' ? 'tr… 21 var_dump(hash_hkdf('jOaAt', $ikm)); 25 *** Testing hash_hkdf(): edge cases *** 31 Warning: hash_hkdf(): Non-cryptographic hashing algorithm: jOaAt in %s on line %d
|
H A D | hash_hkdf_rfc5869.phpt | 2 Test hash_hkdf() function: RFC 5869 test vectors 13 echo "*** Testing hash_hkdf(): RFC 5869 test vectors ***\n"; 15 bin2hex(hash_hkdf( 23 bin2hex(hash_hkdf( 31 bin2hex(hash_hkdf( 39 bin2hex(hash_hkdf( 47 bin2hex(hash_hkdf( 55 bin2hex(hash_hkdf( 63 bin2hex(hash_hkdf( 72 *** Testing hash_hkdf(): RFC 5869 test vectors ***
|
/PHP-7.2/ext/hash/ |
H A D | php_hash.h | 139 PHP_FUNCTION(hash_hkdf);
|
H A D | hash.c | 618 PHP_FUNCTION(hash_hkdf) in PHP_FUNCTION() argument 1451 PHP_FE(hash_hkdf, arginfo_hash_hkdf)
|
/PHP-7.2/ |
H A D | NEWS | 2291 . Added hash_hkdf() function. (Andrey Andreev)
|
Completed in 26 milliseconds