Searched refs:algo (Results 1 - 7 of 7) sorted by relevance
| /PHP_5_5/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 | 89 PHP_HASH_API const php_hash_ops *php_hash_fetch_ops(const char *algo, int algo_len) /* {{{ */ argument 92 char *lower = estrndup(algo, algo_len); 104 PHP_HASH_API void php_hash_register_algo(const char *algo, const php_hash_ops *ops) /* {{{ */ argument 106 int algo_len = strlen(algo); 107 char *lower = estrndup(algo, algo_len); 128 char *algo, *data, *digest; local 135 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|b", &algo, &algo_len, &data, &data_len, &raw_output) == FAILURE) { 139 ops = php_hash_fetch_ops(algo, algo_len); 141 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown hashing algorithm: %s", algo); 188 /* {{{ proto string hash(string algo, strin 243 char *algo, *data, *digest, *key, *K; local 335 char *algo, *key = NULL; local 612 char *returnval, *algo, *salt, *pass = NULL; local [all...] |
| H A D | php_hash.h | 132 PHP_HASH_API const php_hash_ops *php_hash_fetch_ops(const char *algo, int algo_len); 133 PHP_HASH_API void php_hash_register_algo(const char *algo, const php_hash_ops *ops);
|
| /PHP_5_5/ext/standard/ |
| H A D | password.c | 49 static char* php_password_get_algo_name(const php_password_algo algo) argument 51 switch (algo) { 177 php_password_algo algo; local 194 algo = php_password_determine_algo(hash, (size_t) hash_len); 195 algo_name = php_password_get_algo_name(algo); 197 switch (algo) { 212 add_assoc_long(return_value, "algo", algo); 220 php_password_algo algo; local 235 algo 311 long algo = 0; local [all...] |
| H A D | basic_functions.c | 1866 ZEND_ARG_INFO(0, algo) 1874 ZEND_ARG_INFO(0, algo)
|
| /PHP_5_5/ext/openssl/ |
| H A D | openssl.c | 791 static const EVP_CIPHER * php_openssl_get_evp_cipher_from_algo(long algo); 952 static EVP_MD * php_openssl_get_evp_md_from_algo(long algo) { /* {{{ */ argument 955 switch (algo) { 998 static const EVP_CIPHER * php_openssl_get_evp_cipher_from_algo(long algo) { /* {{{ */ argument 999 switch (algo) {
|
| /PHP_5_5/ext/phar/ |
| H A D | phar_object.c | 3081 long algo; local 3093 if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "l|s", &algo, &key, &key_len) != SUCCESS) { 3097 switch (algo) { 3112 phar_obj->arc.archive->sig_flags = algo;
|
Completed in 27 milliseconds