Lines Matching refs:NULL

82 		return NULL;  in php_password_make_salt()
89 return NULL; in php_password_make_salt()
97 return NULL; in php_password_make_salt()
107 …php_error_docref(NULL, E_WARNING, "The \"salt\" option has been ignored, since providing a custom … in php_password_get_salt()
146 if (options && (znew_cost = zend_hash_str_find(options, "cost", sizeof("cost")-1)) != NULL) { in php_password_bcrypt_needs_rehash()
185 return NULL; in php_password_bcrypt_hash()
188 if (options && (zcost = zend_hash_str_find(options, "cost", sizeof("cost")-1)) != NULL) { in php_password_bcrypt_hash()
194 return NULL; in php_password_bcrypt_hash()
198 if (!(salt = php_password_get_salt(NULL, Z_UL(22), options))) { in php_password_bcrypt_hash()
199 return NULL; in php_password_bcrypt_hash()
214 return NULL; in php_password_bcrypt_hash()
219 return NULL; in php_password_bcrypt_hash()
283 …&& (option_buffer = zend_hash_str_find(options, "memory_cost", sizeof("memory_cost")-1)) != NULL) { in php_password_argon2_needs_rehash()
287 …ons && (option_buffer = zend_hash_str_find(options, "time_cost", sizeof("time_cost")-1)) != NULL) { in php_password_argon2_needs_rehash()
291 …options && (option_buffer = zend_hash_str_find(options, "threads", sizeof("threads")-1)) != NULL) { in php_password_argon2_needs_rehash()
311 …&& (option_buffer = zend_hash_str_find(options, "memory_cost", sizeof("memory_cost")-1)) != NULL) { in php_password_argon2_hash()
317 return NULL; in php_password_argon2_hash()
320 …ons && (option_buffer = zend_hash_str_find(options, "time_cost", sizeof("time_cost")-1)) != NULL) { in php_password_argon2_hash()
326 return NULL; in php_password_argon2_hash()
329 …options && (option_buffer = zend_hash_str_find(options, "threads", sizeof("threads")-1)) != NULL) { in php_password_argon2_hash()
335 return NULL; in php_password_argon2_hash()
338 if (!(salt = php_password_get_salt(NULL, Z_UL(16), options))) { in php_password_argon2_hash()
339 return NULL; in php_password_argon2_hash()
375 return NULL; in php_password_argon2_hash()
398 NULL,
417 NULL,
423 zend_hash_init(&php_password_algos, 4, NULL, ZVAL_PTR_DTOR, 1); in PHP_MINIT_FUNCTION()
476 return NULL; in php_password_algo_find()
481 return NULL; in php_password_algo_find()
520 return NULL; in php_password_algo_find_zval()
528 return NULL; in php_password_algo_extract_ident()
535 return NULL; in php_password_algo_extract_ident()
614 old_algo = php_password_algo_identify_ex(hash, NULL); in PHP_FUNCTION()
643 zend_string *password, *digest = NULL; in PHP_FUNCTION()
648 zend_array *options = NULL; in PHP_FUNCTION()
666 zend_throw_error(NULL, "Password hashing failed for unknown reason"); in PHP_FUNCTION()