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