73 references to AppendData
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 (43)
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\PfxAsn.manual.cs (1)
86hmac.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\PasswordBasedEncryption.cs (3)
995hasher.AppendData(password); 996hasher.AppendData(salt); 1009hasher.AppendData(t);
src\libraries\Common\src\System\Security\Cryptography\Pkcs12Kdf.cs (2)
179hash.AppendData(D); 192hash.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\HKDF.cs (2)
165hmac.AppendData(t); 168hmac.AppendData(counterSpan);
System\Security\Cryptography\IncrementalHash.cs (6)
63AppendData(new ReadOnlySpan<byte>(data)); 97AppendData(new ReadOnlySpan<byte>(data, offset, count)); 137/// <see cref="AppendData(ReadOnlySpan{byte})" /> 187/// <see cref="AppendData(ReadOnlySpan{byte})" /> 209/// <see cref="AppendData(ReadOnlySpan{byte})" /> 235/// <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 (7)
System\Security\Cryptography\Cose\CoseHelpers.cs (5)
50hasher.AppendData(stackalloc byte[] { initialByte.InitialByte }); 55hasher.AppendData(stackalloc byte[] { initialByte.InitialByte, (byte)value }); 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 (13)
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\PfxAsn.manual.cs (1)
86hmac.AppendData(authSafeContents);
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (3)
995hasher.AppendData(password); 996hasher.AppendData(salt); 1009hasher.AppendData(t);
src\libraries\Common\src\System\Security\Cryptography\Pkcs12Kdf.cs (2)
179hash.AppendData(D); 192hash.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 (3)
582hasher.AppendData(hashableContent.Span); 586hasher.AppendData(_document.GetHashableContentSpan()); 590hasher.AppendData(_parentSignerInfo._signature.Span);