Lines Matching refs:hash_str
1564 zend_string *hash_str; in PHP_FUNCTION() local
1598 hash_str = zend_string_alloc(crypto_pwhash_STRBYTES - 1, 0); in PHP_FUNCTION()
1600 (ZSTR_VAL(hash_str), passwd, (unsigned long long) passwd_len, in PHP_FUNCTION()
1602 zend_string_efree(hash_str); in PHP_FUNCTION()
1606 ZSTR_VAL(hash_str)[crypto_pwhash_STRBYTES - 1] = 0; in PHP_FUNCTION() local
1608 len = strlen(ZSTR_VAL(hash_str)); in PHP_FUNCTION()
1609 PHP_SODIUM_ZSTR_TRUNCATE(hash_str, len); in PHP_FUNCTION()
1611 RETURN_NEW_STR(hash_str); in PHP_FUNCTION()
1617 char *hash_str; in PHP_FUNCTION() local
1623 &hash_str, &hash_str_len, &opslimit, &memlimit) == FAILURE) { in PHP_FUNCTION()
1626 if (crypto_pwhash_str_needs_rehash(hash_str, opslimit, memlimit) == 0) { in PHP_FUNCTION()
1635 char *hash_str; in PHP_FUNCTION() local
1641 &hash_str, &hash_str_len, in PHP_FUNCTION()
1654 (hash_str, passwd, (unsigned long long) passwd_len) == 0) { in PHP_FUNCTION()
1722 zend_string *hash_str; in PHP_FUNCTION() local
1751 hash_str = zend_string_alloc in PHP_FUNCTION()
1754 (ZSTR_VAL(hash_str), passwd, (unsigned long long) passwd_len, in PHP_FUNCTION()
1756 zend_string_efree(hash_str); in PHP_FUNCTION()
1760 ZSTR_VAL(hash_str)[crypto_pwhash_scryptsalsa208sha256_STRBYTES - 1] = 0; in PHP_FUNCTION() local
1762 RETURN_NEW_STR(hash_str); in PHP_FUNCTION()
1767 char *hash_str; in PHP_FUNCTION() local
1773 &hash_str, &hash_str_len, in PHP_FUNCTION()
1786 (hash_str, passwd, (unsigned long long) passwd_len) == 0) { in PHP_FUNCTION()