/PHP-5.6/ext/hash/tests/ |
H A D | haval.phpt | 10 $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 D | mhash_004.phpt | 10 $algo = MHASH_MD5; 11 var_dump($algo); 12 var_dump(bin2hex(mhash($algo, "test"))); 13 var_dump($algo);
|
H A D | hash_copy_001.phpt | 10 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 D | hash_file_basic.phpt | 9 /* Prototype : string hash_file(string algo, string filename[, bool raw_output = false])
|
H A D | hash_error.phpt | 8 /* Prototype : string hash ( string $algo , string $data [, bool $raw_output ] )
|
H A D | hash_pbkdf2_basic.phpt | 8 /* Prototype : string hash_hmac(string $algo, string $data, string $key [, int $length = 0 [, bool…
|
H A D | hash_hmac_error.phpt | 8 * proto string hash_hmac ( string algo, string data, string key [, bool raw_output] )
|
H A D | hash_file_error.phpt | 9 /* Prototype : string hash_file(string algo, string filename[, bool raw_output = false])
|
H A D | hash_hmac_file_error.phpt | 8 /* Prototype : string hash_hmac_file ( string algo, string filename, string key [, bool raw_output…
|
H A D | hash_file_basic1.phpt | 8 /* Prototype : string hash_file ( string algo, string filename [, bool raw_output] )
|
H A D | hash_hmac_basic.phpt | 8 /* Prototype : string hash_hmac ( string $algo , string $data , string $key [, bool $raw_outpu…
|
H A D | hash_pbkdf2_error.phpt | 8 /* {{{ proto string hash_pbkdf2(string algo, string password, string salt, int iterations [, int le…
|
H A D | hash_hmac_file_basic.phpt | 9 /* Prototype : string hash_hmac_file ( string algo, string filename, string key [, bool raw_output…
|
/PHP-5.6/ext/hash/ |
H A D | bench.php | 79 foreach (hash_algos() as $algo) { 82 hash($algo, $data); 84 $time[$algo] += microtime(true)-$start;
|
H A D | hash.c | 92 char *lower = estrndup(algo, algo_len); in php_hash_fetch_ops() 106 int algo_len = strlen(algo); in php_hash_register_algo() 128 char *algo, *data, *digest; in php_hash_do_hash() local 244 char *algo, *data, *digest, *key, *K; in php_hash_do_hash_hmac() local 340 char *algo, *key = NULL; in PHP_FUNCTION() local 1131 ZEND_ARG_INFO(0, algo) 1137 ZEND_ARG_INFO(0, algo) 1143 ZEND_ARG_INFO(0, algo) 1150 ZEND_ARG_INFO(0, algo) 1157 ZEND_ARG_INFO(0, algo) [all …]
|
H A D | php_hash.h | 141 PHP_HASH_API const php_hash_ops *php_hash_fetch_ops(const char *algo, int algo_len); 142 PHP_HASH_API void php_hash_register_algo(const char *algo, const php_hash_ops *ops);
|
/PHP-5.6/ext/standard/tests/password/ |
H A D | password_get_info.phpt | 19 ["algo"]=> 30 ["algo"]=> 41 ["algo"]=> 50 ["algo"]=>
|
/PHP-5.6/ext/standard/ |
H A D | password.c | 51 switch (algo) { in php_password_get_algo_name() 177 php_password_algo algo; in PHP_FUNCTION() local 194 algo = php_password_determine_algo(hash, (size_t) hash_len); in PHP_FUNCTION() 195 algo_name = php_password_get_algo_name(algo); in PHP_FUNCTION() 197 switch (algo) { in PHP_FUNCTION() 212 add_assoc_long(return_value, "algo", algo); in PHP_FUNCTION() 220 php_password_algo algo; in PHP_FUNCTION() local 237 if (algo != new_algo) { in PHP_FUNCTION() 241 switch (algo) { in PHP_FUNCTION() 311 long algo = 0; in PHP_FUNCTION() local [all …]
|
/PHP-5.6/ext/mcrypt/tests/ |
H A D | mcrypt_list_algorithms.phpt | 7 foreach (mcrypt_list_algorithms() as $algo) { 8 if (in_array($algo, array('rijndael-256', 'des', 'blowfish', 'twofish'))) {
|
/PHP-5.6/ext/openssl/tests/ |
H A D | openssl_spki_new_basic.phpt | 20 $algo = array( 35 foreach ($algo as $value) {
|
H A D | openssl_spki_export_basic.phpt | 21 $algo = array( 36 foreach ($algo as $value) {
|
H A D | openssl_spki_verify_basic.phpt | 22 $algo = array( 35 foreach ($algo as $value) {
|
H A D | bug68920.phpt | 65 Warning: stream_socket_client(): Invalid peer_fingerprint array; [algo => fingerprint] form require… 74 Warning: stream_socket_client(): Invalid peer_fingerprint array; [algo => fingerprint] form require…
|
H A D | openssl_spki_export_challenge_basic.phpt | 23 $algo = array( 38 foreach ($algo as $value) {
|
/PHP-5.6/ext/openssl/ |
H A D | openssl.c | 413 ZEND_ARG_INFO(0, algo) 856 static const EVP_CIPHER * php_openssl_get_evp_cipher_from_algo(long algo); 1038 static EVP_MD * php_openssl_get_evp_md_from_algo(long algo) { /* {{{ */ in php_openssl_get_evp_md_from_algo() argument 1041 switch (algo) { in php_openssl_get_evp_md_from_algo() 1084 static const EVP_CIPHER * php_openssl_get_evp_cipher_from_algo(long algo) { /* {{{ */ in php_openssl_get_evp_cipher_from_algo() argument 1085 switch (algo) { in php_openssl_get_evp_cipher_from_algo() 1485 long algo = OPENSSL_ALGO_MD5; in PHP_FUNCTION() local 1507 algo = Z_LVAL_P(method); in PHP_FUNCTION() 1513 mdtype = php_openssl_get_evp_md_from_algo(algo); in PHP_FUNCTION()
|