Lines Matching refs:outbuf

7426 	zend_string *outbuf = NULL;  in php_openssl_encrypt()  local
7451 php_openssl_cipher_update(cipher_type, cipher_ctx, &mode, &outbuf, &outlen, in php_openssl_encrypt()
7453 outbuf = NULL; in php_openssl_encrypt()
7454 } else if (EVP_EncryptFinal(cipher_ctx, (unsigned char *)ZSTR_VAL(outbuf) + outlen, &i)) { in php_openssl_encrypt()
7457 ZSTR_VAL(outbuf)[outlen] = '\0'; in php_openssl_encrypt() local
7458 ZSTR_LEN(outbuf) = outlen; in php_openssl_encrypt()
7462 base64_str = php_base64_encode((unsigned char*)ZSTR_VAL(outbuf), outlen); in php_openssl_encrypt()
7463 zend_string_release_ex(outbuf, 0); in php_openssl_encrypt()
7464 outbuf = base64_str; in php_openssl_encrypt()
7476 zend_string_release_ex(outbuf, 0); in php_openssl_encrypt()
7477 outbuf = NULL; in php_openssl_encrypt()
7483 zend_string_release_ex(outbuf, 0); in php_openssl_encrypt()
7484 outbuf = NULL; in php_openssl_encrypt()
7488 zend_string_release_ex(outbuf, 0); in php_openssl_encrypt()
7489 outbuf = NULL; in php_openssl_encrypt()
7500 return outbuf; in php_openssl_encrypt()
7540 zend_string *outbuf = NULL; in php_openssl_decrypt() local
7576 php_openssl_cipher_update(cipher_type, cipher_ctx, &mode, &outbuf, &outlen, in php_openssl_decrypt()
7578 outbuf = NULL; in php_openssl_decrypt()
7580 EVP_DecryptFinal(cipher_ctx, (unsigned char *)ZSTR_VAL(outbuf) + outlen, &i)) { in php_openssl_decrypt()
7582 ZSTR_VAL(outbuf)[outlen] = '\0'; in php_openssl_decrypt() local
7583 ZSTR_LEN(outbuf) = outlen; in php_openssl_decrypt()
7586 zend_string_release_ex(outbuf, 0); in php_openssl_decrypt()
7587 outbuf = NULL; in php_openssl_decrypt()
7601 return outbuf; in php_openssl_decrypt()