Searched refs:hash_init (Results 1 – 25 of 29) sorted by relevance
12
/php-src/ext/hash/tests/ |
H A D | hash_init_error.phpt | 2 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 D | xxhash_seed_deprecation.phpt | 7 hash_init($a, options: ["seed" => "42"]); 12 hash_init($a, options: ["secret" => 42]); 18 Deprecated: hash_init(): Passing a seed of a type other than int is deprecated because it is the sa… 20 Deprecated: hash_init(): Passing a seed of a type other than int is deprecated because it is the sa… 22 Deprecated: hash_init(): Passing a seed of a type other than int is deprecated because it is ignore… 24 Deprecated: hash_init(): Passing a seed of a type other than int is deprecated because it is ignore… 26 Deprecated: hash_init(): Passing a secret of a type other than string is deprecated because it impl… 28 Deprecated: hash_init(): Passing a secret of a type other than string is deprecated because it impl…
|
H A D | murmur_seed_deprecation.phpt | 7 hash_init($a, options: ["seed" => "42"]); 12 Deprecated: hash_init(): Passing a seed of a type other than int is deprecated because it is the sa… 14 Deprecated: hash_init(): Passing a seed of a type other than int is deprecated because it is the sa… 16 Deprecated: hash_init(): Passing a seed of a type other than int is deprecated because it is the sa…
|
H A D | xxhash_secret.phpt | 19 $ctx = hash_init($a, options: ["seed" => 24, "secret" => $secret]); 25 $ctx = hash_init($a, options: ["secret" => new StringableThrowingClass()]); 31 $ctx = hash_init($a, options: ["secret" => str_repeat('a', 17)]); 36 $ctx = hash_init($a, options: ["secret" => $secret]); 52 Deprecated: hash_init(): Passing a secret of a type other than string is deprecated because it impl… 58 Deprecated: hash_init(): Passing a secret of a type other than string is deprecated because it impl…
|
H A D | HashContext_debugInfo.phpt | 6 var_dump(hash_init('sha256')); 7 var_dump(hash_init('sha3-512'));
|
H A D | murmurhash3.phpt | 19 $ctx = hash_init("murmur3a"); 26 $ctx = hash_init("murmur3c"); 33 $ctx = hash_init("murmur3f");
|
H A D | xxh3_convert_secret_to_string.phpt | 6 hash_init("xxh3", options: $x = ["secret" => 4]); 11 Deprecated: hash_init(): Passing a secret of a type other than string is deprecated because it impl…
|
H A D | hmac-md5.phpt | 6 $ctx = hash_init('md5',HASH_HMAC,str_repeat(chr(0x0b), 16)); 10 $ctx = hash_init('md5',HASH_HMAC,'Jefe');
|
H A D | murmurhash3_seed.phpt | 6 $ctx = hash_init("murmur3f", options: ["seed" => 42]); 19 $ctx = hash_init("murmur3c", options: ["seed" => 106]); 32 $ctx = hash_init("murmur3a", options: ["seed" => 2345]);
|
H A D | bug81714.phpt | 5 $h = hash_init('md5');
|
H A D | gh12186_2.phpt | 6 $c = hash_init('sha1');
|
H A D | reuse.phpt | 6 $h = hash_init('md5');
|
H A D | gh12186_1.phpt | 6 $c = hash_init('sha1');
|
H A D | bug52240.phpt | 6 $h = hash_init('md5', HASH_HMAC, '123456');
|
H A D | hash_update_stream.phpt | 11 $ctx = hash_init('md5');
|
H A D | hash_update_file.phpt | 10 $ctx = hash_init('md5');
|
H A D | xxhash_seed.phpt | 8 $ctx = hash_init($a, options: ["seed" => 42]);
|
H A D | hash_update_stream_basic_001.phpt | 22 $ctx = hash_init('md5');
|
H A D | hash_serialize_004.phpt | 7 $ctx = hash_init("sha256");
|
H A D | hash_serialize_001.phpt | 11 $ctx0 = hash_init($algo); 29 $orig = hash_init($algo); 33 $fresh = hash_init($algo);
|
H A D | hash_serialize_003.phpt | 248 $ctx = hash_init($algo);
|
/php-src/sapi/fuzzer/ |
H A D | generate_unserializehash_corpus.php | 7 $ctx = hash_init($algo);
|
/php-src/ext/hash/ |
H A D | hash.c | 384 ops->hash_init(context, args); in php_hash_do_hash() 482 ops->hash_init(context, NULL); in php_hash_hmac_prep_key() 493 ops->hash_init(context, NULL); in php_hash_hmac_round() 536 ops->hash_init(context, NULL); in php_hash_do_hash_hmac() 612 PHP_FUNCTION(hash_init) in PHP_FUNCTION() argument 647 ops->hash_init(context, args); in PHP_FUNCTION() 665 ops->hash_init(context, args); in PHP_FUNCTION() 934 ops->hash_init(context, NULL); in PHP_FUNCTION() 954 ops->hash_init(context, NULL); in PHP_FUNCTION() 1027 ops->hash_init(context, args); in PHP_FUNCTION() [all …]
|
H A D | hash.stub.php | 30 function hash_init(string $algo, int $flags = 0, #[\SensitiveParameter] string $key = "", array $op…
|
H A D | hash_arginfo.h | 134 ZEND_FUNCTION(hash_init); 162 ZEND_FE(hash_init, arginfo_hash_init)
|
Completed in 32 milliseconds
12