Lines Matching refs:outbuf

6716 	zend_string *outbuf = NULL;  in php_openssl_encrypt()  local
6741 php_openssl_cipher_update(cipher_type, cipher_ctx, &mode, &outbuf, &outlen, in php_openssl_encrypt()
6743 outbuf = NULL; in php_openssl_encrypt()
6744 } else if (EVP_EncryptFinal(cipher_ctx, (unsigned char *)ZSTR_VAL(outbuf) + outlen, &i)) { in php_openssl_encrypt()
6747 ZSTR_VAL(outbuf)[outlen] = '\0'; in php_openssl_encrypt() local
6748 ZSTR_LEN(outbuf) = outlen; in php_openssl_encrypt()
6752 base64_str = php_base64_encode((unsigned char*)ZSTR_VAL(outbuf), outlen); in php_openssl_encrypt()
6753 zend_string_release_ex(outbuf, 0); in php_openssl_encrypt()
6754 outbuf = base64_str; in php_openssl_encrypt()
6766 zend_string_release_ex(outbuf, 0); in php_openssl_encrypt()
6767 outbuf = NULL; in php_openssl_encrypt()
6773 zend_string_release_ex(outbuf, 0); in php_openssl_encrypt()
6774 outbuf = NULL; in php_openssl_encrypt()
6778 zend_string_release_ex(outbuf, 0); in php_openssl_encrypt()
6779 outbuf = NULL; in php_openssl_encrypt()
6790 return outbuf; in php_openssl_encrypt()
6824 zend_string *outbuf = NULL; in php_openssl_decrypt() local
6860 php_openssl_cipher_update(cipher_type, cipher_ctx, &mode, &outbuf, &outlen, in php_openssl_decrypt()
6862 outbuf = NULL; in php_openssl_decrypt()
6864 EVP_DecryptFinal(cipher_ctx, (unsigned char *)ZSTR_VAL(outbuf) + outlen, &i)) { in php_openssl_decrypt()
6866 ZSTR_VAL(outbuf)[outlen] = '\0'; in php_openssl_decrypt() local
6867 ZSTR_LEN(outbuf) = outlen; in php_openssl_decrypt()
6870 zend_string_release_ex(outbuf, 0); in php_openssl_decrypt()
6871 outbuf = NULL; in php_openssl_decrypt()
6885 return outbuf; in php_openssl_decrypt()