Lines Matching refs:salt
180 zend_string *result, *hash, *salt; in php_password_bcrypt_hash() local
199 if (!(salt = php_password_get_salt(NULL, Z_UL(22), options))) { in php_password_bcrypt_hash()
202 ZSTR_VAL(salt)[ZSTR_LEN(salt)] = 0; in php_password_bcrypt_hash() local
204 hash = zend_string_concat2(hash_format, hash_format_len, ZSTR_VAL(salt), ZSTR_LEN(salt)); in php_password_bcrypt_hash()
206 zend_string_release_ex(salt, 0); in php_password_bcrypt_hash()
303 zend_string *salt, *out, *encoded; in php_password_argon2_hash() local
337 if (!(salt = php_password_get_salt(NULL, Z_UL(16), options))) { in php_password_argon2_hash()
346 (uint32_t)ZSTR_LEN(salt), in php_password_argon2_hash()
358 ZSTR_VAL(salt), in php_password_argon2_hash()
359 ZSTR_LEN(salt), in php_password_argon2_hash()
369 zend_string_release_ex(salt, 0); in php_password_argon2_hash()