77 references to AppendData
Microsoft.AspNetCore.Components.Endpoints (2)
Builder\ResourceCollectionUrlEndpoint.cs (2)
135
incrementalHash.
AppendData
(buffer[..written]);
148
incrementalHash.
AppendData
(rented.AsSpan(0, bytesWritten));
Microsoft.CodeAnalysis (2)
InternalUtilities\IncrementalHashExtensions.cs (2)
18
hash.
AppendData
(blob.GetBytes());
26
hash.
AppendData
(blob);
System.Net.Security (10)
System\Net\NegotiateAuthenticationPal.ManagedNtlm.cs (10)
419
hmac.
AppendData
(serverChallenge);
420
hmac.
AppendData
(blob.Slice(DigestLength));
445
md5.
AppendData
(prefix);
446
md5.
AppendData
(new Span<byte>((void*)cbtData, cbtDataSize));
556
md5.
AppendData
(exportedSessionKey);
557
md5.
AppendData
(magic);
682
hmacMic.
AppendData
(blob);
683
hmacMic.
AppendData
(responseBytes.AsSpan(0, payloadOffset));
724
hmac.
AppendData
(signature.Slice(12, 4));
725
hmac.
AppendData
(message);
System.Security.Cryptography (44)
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\PfxAsn.manual.cs (1)
78
hmac.
AppendData
(authSafeContents);
src\libraries\Common\src\System\Security\Cryptography\ECDiffieHellmanDerivation.cs (10)
28
hash.
AppendData
(secretPrepend);
34
hash.
AppendData
(secretAppend);
72
hash.
AppendData
(secretPrepend);
85
hash.
AppendData
(secretAppend);
200
hasher.
AppendData
(prfLabel);
201
hasher.
AppendData
(prfSeed);
211
hasher.
AppendData
(a);
212
hasher.
AppendData
(prfLabel);
213
hasher.
AppendData
(prfSeed);
231
hasher.
AppendData
(a);
src\libraries\Common\src\System\Security\Cryptography\ECDiffieHellmanOpenSsl.Derive.cs (1)
174
hasher.
AppendData
(secret);
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (3)
990
hasher.
AppendData
(password);
991
hasher.
AppendData
(salt);
1004
hasher.
AppendData
(t);
src\libraries\Common\src\System\Security\Cryptography\Pkcs12Kdf.cs (2)
178
hash.
AppendData
(D);
191
hash.
AppendData
(hashBuf);
src\libraries\Common\src\System\Security\Cryptography\RsaPaddingProcessor.cs (8)
433
hasher.
AppendData
(EightZeros);
434
hasher.
AppendData
(mHash);
435
hasher.
AppendData
(salt);
558
hasher.
AppendData
(EightZeros);
559
hasher.
AppendData
(mHash);
560
hasher.
AppendData
(salt);
594
hasher.
AppendData
(mgfSeed);
596
hasher.
AppendData
(bigEndianCount);
System\Security\Cryptography\HKDFManagedImplementation.cs (2)
54
hmac.
AppendData
(t);
57
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)
303
_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\SP800108HmacCounterKdfImplementationManaged.cs (5)
54
hash.
AppendData
(iBuffer);
55
hash.
AppendData
(label);
56
hash.
AppendData
(zero);
57
hash.
AppendData
(context);
58
hash.
AppendData
(lBuffer);
System.Security.Cryptography.Cose (5)
System\Security\Cryptography\Cose\CoseHelpers.cs (3)
63
hasher.
AppendData
(buffer);
71
hasher.
AppendData
(buffer);
79
hasher.
AppendData
(buffer);
System\Security\Cryptography\Cose\CoseMessage.cs (2)
421
hasher.
AppendData
(buffer.Slice(0, bytesWritten));
429
hasher.
AppendData
(contentBytes);
System.Security.Cryptography.Pkcs (14)
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\PfxAsn.manual.cs (1)
78
hmac.
AppendData
(authSafeContents);
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (3)
990
hasher.
AppendData
(password);
991
hasher.
AppendData
(salt);
1004
hasher.
AppendData
(t);
src\libraries\Common\src\System\Security\Cryptography\Pkcs12Kdf.cs (2)
178
hash.
AppendData
(D);
191
hash.
AppendData
(hashBuf);
System\Security\Cryptography\Pkcs\CmsSigner.cs (1)
201
hasher.
AppendData
(data.Span);
System\Security\Cryptography\Pkcs\Pkcs12Builder.cs (1)
219
mac.
AppendData
(authSafeSpan);
System\Security\Cryptography\Pkcs\Rfc3161TimestampRequest.cs (1)
201
hasher.
AppendData
(data);
System\Security\Cryptography\Pkcs\Rfc3161TimestampToken.cs (1)
184
hasher.
AppendData
(data);
System\Security\Cryptography\Pkcs\SignerInfo.cs (4)
582
hasher.
AppendData
(hashableContent.Span);
586
hasher.
AppendData
(_document.GetHashableContentSpan());
590
hasher.
AppendData
(_parentSignerInfo._signature.Span);
659
hasher.
AppendData
(encoded);