Home
last modified time | relevance | path

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

/PHP-5.3/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.phpt12 $algo = MHASH_MD5;
13 var_dump($algo);
14 var_dump(bin2hex(mhash($algo, "test")));
15 var_dump($algo);
H A Dhash_copy_001.phpt10 foreach ($algos as $algo) {
11 $orig = hash_init($algo);
19 foreach ($algos as $algo) {
20 $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_hmac_error.phpt8 * proto string hash_hmac ( string algo, string data, string key [, bool raw_output] )
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_error.phpt9 /* Prototype : string hash_file(string algo, string filename[, bool raw_output = false])
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_hmac_file_basic.phpt9 /* Prototype : string hash_hmac_file ( string algo, string filename, string key [, bool raw_output…
/PHP-5.3/ext/hash/
H A Dbench.php79 foreach (hash_algos() as $algo) {
82 hash($algo, $data);
84 $time[$algo] += microtime(true)-$start;
H A Dhash.c86 char *lower = estrndup(algo, algo_len); in php_hash_fetch_ops()
100 int algo_len = strlen(algo); in php_hash_register_algo()
101 char *lower = estrndup(algo, algo_len); in php_hash_register_algo()
122 char *algo, *data, *digest; in php_hash_do_hash() local
199 char *algo, *data, *digest, *key, *K; in php_hash_do_hash_hmac() local
314 char *algo, *key = NULL; in PHP_FUNCTION() local
937 ZEND_ARG_INFO(0, algo)
943 ZEND_ARG_INFO(0, algo)
949 ZEND_ARG_INFO(0, algo)
956 ZEND_ARG_INFO(0, algo)
[all …]
H A Dphp_hash.h130 PHP_HASH_API const php_hash_ops *php_hash_fetch_ops(const char *algo, int algo_len);
131 PHP_HASH_API void php_hash_register_algo(const char *algo, const php_hash_ops *ops);
/PHP-5.3/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-5.3/ext/openssl/
H A Dopenssl.c924 static EVP_MD * php_openssl_get_evp_md_from_algo(long algo) { /* {{{ */ in php_openssl_get_evp_md_from_algo() argument
927 switch (algo) { in php_openssl_get_evp_md_from_algo()
953 static const EVP_CIPHER * php_openssl_get_evp_cipher_from_algo(long algo) { /* {{{ */ in php_openssl_get_evp_cipher_from_algo() argument
954 switch (algo) { in php_openssl_get_evp_cipher_from_algo()
/PHP-5.3/ext/phar/
H A Dphar_object.c3100 long algo; local
3112 …if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "l|s", &algo, &ke…
3116 switch (algo) {
3131 phar_obj->arc.archive->sig_flags = algo;
/PHP-5.3/ext/phar/phar/
H A Dpharcommand.inc74 'inf' => '<algo> Compression algorithm.',

Completed in 52 milliseconds