Lines Matching defs:hash
192 static zend_bool php_password_bcrypt_valid(const zend_string *hash) { in php_password_bcrypt_valid()
198 static int php_password_bcrypt_get_info(zval *return_value, const zend_string *hash) { in php_password_bcrypt_get_info()
212 static zend_bool php_password_bcrypt_needs_rehash(const zend_string *hash, zend_array *options) { in php_password_bcrypt_needs_rehash()
230 static zend_bool php_password_bcrypt_verify(const zend_string *password, const zend_string *hash) { in php_password_bcrypt_verify()
259 zend_string *result, *hash, *salt; in php_password_bcrypt_hash() local
280 ZSTR_VAL(hash)[hash_format_len + ZSTR_LEN(salt)] = 0; in php_password_bcrypt_hash() local
313 static int extract_argon2_parameters(const zend_string *hash, in extract_argon2_parameters()
336 static int php_password_argon2_get_info(zval *return_value, const zend_string *hash) { in php_password_argon2_get_info()
351 static zend_bool php_password_argon2_needs_rehash(const zend_string *hash, zend_array *options) { in php_password_argon2_needs_rehash()
459 static zend_bool php_password_argon2i_verify(const zend_string *password, const zend_string *hash) { in php_password_argon2i_verify()
478 static zend_bool php_password_argon2id_verify(const zend_string *password, const zend_string *hash)… in php_password_argon2id_verify()
604 zend_string *php_password_algo_extract_ident(const zend_string* hash) { in php_password_algo_extract_ident()
622 const php_password_algo* php_password_algo_identify_ex(const zend_string* hash, const php_password_… in php_password_algo_identify_ex()
640 zend_string *hash, *ident; in PHP_FUNCTION() local
681 zend_string *hash; in PHP_FUNCTION() local
712 zend_string *password, *hash; in PHP_FUNCTION() local