4 writes to _decryptedPadding
System.Net.Security (4)
System\Net\Security\SslStream.cs (4)
78
_decryptedPadding
= 0;
128
_decryptedPadding
= 0;
151
_decryptedPadding
= frameSize - decryptedOffset - decryptedCount;
165
_decryptedPadding
= 0;
6 references to _decryptedPadding
System.Net.Security (6)
System\Net\Security\SslStream.cs (6)
96
public Span<byte> EncryptedSpanSliced(int length) => _buffer.ActiveSpan.Slice(_decryptedLength +
_decryptedPadding
, length);
98
public ReadOnlySpan<byte> EncryptedReadOnlySpan => _buffer.ActiveSpan.Slice(_decryptedLength +
_decryptedPadding
);
100
public int EncryptedLength => _buffer.ActiveLength -
_decryptedPadding
- _decryptedLength;
127
_buffer.Discard(
_decryptedPadding
);
136
Debug.Assert(
_decryptedPadding
== 0, "_encryptedOffset == 0");
144
Debug.Assert(
_decryptedPadding
== 0, "_encryptedOffset == 0");