Home
last modified time | relevance | path

Searched refs:algo (Results 1 – 25 of 36) sorted by relevance

12

/PHP-7.1/ext/hash/tests/
H A Dhaval.phpt10 $algo = sprintf('haval%d,%d',$bits,$pass);
11 echo $algo . ': ' . hash($algo,'') . "\n";
17 $algo = sprintf('haval%d,%d',$bits,$pass);
18 echo $algo . ': ' . hash($algo,'abc') . "\n";
24 $algo = sprintf('haval%d,%d',$bits,$pass);
25 …echo $algo . ': ' . hash($algo,'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMOPQRSTUVWXYZ0123456789abcde…
H A Dmhash_004.phpt10 $algo = MHASH_MD5;
11 var_dump($algo);
12 var_dump(bin2hex(mhash($algo, "test")));
13 var_dump($algo);
H A Dhash_hkdf_edges.phpt8 /* Prototype : string hkdf ( string $algo , string $ikm [, int $length , string $info = '' , s…
20 echo "Non-crypto algo name case-sensitivity:\n";
29 Non-crypto algo name case-sensitivity:
H A Dhash_copy_001.phpt10 foreach ($algos as $algo) {
11 var_dump($algo);
12 $orig = hash_init($algo);
20 foreach ($algos as $algo) {
21 var_dump($algo);
22 $orig = hash_init($algo);
H A Dhash_file_basic.phpt9 /* Prototype : string hash_file(string algo, string filename[, bool raw_output = false])
H A Dhash_error.phpt8 /* Prototype : string hash ( string $algo , string $data [, bool $raw_output ] )
H A Dhash_pbkdf2_basic.phpt8 /* Prototype : string hash_hmac(string $algo, string $data, string $key [, int $length = 0 [, bool…
H A Dhash_hmac_error.phpt8 * proto string hash_hmac ( string algo, string data, string key [, bool raw_output] )
H A Dhash_file_error.phpt9 /* Prototype : string hash_file(string algo, string filename[, bool raw_output = false])
H A Dhash_hmac_file_error.phpt8 /* Prototype : string hash_hmac_file ( string algo, string filename, string key [, bool raw_output…
H A Dhash_file_basic1.phpt8 /* Prototype : string hash_file ( string algo, string filename [, bool raw_output] )
H A Dhash_hmac_basic.phpt8 /* Prototype : string hash_hmac ( string $algo , string $data , string $key [, bool $raw_outpu…
H A Dhash_pbkdf2_error.phpt8 /* {{{ proto string hash_pbkdf2(string algo, string password, string salt, int iterations [, int le…
/PHP-7.1/ext/standard/
H A Dpassword.c51 switch (algo) { in php_password_get_algo_name()
148 php_password_algo algo; in PHP_FUNCTION() local
159 algo = php_password_determine_algo(hash, (size_t) hash_len); in PHP_FUNCTION()
160 algo_name = php_password_get_algo_name(algo); in PHP_FUNCTION()
162 switch (algo) { in PHP_FUNCTION()
177 add_assoc_long(return_value, "algo", algo); in PHP_FUNCTION()
185 php_password_algo algo; in PHP_FUNCTION() local
197 if ((zend_long)algo != new_algo) { in PHP_FUNCTION()
201 switch (algo) { in PHP_FUNCTION()
264 zend_long algo = 0; in PHP_FUNCTION() local
[all …]
/PHP-7.1/ext/hash/
H A Dbench.php79 foreach (hash_algos() as $algo) {
82 hash($algo, $data);
84 $time[$algo] += microtime(true)-$start;
H A Dhash.c116 char *algo, *data; in php_hash_do_hash() local
233 char *algo, *data, *key; in php_hash_do_hash_hmac() local
634 ops = php_hash_fetch_ops(ZSTR_VAL(algo), ZSTR_LEN(algo)); in PHP_FUNCTION()
640 if (!php_hash_is_crypto(ZSTR_VAL(algo), ZSTR_LEN(algo))) { in PHP_FUNCTION()
1250 ZEND_ARG_INFO(0, algo)
1256 ZEND_ARG_INFO(0, algo)
1262 ZEND_ARG_INFO(0, algo)
1269 ZEND_ARG_INFO(0, algo)
1276 ZEND_ARG_INFO(0, algo)
1311 ZEND_ARG_INFO(0, algo)
[all …]
H A Dphp_hash.h145 PHP_HASH_API const php_hash_ops *php_hash_fetch_ops(const char *algo, size_t algo_len);
146 PHP_HASH_API void php_hash_register_algo(const char *algo, const php_hash_ops *ops);
/PHP-7.1/ext/standard/tests/password/
H A Dpassword_get_info.phpt19 ["algo"]=>
30 ["algo"]=>
41 ["algo"]=>
50 ["algo"]=>
/PHP-7.1/ext/mcrypt/tests/
H A Dmcrypt_list_algorithms.phpt7 foreach (mcrypt_list_algorithms() as $algo) {
8 if (in_array($algo, array('rijndael-256', 'des', 'blowfish', 'twofish'))) {
/PHP-7.1/ext/openssl/tests/
H A Dopenssl_spki_new_basic.phpt20 $algo = array(
35 foreach ($algo as $value) {
H A Dopenssl_spki_export_basic.phpt21 $algo = array(
36 foreach ($algo as $value) {
H A Dopenssl_spki_verify_basic.phpt22 $algo = array(
35 foreach ($algo as $value) {
H A Dbug68920.phpt67 Warning: stream_socket_client(): Invalid peer_fingerprint array; [algo => fingerprint] form require…
76 Warning: stream_socket_client(): Invalid peer_fingerprint array; [algo => fingerprint] form require…
H A Dopenssl_spki_export_challenge_basic.phpt23 $algo = array(
38 foreach ($algo as $value) {
/PHP-7.1/ext/standard/tests/array/
H A Dusort_variation11.phpt19 die("Whatever sorting algo you used, this test should never be broken");

Completed in 67 milliseconds

12