Lines Matching refs:hash_len
178 int hash_len; in PHP_FUNCTION() local
182 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hash, &hash_len) == FAILURE) { in PHP_FUNCTION()
186 if (hash_len < 0) { in PHP_FUNCTION()
194 algo = php_password_determine_algo(hash, (size_t) hash_len); in PHP_FUNCTION()
221 int hash_len; in PHP_FUNCTION() local
226 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sl|H", &hash, &hash_len, &new_algo, &options… in PHP_FUNCTION()
230 if (hash_len < 0) { in PHP_FUNCTION()
235 algo = php_password_determine_algo(hash, (size_t) hash_len); in PHP_FUNCTION()
276 int password_len, hash_len; in PHP_FUNCTION() local
279 …rameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &password, &password_len, &hash, &hash_len) == FAILURE) { in PHP_FUNCTION()
282 if (php_crypt(password, password_len, hash, hash_len, &ret) == FAILURE) { in PHP_FUNCTION()
286 if (strlen(ret) != hash_len || hash_len < 13) { in PHP_FUNCTION()
295 for (i = 0; i < hash_len; i++) { in PHP_FUNCTION()
312 int password_len = 0, hash_len; in PHP_FUNCTION() local
436 hash_len = (int) (hash_format_len + salt_len); in PHP_FUNCTION()
438 if (php_crypt(password, password_len, hash, hash_len, &result) == FAILURE) { in PHP_FUNCTION()