System\Security\Cryptography\CryptoStream.cs (10)
322CryptographicOperations.ZeroMemory(_outputBuffer.AsSpan(_outputBufferIndex, bytesToCopy));
362CryptographicOperations.ZeroMemory(new Span<byte>(_inputBuffer, 0, _inputBufferIndex));
396CryptographicOperations.ZeroMemory(new Span<byte>(tempOutputBuffer, 0, numOutputBytes));
417CryptographicOperations.ZeroMemory(new Span<byte>(tempInputBuffer, 0, numWholeBlocksInBytes));
520CryptographicOperations.ZeroMemory(sharedBuffer.AsSpan(0, buffer.Length));
611CryptographicOperations.ZeroMemory(new Span<byte>(tempOutputBuffer, 0, numOutputBytes));
617CryptographicOperations.ZeroMemory(new Span<byte>(tempOutputBuffer, 0, numOutputBytes));
673CryptographicOperations.ZeroMemory(rentedBuffer.AsSpan(0, inputBuffer.Length));
705CryptographicOperations.ZeroMemory(rentedBuffer.AsSpan(0, bufferSize));
736CryptographicOperations.ZeroMemory(rentedBuffer.AsSpan(0, bufferSize));