Lines Matching refs:outbuf
7651 zend_string *outbuf = NULL; in php_openssl_encrypt() local
7676 php_openssl_cipher_update(cipher_type, cipher_ctx, &mode, &outbuf, &outlen, in php_openssl_encrypt()
7678 outbuf = NULL; in php_openssl_encrypt()
7679 } else if (EVP_EncryptFinal(cipher_ctx, (unsigned char *)ZSTR_VAL(outbuf) + outlen, &i)) { in php_openssl_encrypt()
7682 ZSTR_VAL(outbuf)[outlen] = '\0'; in php_openssl_encrypt() local
7683 ZSTR_LEN(outbuf) = outlen; in php_openssl_encrypt()
7687 base64_str = php_base64_encode((unsigned char*)ZSTR_VAL(outbuf), outlen); in php_openssl_encrypt()
7688 zend_string_release_ex(outbuf, 0); in php_openssl_encrypt()
7689 outbuf = base64_str; in php_openssl_encrypt()
7701 zend_string_release_ex(outbuf, 0); in php_openssl_encrypt()
7702 outbuf = NULL; in php_openssl_encrypt()
7708 zend_string_release_ex(outbuf, 0); in php_openssl_encrypt()
7709 outbuf = NULL; in php_openssl_encrypt()
7713 zend_string_release_ex(outbuf, 0); in php_openssl_encrypt()
7714 outbuf = NULL; in php_openssl_encrypt()
7725 return outbuf; in php_openssl_encrypt()
7765 zend_string *outbuf = NULL; in php_openssl_decrypt() local
7801 php_openssl_cipher_update(cipher_type, cipher_ctx, &mode, &outbuf, &outlen, in php_openssl_decrypt()
7803 outbuf = NULL; in php_openssl_decrypt()
7805 EVP_DecryptFinal(cipher_ctx, (unsigned char *)ZSTR_VAL(outbuf) + outlen, &i)) { in php_openssl_decrypt()
7807 ZSTR_VAL(outbuf)[outlen] = '\0'; in php_openssl_decrypt() local
7808 ZSTR_LEN(outbuf) = outlen; in php_openssl_decrypt()
7811 zend_string_release_ex(outbuf, 0); in php_openssl_decrypt()
7812 outbuf = NULL; in php_openssl_decrypt()
7826 return outbuf; in php_openssl_decrypt()