Searched defs:algo (Results 1 - 3 of 3) sorted by relevance

/PHP_5_4/ext/phar/
H A Dphar_object.c3103 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;
/PHP_5_4/ext/hash/
H A Dhash.c88 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...]
/PHP_5_4/ext/openssl/
H A Dopenssl.c784 static const EVP_CIPHER * php_openssl_get_evp_cipher_from_algo(long algo);
945 static EVP_MD * php_openssl_get_evp_md_from_algo(long algo) { /* {{{ */ argument
948 switch (algo) {
991 static const EVP_CIPHER * php_openssl_get_evp_cipher_from_algo(long algo) { /* {{{ */ argument
992 switch (algo) {

Completed in 18 milliseconds