Searched refs:algo (Results 1 - 5 of 5) sorted by relevance
| /PHP_5_4/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 | 88 PHP_HASH_API const php_hash_ops *php_hash_fetch_ops(const char *algo, int algo_len) /* {{{ */ argument 91 char *lower = estrndup(algo, algo_len); 103 PHP_HASH_API void php_hash_register_algo(const char *algo, const php_hash_ops *ops) /* {{{ */ argument 105 int algo_len = strlen(algo); 106 char *lower = estrndup(algo, algo_len); 127 char *algo, *data, *digest; local 134 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|b", &algo, &algo_len, &data, &data_len, &raw_output) == FAILURE) { 138 ops = php_hash_fetch_ops(algo, algo_len); 140 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown hashing algorithm: %s", algo); 187 /* {{{ proto string hash(string algo, strin 207 char *algo, *data, *digest, *key, *K; local 322 char *algo, *key = NULL; local [all...] |
| H A D | php_hash.h | 131 PHP_HASH_API const php_hash_ops *php_hash_fetch_ops(const char *algo, int algo_len); 132 PHP_HASH_API void php_hash_register_algo(const char *algo, const php_hash_ops *ops);
|
| /PHP_5_4/ext/openssl/ |
| H A D | openssl.c | 781 static const EVP_CIPHER * php_openssl_get_evp_cipher_from_algo(long algo); 942 static EVP_MD * php_openssl_get_evp_md_from_algo(long algo) { /* {{{ */ argument 945 switch (algo) { 988 static const EVP_CIPHER * php_openssl_get_evp_cipher_from_algo(long algo) { /* {{{ */ argument 989 switch (algo) {
|
| /PHP_5_4/ext/phar/ |
| H A D | phar_object.c | 3103 long algo; local 3115 if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "l|s", &algo, &key, &key_len) != SUCCESS) { 3119 switch (algo) { 3134 phar_obj->arc.archive->sig_flags = algo;
|
Completed in 19 milliseconds