Lines Matching refs:outbuf

7628 	zend_string *outbuf = NULL;  in php_openssl_encrypt()  local
7653 php_openssl_cipher_update(cipher_type, cipher_ctx, &mode, &outbuf, &outlen, in php_openssl_encrypt()
7655 outbuf = NULL; in php_openssl_encrypt()
7656 } else if (EVP_EncryptFinal(cipher_ctx, (unsigned char *)ZSTR_VAL(outbuf) + outlen, &i)) { in php_openssl_encrypt()
7659 ZSTR_VAL(outbuf)[outlen] = '\0'; in php_openssl_encrypt() local
7660 ZSTR_LEN(outbuf) = outlen; in php_openssl_encrypt()
7664 base64_str = php_base64_encode((unsigned char*)ZSTR_VAL(outbuf), outlen); in php_openssl_encrypt()
7665 zend_string_release_ex(outbuf, 0); in php_openssl_encrypt()
7666 outbuf = base64_str; in php_openssl_encrypt()
7678 zend_string_release_ex(outbuf, 0); in php_openssl_encrypt()
7679 outbuf = NULL; in php_openssl_encrypt()
7685 zend_string_release_ex(outbuf, 0); in php_openssl_encrypt()
7686 outbuf = NULL; in php_openssl_encrypt()
7690 zend_string_release_ex(outbuf, 0); in php_openssl_encrypt()
7691 outbuf = NULL; in php_openssl_encrypt()
7702 return outbuf; in php_openssl_encrypt()
7742 zend_string *outbuf = NULL; in php_openssl_decrypt() local
7778 php_openssl_cipher_update(cipher_type, cipher_ctx, &mode, &outbuf, &outlen, in php_openssl_decrypt()
7780 outbuf = NULL; in php_openssl_decrypt()
7782 EVP_DecryptFinal(cipher_ctx, (unsigned char *)ZSTR_VAL(outbuf) + outlen, &i)) { in php_openssl_decrypt()
7784 ZSTR_VAL(outbuf)[outlen] = '\0'; in php_openssl_decrypt() local
7785 ZSTR_LEN(outbuf) = outlen; in php_openssl_decrypt()
7788 zend_string_release_ex(outbuf, 0); in php_openssl_decrypt()
7789 outbuf = NULL; in php_openssl_decrypt()
7803 return outbuf; in php_openssl_decrypt()