Lines Matching refs:outbuf

7665 	zend_string *outbuf = NULL;  in php_openssl_encrypt()  local
7690 php_openssl_cipher_update(cipher_type, cipher_ctx, &mode, &outbuf, &outlen, in php_openssl_encrypt()
7692 outbuf = NULL; in php_openssl_encrypt()
7693 } else if (EVP_EncryptFinal(cipher_ctx, (unsigned char *)ZSTR_VAL(outbuf) + outlen, &i)) { in php_openssl_encrypt()
7696 ZSTR_VAL(outbuf)[outlen] = '\0'; in php_openssl_encrypt() local
7697 ZSTR_LEN(outbuf) = outlen; in php_openssl_encrypt()
7701 base64_str = php_base64_encode((unsigned char*)ZSTR_VAL(outbuf), outlen); in php_openssl_encrypt()
7702 zend_string_release_ex(outbuf, 0); in php_openssl_encrypt()
7703 outbuf = base64_str; in php_openssl_encrypt()
7715 zend_string_release_ex(outbuf, 0); in php_openssl_encrypt()
7716 outbuf = NULL; in php_openssl_encrypt()
7722 zend_string_release_ex(outbuf, 0); in php_openssl_encrypt()
7723 outbuf = NULL; in php_openssl_encrypt()
7727 zend_string_release_ex(outbuf, 0); in php_openssl_encrypt()
7728 outbuf = NULL; in php_openssl_encrypt()
7739 return outbuf; in php_openssl_encrypt()
7779 zend_string *outbuf = NULL; in php_openssl_decrypt() local
7815 php_openssl_cipher_update(cipher_type, cipher_ctx, &mode, &outbuf, &outlen, in php_openssl_decrypt()
7817 outbuf = NULL; in php_openssl_decrypt()
7819 EVP_DecryptFinal(cipher_ctx, (unsigned char *)ZSTR_VAL(outbuf) + outlen, &i)) { in php_openssl_decrypt()
7821 ZSTR_VAL(outbuf)[outlen] = '\0'; in php_openssl_decrypt() local
7822 ZSTR_LEN(outbuf) = outlen; in php_openssl_decrypt()
7825 zend_string_release_ex(outbuf, 0); in php_openssl_decrypt()
7826 outbuf = NULL; in php_openssl_decrypt()
7840 return outbuf; in php_openssl_decrypt()