Home
last modified time | relevance | path

Searched refs:hash_init (Results 1 – 19 of 19) sorted by relevance

/PHP-8.0/ext/hash/tests/
H A Dhash_init_error.phpt2 Hash: hash_init() function - errors test
5 echo "*** Testing hash_init(): error conditions ***\n";
7 echo "\n-- Testing hash_init() function with unknown algorithms --\n";
9 var_dump(hash_init('dummy'));
17 var_dump(hash_init('crc32', HASH_HMAC));
25 var_dump(hash_init('md5', HASH_HMAC));
32 var_dump(hash_init('md5', HASH_HMAC, null));
41 *** Testing hash_init(): error conditions ***
43 -- Testing hash_init() function with unknown algorithms --
44 hash_init(): Argument #1 ($algo) must be a valid hashing algorithm
[all …]
H A Dhmac-md5.phpt6 $ctx = hash_init('md5',HASH_HMAC,str_repeat(chr(0x0b), 16));
10 $ctx = hash_init('md5',HASH_HMAC,'Jefe');
H A Dbug81714.phpt5 $h = hash_init('md5');
H A Dreuse.phpt6 $h = hash_init('md5');
H A Dbug52240.phpt6 $h = hash_init('md5', HASH_HMAC, '123456');
H A Dhash_update_stream.phpt11 $ctx = hash_init('md5');
H A Dhash_update_file.phpt10 $ctx = hash_init('md5');
H A Dhash_update_stream_basic_001.phpt24 $ctx = hash_init('md5');
H A Dhash_serialize_004.phpt7 $ctx = hash_init("sha256");
H A Dhash_serialize_001.phpt10 $ctx0 = hash_init($algo);
27 $orig = hash_init($algo);
31 $fresh = hash_init($algo);
H A Dhash_serialize_003.phpt248 $ctx = hash_init($algo);
H A Dhash-clone.phpt10 $orig = hash_init($algo);
20 $orig = hash_init($algo);
H A Dhash_copy_001.phpt10 $orig = hash_init($algo);
20 $orig = hash_init($algo);
H A Dhash_serialize_002.phpt16 $ctx0 = hash_init($algo, HASH_HMAC, $key);
/PHP-8.0/sapi/fuzzer/
H A Dgenerate_unserializehash_corpus.php7 $ctx = hash_init($algo);
/PHP-8.0/ext/hash/
H A Dhash.c377 ops->hash_init(context); in php_hash_do_hash()
471 ops->hash_init(context); in php_hash_hmac_prep_key()
482 ops->hash_init(context); in php_hash_hmac_round()
525 ops->hash_init(context); in php_hash_do_hash_hmac()
601 PHP_FUNCTION(hash_init) in PHP_FUNCTION() argument
635 ops->hash_init(context); in PHP_FUNCTION()
653 ops->hash_init(context); in PHP_FUNCTION()
918 ops->hash_init(context); in PHP_FUNCTION()
938 ops->hash_init(context); in PHP_FUNCTION()
1010 ops->hash_init(context); in PHP_FUNCTION()
[all …]
H A Dhash_arginfo.h137 ZEND_FUNCTION(hash_init);
173 ZEND_FE(hash_init, arginfo_hash_init)
H A Dhash.stub.php13 function hash_init(string $algo, int $flags = 0, string $key = ""): HashContext {} function
H A Dphp_hash.h43 php_hash_init_func_t hash_init; member

Completed in 26 milliseconds