Lines Matching refs:crypt_res
72 char *crypt_res; in php_crypt() local
97 crypt_res = php_sha512_crypt_r(password, salt, output, PHP_MAX_SALT_LEN); in php_crypt()
98 if (!crypt_res) { in php_crypt()
112 crypt_res = php_sha256_crypt_r(password, salt, output, PHP_MAX_SALT_LEN); in php_crypt()
113 if (!crypt_res) { in php_crypt()
132 crypt_res = php_crypt_blowfish_rn(password, salt, output, sizeof(output)); in php_crypt()
133 if (!crypt_res) { in php_crypt()
147 crypt_res = _crypt_extended_r((const unsigned char *) password, salt, &buffer); in php_crypt()
148 if (!crypt_res || (salt[0] == '*' && salt[1] == '0')) { in php_crypt()
151 result = zend_string_init(crypt_res, strlen(crypt_res), 0); in php_crypt()
170 crypt_res = crypt_r(password, salt, &buffer); in php_crypt()
172 crypt_res = crypt(password, salt); in php_crypt()
178 if (!crypt_res || (salt[0] == '*' && salt[1] == '0')) { in php_crypt()
181 else if (!strcmp(crypt_res, "*")) { in php_crypt()
193 result = zend_string_init(crypt_res, strlen(crypt_res), 0); in php_crypt()