65 references to AppendData
ILAssembler (1)
GrammarVisitor.cs (1)
256
hash.
AppendData
(blob.GetBytes());
ILCompiler.ReadyToRun (2)
Compiler\CryptographicHashProvider.cs (2)
219
incrementalHash.
AppendData
(blob.GetBytes());
231
incrementalHash.
AppendData
(segment);
Microsoft.AspNetCore.Components.Endpoints (2)
Builder\ResourceCollectionUrlEndpoint.cs (2)
174
incrementalHash.
AppendData
(buffer[..written]);
187
incrementalHash.
AppendData
(rented.AsSpan(0, bytesWritten));
Microsoft.CodeAnalysis (2)
InternalUtilities\IncrementalHashExtensions.cs (2)
18
hash.
AppendData
(blob.GetBytes());
26
hash.
AppendData
(blob);
Microsoft.Extensions.AI.Abstractions (1)
Utilities\AIJsonUtilities.cs (1)
223
public override void Write(ReadOnlySpan<byte> buffer) => _hash.
AppendData
(buffer);
Microsoft.Extensions.FileProviders.Physical (2)
PollingWildCardChangeToken.cs (2)
178
sha256.
AppendData
(MemoryMarshal.AsBytes(path.AsSpan()));
179
sha256.
AppendData
(MemoryMarshal.AsBytes([lastChangedUtc]));
Microsoft.NET.Build.Containers (1)
Layer.cs (1)
255
sha256Hash.
AppendData
(buffer);
System.Net.Security (10)
System\Net\NegotiateAuthenticationPal.ManagedNtlm.cs (10)
473
hmac.
AppendData
(serverChallenge);
474
hmac.
AppendData
(blob.Slice(DigestLength));
499
md5.
AppendData
(prefix);
500
md5.
AppendData
(new Span<byte>((void*)cbtData, cbtDataSize));
610
md5.
AppendData
(exportedSessionKey);
611
md5.
AppendData
(magic);
736
hmacMic.
AppendData
(blob);
737
hmacMic.
AppendData
(responseBytes.AsSpan(0, payloadOffset));
778
hmac.
AppendData
(signature.Slice(12, 4));
779
hmac.
AppendData
(message);
System.Security.Cryptography (32)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\PfxAsn.manual.cs (1)
78
hmac.
AppendData
(authSafeContents);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CompositeMLDsaManaged.cs (1)
489
hash.
AppendData
(message);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (3)
1032
hasher.
AppendData
(password);
1033
hasher.
AppendData
(salt);
1046
hasher.
AppendData
(t);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12Builder.cs (1)
210
mac.
AppendData
(authSafeSpan);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs12Kdf.cs (3)
178
hash.
AppendData
(D);
179
hash.
AppendData
(I);
191
hash.
AppendData
(hashBuf);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\RsaPaddingProcessor.cs (8)
435
hasher.
AppendData
(EightZeros);
436
hasher.
AppendData
(mHash);
437
hasher.
AppendData
(salt);
560
hasher.
AppendData
(EightZeros);
561
hasher.
AppendData
(mHash);
562
hasher.
AppendData
(salt);
597
hasher.
AppendData
(mgfSeed);
599
hasher.
AppendData
(bigEndianCount);
System\Security\Cryptography\HKDFManagedImplementation.cs (3)
53
hmac.
AppendData
(t);
54
hmac.
AppendData
(infoBuffer);
56
hmac.
AppendData
(counterSpan);
System\Security\Cryptography\IncrementalHash.cs (6)
63
AppendData
(new ReadOnlySpan<byte>(data));
97
AppendData
(new ReadOnlySpan<byte>(data, offset, count));
136
/// <see cref="
AppendData
(ReadOnlySpan{byte})" />
186
/// <see cref="
AppendData
(ReadOnlySpan{byte})" />
208
/// <see cref="
AppendData
(ReadOnlySpan{byte})" />
234
/// <see cref="
AppendData
(ReadOnlySpan{byte})" />
System\Security\Cryptography\MD5CryptoServiceProvider.cs (1)
47
_incrementalHash.
AppendData
(source);
System\Security\Cryptography\Rfc2898DeriveBytes.cs (1)
306
_hmac.
AppendData
(uiSpan);
System\Security\Cryptography\SHA1CryptoServiceProvider.cs (1)
50
_incrementalHash.
AppendData
(source);
System\Security\Cryptography\SHA256CryptoServiceProvider.cs (1)
50
_incrementalHash.
AppendData
(source);
System\Security\Cryptography\SHA384CryptoServiceProvider.cs (1)
50
_incrementalHash.
AppendData
(source);
System\Security\Cryptography\SHA512CryptoServiceProvider.cs (1)
50
_incrementalHash.
AppendData
(source);
System.Security.Cryptography.Cose (1)
System\Security\Cryptography\Cose\HashToBeSignedBuilder.cs (1)
23
_incrementalHash.
AppendData
(data);
System.Security.Cryptography.Pkcs (11)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\PfxAsn.manual.cs (1)
78
hmac.
AppendData
(authSafeContents);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (3)
1032
hasher.
AppendData
(password);
1033
hasher.
AppendData
(salt);
1046
hasher.
AppendData
(t);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12Builder.cs (1)
210
mac.
AppendData
(authSafeSpan);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs12Kdf.cs (3)
178
hash.
AppendData
(D);
179
hash.
AppendData
(I);
191
hash.
AppendData
(hashBuf);
System\Security\Cryptography\Pkcs\CmsHash.cs (1)
100
internal override void AppendData(ReadOnlySpan<byte> data) => _incrementalHash.
AppendData
(data);
System\Security\Cryptography\Pkcs\Rfc3161TimestampRequest.cs (1)
198
hasher.
AppendData
(data);
System\Security\Cryptography\Pkcs\Rfc3161TimestampToken.cs (1)
178
hasher.
AppendData
(data);