Lines Matching refs:algo

89 PHP_HASH_API const php_hash_ops *php_hash_fetch_ops(const char *algo, int algo_len) /* {{{ */  in php_hash_fetch_ops()  argument
92 char *lower = estrndup(algo, algo_len); in php_hash_fetch_ops()
104 PHP_HASH_API void php_hash_register_algo(const char *algo, const php_hash_ops *ops) /* {{{ */ in php_hash_register_algo() argument
106 int algo_len = strlen(algo); in php_hash_register_algo()
107 char *lower = estrndup(algo, algo_len); in php_hash_register_algo()
128 char *algo, *data, *digest; in php_hash_do_hash() local
135 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|b", &algo, &algo_len, &data, &data_len, &… in php_hash_do_hash()
139 ops = php_hash_fetch_ops(algo, algo_len); in php_hash_do_hash()
141 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown hashing algorithm: %s", algo); in php_hash_do_hash()
244 char *algo, *data, *digest, *key, *K; in php_hash_do_hash_hmac() local
251 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sss|b", &algo, &algo_len, &data, &data_len, in php_hash_do_hash_hmac()
256 ops = php_hash_fetch_ops(algo, algo_len); in php_hash_do_hash_hmac()
258 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown hashing algorithm: %s", algo); in php_hash_do_hash_hmac()
340 char *algo, *key = NULL; in PHP_FUNCTION() local
347 …if (zend_parse_parameters(argc TSRMLS_CC, "s|ls", &algo, &algo_len, &options, &key, &key_len) == F… in PHP_FUNCTION()
351 ops = php_hash_fetch_ops(algo, algo_len); in PHP_FUNCTION()
353 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown hashing algorithm: %s", algo); in PHP_FUNCTION()
617 char *returnval, *algo, *salt, *pass; in PHP_FUNCTION() local
625 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sssl|lb", &algo, &algo_len, &pass, &pass_len… in PHP_FUNCTION()
629 ops = php_hash_fetch_ops(algo, algo_len); in PHP_FUNCTION()
631 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown hashing algorithm: %s", algo); in PHP_FUNCTION()
1131 ZEND_ARG_INFO(0, algo)
1137 ZEND_ARG_INFO(0, algo)
1143 ZEND_ARG_INFO(0, algo)
1150 ZEND_ARG_INFO(0, algo)
1157 ZEND_ARG_INFO(0, algo)
1192 ZEND_ARG_INFO(0, algo)