Lines Matching refs:output
119 char output[MD5_HASH_MAX_LEN], *out; in php_crypt() local
121 out = php_md5_crypt_r(password, salt, output); in php_crypt()
127 char *output; in php_crypt() local
128 output = emalloc(PHP_MAX_SALT_LEN); in php_crypt()
130 crypt_res = php_sha512_crypt_r(password, salt, output, PHP_MAX_SALT_LEN); in php_crypt()
132 ZEND_SECURE_ZERO(output, PHP_MAX_SALT_LEN); in php_crypt()
133 efree(output); in php_crypt()
136 result = zend_string_init(output, strlen(output), 0); in php_crypt()
137 ZEND_SECURE_ZERO(output, PHP_MAX_SALT_LEN); in php_crypt()
138 efree(output); in php_crypt()
142 char *output; in php_crypt() local
143 output = emalloc(PHP_MAX_SALT_LEN); in php_crypt()
145 crypt_res = php_sha256_crypt_r(password, salt, output, PHP_MAX_SALT_LEN); in php_crypt()
147 ZEND_SECURE_ZERO(output, PHP_MAX_SALT_LEN); in php_crypt()
148 efree(output); in php_crypt()
151 result = zend_string_init(output, strlen(output), 0); in php_crypt()
152 ZEND_SECURE_ZERO(output, PHP_MAX_SALT_LEN); in php_crypt()
153 efree(output); in php_crypt()
160 char output[PHP_MAX_SALT_LEN + 1]; in php_crypt() local
162 memset(output, 0, PHP_MAX_SALT_LEN + 1); in php_crypt()
164 crypt_res = php_crypt_blowfish_rn(password, salt, output, sizeof(output)); in php_crypt()
166 ZEND_SECURE_ZERO(output, PHP_MAX_SALT_LEN + 1); in php_crypt()
169 result = zend_string_init(output, strlen(output), 0); in php_crypt()
170 ZEND_SECURE_ZERO(output, PHP_MAX_SALT_LEN + 1); in php_crypt()