12 references to BlockCopy
Microsoft.AspNetCore.Cryptography.Internal (3)
UnsafeBufferUtil.cs (3)
20
BlockCopy
(from, to, checked((uint)byteCount)); // will be checked before invoking the delegate
44
BlockCopy
((void*)from.DangerousGetHandle(), to, byteCount);
64
BlockCopy
(from, (void*)to.DangerousGetHandle(), byteCount);
Microsoft.AspNetCore.Cryptography.Internal.Tests (1)
UnsafeBufferUtilTests.cs (1)
34
UnsafeBufferUtil.
BlockCopy
(from: &x, to: &y, byteCount: (uint)sizeof(long));
Microsoft.AspNetCore.DataProtection (8)
Cng\CbcAuthenticatedEncryptor.cs (3)
218
UnsafeBufferUtil.
BlockCopy
(from: pbIV, to: pbClonedIV, byteCount: _symmetricAlgorithmBlockSizeInBytes);
282
UnsafeBufferUtil.
BlockCopy
(from: pbIV, to: pbClonedIV, byteCount: _symmetricAlgorithmBlockSizeInBytes);
350
UnsafeBufferUtil.
BlockCopy
(from: pbKeyModifierAndIV, to: pbOutputKeyModifier, byteCount: cbKeyModifierAndIV);
Cng\DpapiSecretSerializerHelper.cs (1)
181
UnsafeBufferUtil.
BlockCopy
(from: (void*)protectedData.DangerousGetHandle(), to: pbRetVal, byteCount: cbProtectedData);
SP800_108\SP800_108_CTR_HMACSHA512Extensions.cs (1)
29
UnsafeBufferUtil.
BlockCopy
(from: pbContext, to: &pbCombinedContext[contextHeader.Length], byteCount: cbContext);
SP800_108\Win7SP800_108_CTR_HMACSHA512Provider.cs (3)
44
UnsafeBufferUtil.
BlockCopy
(from: pbLabel, to: pbTempInputLabel, byteCount: cbLabel);
45
UnsafeBufferUtil.
BlockCopy
(from: pbContext, to: pbTempInputContext, byteCount: cbContext);
68
UnsafeBufferUtil.
BlockCopy
(from: pbHashDigest, to: pbDerivedKey, byteCount: numBytesToCopy);