Lines Matching refs:algo

83 PHP_HASH_API const php_hash_ops *php_hash_fetch_ops(const char *algo, int algo_len) /* {{{ */  in php_hash_fetch_ops()  argument
86 char *lower = estrndup(algo, algo_len); in php_hash_fetch_ops()
98 PHP_HASH_API void php_hash_register_algo(const char *algo, const php_hash_ops *ops) /* {{{ */ in php_hash_register_algo() argument
100 int algo_len = strlen(algo); in php_hash_register_algo()
101 char *lower = estrndup(algo, algo_len); in php_hash_register_algo()
122 char *algo, *data, *digest; in php_hash_do_hash() local
129 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|b", &algo, &algo_len, &data, &data_len, &… in php_hash_do_hash()
133 ops = php_hash_fetch_ops(algo, algo_len); in php_hash_do_hash()
135 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown hashing algorithm: %s", algo); in php_hash_do_hash()
199 char *algo, *data, *digest, *key, *K; in php_hash_do_hash_hmac() local
206 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sss|b", &algo, &algo_len, &data, &data_len, in php_hash_do_hash_hmac()
211 ops = php_hash_fetch_ops(algo, algo_len); in php_hash_do_hash_hmac()
213 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown hashing algorithm: %s", algo); in php_hash_do_hash_hmac()
314 char *algo, *key = NULL; in PHP_FUNCTION() local
321 …if (zend_parse_parameters(argc TSRMLS_CC, "s|ls", &algo, &algo_len, &options, &key, &key_len) == F… in PHP_FUNCTION()
325 ops = php_hash_fetch_ops(algo, algo_len); in PHP_FUNCTION()
327 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown hashing algorithm: %s", algo); in PHP_FUNCTION()
937 ZEND_ARG_INFO(0, algo)
943 ZEND_ARG_INFO(0, algo)
949 ZEND_ARG_INFO(0, algo)
956 ZEND_ARG_INFO(0, algo)
963 ZEND_ARG_INFO(0, algo)