Lines Matching refs:crypt_res
84 char *crypt_res; in php_crypt() local
109 crypt_res = php_sha512_crypt_r(password, salt, output, PHP_MAX_SALT_LEN); in php_crypt()
110 if (!crypt_res) { in php_crypt()
124 crypt_res = php_sha256_crypt_r(password, salt, output, PHP_MAX_SALT_LEN); in php_crypt()
125 if (!crypt_res) { in php_crypt()
144 crypt_res = php_crypt_blowfish_rn(password, salt, output, sizeof(output)); in php_crypt()
145 if (!crypt_res) { in php_crypt()
159 crypt_res = _crypt_extended_r((const unsigned char *) password, salt, &buffer); in php_crypt()
160 if (!crypt_res || (salt[0] == '*' && salt[1] == '0')) { in php_crypt()
163 result = zend_string_init(crypt_res, strlen(crypt_res), 0); in php_crypt()
182 crypt_res = crypt_r(password, salt, &buffer); in php_crypt()
184 crypt_res = crypt(password, salt); in php_crypt()
190 if (!crypt_res || (salt[0] == '*' && salt[1] == '0')) { in php_crypt()
193 result = zend_string_init(crypt_res, strlen(crypt_res), 0); in php_crypt()