4 writes to _InputBuffer
mscorlib (4)
system\security\cryptography\cryptostream.cs (4)
236
_InputBuffer
= tempInputBuffer;
411
_InputBuffer
= tempInputBuffer;
723
_InputBuffer
= null;
739
_InputBuffer
= new byte[_InputBlockSize];
25 references to _InputBuffer
mscorlib (25)
system\security\cryptography\cryptostream.cs (25)
122
byte[] finalBytes = _Transform.TransformFinalBlock(
_InputBuffer
, 0, _InputBufferIndex);
144
if (
_InputBuffer
!= null)
145
Array.Clear(
_InputBuffer
, 0,
_InputBuffer
.Length);
231
Buffer.InternalBlockCopy(
_InputBuffer
, 0, tempInputBuffer, 0, _InputBufferIndex);
245
Buffer.InternalBlockCopy(tempInputBuffer, numWholeReadBlocksInBytes,
_InputBuffer
, 0, numIgnoredBytes);
262
amountRead = _stream.Read(
_InputBuffer
, _InputBufferIndex, _InputBlockSize - _InputBufferIndex);
267
numOutputBytes = _Transform.TransformBlock(
_InputBuffer
, 0, _InputBlockSize, _OutputBuffer, 0);
284
byte[] finalBytes = _Transform.TransformFinalBlock(
_InputBuffer
, 0, _InputBufferIndex);
405
Buffer.InternalBlockCopy(
_InputBuffer
, 0, tempInputBuffer, 0, _InputBufferIndex);
421
Buffer.InternalBlockCopy(tempInputBuffer, numWholeReadBlocksInBytes,
_InputBuffer
, 0, numIgnoredBytes);
440
amountRead = await _stream.ReadAsync(
_InputBuffer
, _InputBufferIndex, _InputBlockSize - _InputBufferIndex, cancellationToken).ConfigureAwait(false);
445
numOutputBytes = _Transform.TransformBlock(
_InputBuffer
, 0, _InputBlockSize, _OutputBuffer, 0);
465
byte[] finalBytes = _Transform.TransformFinalBlock(
_InputBuffer
, 0, _InputBufferIndex);
512
Buffer.InternalBlockCopy(buffer, offset,
_InputBuffer
, _InputBufferIndex, _InputBlockSize - _InputBufferIndex);
520
Buffer.InternalBlockCopy(buffer, offset,
_InputBuffer
, _InputBufferIndex, count);
534
numOutputBytes = _Transform.TransformBlock(
_InputBuffer
, 0, _InputBlockSize, _OutputBuffer, 0);
562
Buffer.InternalBlockCopy(buffer, currentInputIndex,
_InputBuffer
, 0, bytesToWrite);
625
Buffer.InternalBlockCopy(buffer, offset,
_InputBuffer
, _InputBufferIndex, _InputBlockSize - _InputBufferIndex);
635
Buffer.InternalBlockCopy(buffer, offset,
_InputBuffer
, _InputBufferIndex, count);
651
numOutputBytes = _Transform.TransformBlock(
_InputBuffer
, 0, _InputBlockSize, _OutputBuffer, 0);
686
Buffer.InternalBlockCopy(buffer, currentInputIndex,
_InputBuffer
, 0, bytesToWrite);
718
if (
_InputBuffer
!= null)
719
Array.Clear(
_InputBuffer
, 0,
_InputBuffer
.Length);