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 (4)
121
UnsafeBufferUtil.
BlockCopy
(from: pbIV, to: pbClonedIV, byteCount: _symmetricAlgorithmBlockSizeInBytes);
142
UnsafeBufferUtil.
BlockCopy
(from: pbIV, to: pbClonedIV2, byteCount: _symmetricAlgorithmBlockSizeInBytes);
226
UnsafeBufferUtil.
BlockCopy
(from: pbIV, to: pbClonedIV, byteCount: _symmetricAlgorithmBlockSizeInBytes);
331
UnsafeBufferUtil.
BlockCopy
(from: pbIV, to: pbClonedIV, byteCount: _symmetricAlgorithmBlockSizeInBytes);
Cng\DpapiSecretSerializerHelper.cs (1)
181
UnsafeBufferUtil.
BlockCopy
(from: (void*)protectedData.DangerousGetHandle(), to: pbRetVal, byteCount: cbProtectedData);
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);