1 write to _InputBlockSize
mscorlib (1)
system\security\cryptography\cryptostream.cs (1)
738
_InputBlockSize
= _Transform.InputBlockSize;
43 references to _InputBlockSize
mscorlib (43)
system\security\cryptography\cryptostream.cs (43)
228
int numWholeBlocksInBytes = BlocksToProcess *
_InputBlockSize
;
235
if (amountRead <=
_InputBlockSize
) {
241
int numWholeReadBlocksInBytes = (amountRead /
_InputBlockSize
) *
_InputBlockSize
;
247
byte[] tempOutputBuffer = new byte[(numWholeReadBlocksInBytes /
_InputBlockSize
) * _OutputBlockSize];
261
while (_InputBufferIndex <
_InputBlockSize
) {
262
amountRead = _stream.Read(_InputBuffer, _InputBufferIndex,
_InputBlockSize
- _InputBufferIndex);
267
numOutputBytes = _Transform.TransformBlock(_InputBuffer, 0,
_InputBlockSize
, _OutputBuffer, 0);
402
int numWholeBlocksInBytes = BlocksToProcess *
_InputBlockSize
;
409
if (amountRead <=
_InputBlockSize
)
416
int numWholeReadBlocksInBytes = (amountRead /
_InputBlockSize
) *
_InputBlockSize
;
423
byte[] tempOutputBuffer = new byte[(numWholeReadBlocksInBytes /
_InputBlockSize
) * _OutputBlockSize];
438
while (_InputBufferIndex <
_InputBlockSize
)
440
amountRead = await _stream.ReadAsync(_InputBuffer, _InputBufferIndex,
_InputBlockSize
- _InputBufferIndex, cancellationToken).ConfigureAwait(false);
445
numOutputBytes = _Transform.TransformBlock(_InputBuffer, 0,
_InputBlockSize
, _OutputBuffer, 0);
510
if (count >=
_InputBlockSize
- _InputBufferIndex) {
512
Buffer.InternalBlockCopy(buffer, offset, _InputBuffer, _InputBufferIndex,
_InputBlockSize
- _InputBufferIndex);
513
currentInputIndex += (
_InputBlockSize
- _InputBufferIndex);
514
bytesToWrite -= (
_InputBlockSize
- _InputBufferIndex);
515
_InputBufferIndex =
_InputBlockSize
;
533
if (_InputBufferIndex ==
_InputBlockSize
) {
534
numOutputBytes = _Transform.TransformBlock(_InputBuffer, 0,
_InputBlockSize
, _OutputBuffer, 0);
541
if (bytesToWrite >=
_InputBlockSize
) {
545
int numWholeBlocks = bytesToWrite /
_InputBlockSize
;
546
int numWholeBlocksInBytes = numWholeBlocks *
_InputBlockSize
;
554
numOutputBytes = _Transform.TransformBlock(buffer, currentInputIndex,
_InputBlockSize
, _OutputBuffer, 0);
556
currentInputIndex +=
_InputBlockSize
;
557
bytesToWrite -=
_InputBlockSize
;
622
if (count >=
_InputBlockSize
- _InputBufferIndex)
625
Buffer.InternalBlockCopy(buffer, offset, _InputBuffer, _InputBufferIndex,
_InputBlockSize
- _InputBufferIndex);
626
currentInputIndex += (
_InputBlockSize
- _InputBufferIndex);
627
bytesToWrite -= (
_InputBlockSize
- _InputBufferIndex);
628
_InputBufferIndex =
_InputBlockSize
;
649
if (_InputBufferIndex ==
_InputBlockSize
)
651
numOutputBytes = _Transform.TransformBlock(_InputBuffer, 0,
_InputBlockSize
, _OutputBuffer, 0);
659
if (bytesToWrite >=
_InputBlockSize
)
665
int numWholeBlocks = bytesToWrite /
_InputBlockSize
;
666
int numWholeBlocksInBytes = numWholeBlocks *
_InputBlockSize
;
676
numOutputBytes = _Transform.TransformBlock(buffer, currentInputIndex,
_InputBlockSize
, _OutputBuffer, 0);
678
currentInputIndex +=
_InputBlockSize
;
679
bytesToWrite -=
_InputBlockSize
;
739
_InputBuffer = new byte[
_InputBlockSize
];