Lines Matching refs:algo_len
87 PHP_HASH_API const php_hash_ops *php_hash_fetch_ops(const char *algo, size_t algo_len) /* {{{ */ in php_hash_fetch_ops() argument
89 char *lower = zend_str_tolower_dup(algo, algo_len); in php_hash_fetch_ops()
90 php_hash_ops *ops = zend_hash_str_find_ptr(&php_hash_hashtable, lower, algo_len); in php_hash_fetch_ops()
99 size_t algo_len = strlen(algo); in php_hash_register_algo() local
100 char *lower = zend_str_tolower_dup(algo, algo_len); in php_hash_register_algo()
101 zend_hash_str_add_ptr(&php_hash_hashtable, lower, algo_len, (void *) ops); in php_hash_register_algo()
121 size_t algo_len, data_len; in php_hash_do_hash() local
127 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss|b", &algo, &algo_len, &data, &data_len, &raw_output… in php_hash_do_hash()
131 ops = php_hash_fetch_ops(algo, algo_len); in php_hash_do_hash()
239 size_t algo_len, data_len, key_len; in php_hash_do_hash_hmac() local
245 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sss|b", &algo, &algo_len, &data, &data_len, in php_hash_do_hash_hmac()
250 ops = php_hash_fetch_ops(algo, algo_len); in php_hash_do_hash_hmac()
722 size_t algo_len, pass_len, salt_len = 0; in PHP_FUNCTION() local
727 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "sssl|lb", &algo, &algo_len, &pass, &pass_len, &salt, &… in PHP_FUNCTION()
731 ops = php_hash_fetch_ops(algo, algo_len); in PHP_FUNCTION()