Lines Matching refs:outbuf

7208 	zend_string *outbuf = NULL;  in php_openssl_encrypt()  local
7233 php_openssl_cipher_update(cipher_type, cipher_ctx, &mode, &outbuf, &outlen, in php_openssl_encrypt()
7235 outbuf = NULL; in php_openssl_encrypt()
7236 } else if (EVP_EncryptFinal(cipher_ctx, (unsigned char *)ZSTR_VAL(outbuf) + outlen, &i)) { in php_openssl_encrypt()
7239 ZSTR_VAL(outbuf)[outlen] = '\0'; in php_openssl_encrypt() local
7240 ZSTR_LEN(outbuf) = outlen; in php_openssl_encrypt()
7244 base64_str = php_base64_encode((unsigned char*)ZSTR_VAL(outbuf), outlen); in php_openssl_encrypt()
7245 zend_string_release_ex(outbuf, 0); in php_openssl_encrypt()
7246 outbuf = base64_str; in php_openssl_encrypt()
7258 zend_string_release_ex(outbuf, 0); in php_openssl_encrypt()
7259 outbuf = NULL; in php_openssl_encrypt()
7265 zend_string_release_ex(outbuf, 0); in php_openssl_encrypt()
7266 outbuf = NULL; in php_openssl_encrypt()
7270 zend_string_release_ex(outbuf, 0); in php_openssl_encrypt()
7271 outbuf = NULL; in php_openssl_encrypt()
7282 return outbuf; in php_openssl_encrypt()
7322 zend_string *outbuf = NULL; in php_openssl_decrypt() local
7358 php_openssl_cipher_update(cipher_type, cipher_ctx, &mode, &outbuf, &outlen, in php_openssl_decrypt()
7360 outbuf = NULL; in php_openssl_decrypt()
7362 EVP_DecryptFinal(cipher_ctx, (unsigned char *)ZSTR_VAL(outbuf) + outlen, &i)) { in php_openssl_decrypt()
7364 ZSTR_VAL(outbuf)[outlen] = '\0'; in php_openssl_decrypt() local
7365 ZSTR_LEN(outbuf) = outlen; in php_openssl_decrypt()
7368 zend_string_release_ex(outbuf, 0); in php_openssl_decrypt()
7369 outbuf = NULL; in php_openssl_decrypt()
7383 return outbuf; in php_openssl_decrypt()