Searched refs:algo (Results 1 - 7 of 7) sorted by relevance

/PHP_TRUNK/ext/hash/
H A Dbench.php79 foreach (hash_algos() as $algo) {
82 hash($algo, $data);
84 $time[$algo] += microtime(true)-$start;
H A Dhash.c89 PHP_HASH_API const php_hash_ops *php_hash_fetch_ops(const char *algo, size_t algo_len) /* {{{ */ argument
91 char *lower = zend_str_tolower_dup(algo, algo_len);
99 PHP_HASH_API void php_hash_register_algo(const char *algo, const php_hash_ops *ops) /* {{{ */ argument
101 int algo_len = strlen(algo);
102 char *lower = zend_str_tolower_dup(algo, algo_len);
122 char *algo, *data; local
129 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|b", &algo, &algo_len, &data, &data_len, &raw_output) == FAILURE) {
133 ops = php_hash_fetch_ops(algo, algo_len);
135 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown hashing algorithm: %s", algo);
182 /* {{{ proto string hash(string algo, strin
238 char *algo, *data, *key; local
331 char *algo, *key = NULL; local
604 char *algo, *salt, *pass = NULL; local
[all...]
H A Dphp_hash.h141 PHP_HASH_API const php_hash_ops *php_hash_fetch_ops(const char *algo, size_t algo_len);
142 PHP_HASH_API void php_hash_register_algo(const char *algo, const php_hash_ops *ops);
/PHP_TRUNK/ext/phar/
H A Dphar_object.c2975 zend_long algo; local
2987 if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "l|s", &algo, &key, &key_len) != SUCCESS) {
2991 switch (algo) {
3006 phar_obj->archive->sig_flags = algo;
/PHP_TRUNK/ext/openssl/
H A Dopenssl.c412 ZEND_ARG_INFO(0, algo)
852 static const EVP_CIPHER * php_openssl_get_evp_cipher_from_algo(zend_long algo);
1015 static EVP_MD * php_openssl_get_evp_md_from_algo(zend_long algo) { /* {{{ */ argument
1018 switch (algo) {
1061 static const EVP_CIPHER * php_openssl_get_evp_cipher_from_algo(zend_long algo) { /* {{{ */ argument
1062 switch (algo) {
1456 zend_long algo = OPENSSL_ALGO_MD5; local
1478 algo = Z_LVAL_P(method);
1484 mdtype = php_openssl_get_evp_md_from_algo(algo);
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.c1831 ZEND_ARG_INFO(0, algo)
1839 ZEND_ARG_INFO(0, algo)
H A Dpassword.c49 static char* php_password_get_algo_name(const php_password_algo algo) argument
51 switch (algo) {
176 php_password_algo algo; local
187 algo = php_password_determine_algo(hash, (size_t) hash_len);
188 algo_name = php_password_get_algo_name(algo);
190 switch (algo) {
205 add_assoc_long(return_value, "algo", algo);
213 php_password_algo algo; local
223 algo
300 zend_long algo = 0; local
[all...]

Completed in 28 milliseconds