Lines Matching refs:outbuf
7525 zend_string *outbuf = NULL; in php_openssl_encrypt() local
7550 php_openssl_cipher_update(cipher_type, cipher_ctx, &mode, &outbuf, &outlen, in php_openssl_encrypt()
7552 outbuf = NULL; in php_openssl_encrypt()
7553 } else if (EVP_EncryptFinal(cipher_ctx, (unsigned char *)ZSTR_VAL(outbuf) + outlen, &i)) { in php_openssl_encrypt()
7556 ZSTR_VAL(outbuf)[outlen] = '\0'; in php_openssl_encrypt() local
7557 ZSTR_LEN(outbuf) = outlen; in php_openssl_encrypt()
7561 base64_str = php_base64_encode((unsigned char*)ZSTR_VAL(outbuf), outlen); in php_openssl_encrypt()
7562 zend_string_release_ex(outbuf, 0); in php_openssl_encrypt()
7563 outbuf = base64_str; in php_openssl_encrypt()
7575 zend_string_release_ex(outbuf, 0); in php_openssl_encrypt()
7576 outbuf = NULL; in php_openssl_encrypt()
7582 zend_string_release_ex(outbuf, 0); in php_openssl_encrypt()
7583 outbuf = NULL; in php_openssl_encrypt()
7587 zend_string_release_ex(outbuf, 0); in php_openssl_encrypt()
7588 outbuf = NULL; in php_openssl_encrypt()
7599 return outbuf; in php_openssl_encrypt()
7639 zend_string *outbuf = NULL; in php_openssl_decrypt() local
7675 php_openssl_cipher_update(cipher_type, cipher_ctx, &mode, &outbuf, &outlen, in php_openssl_decrypt()
7677 outbuf = NULL; in php_openssl_decrypt()
7679 EVP_DecryptFinal(cipher_ctx, (unsigned char *)ZSTR_VAL(outbuf) + outlen, &i)) { in php_openssl_decrypt()
7681 ZSTR_VAL(outbuf)[outlen] = '\0'; in php_openssl_decrypt() local
7682 ZSTR_LEN(outbuf) = outlen; in php_openssl_decrypt()
7685 zend_string_release_ex(outbuf, 0); in php_openssl_decrypt()
7686 outbuf = NULL; in php_openssl_decrypt()
7700 return outbuf; in php_openssl_decrypt()