12 references to BlockCopy
Microsoft.AspNetCore.Cryptography.Internal (3)
UnsafeBufferUtil.cs (3)
20BlockCopy(from, to, checked((uint)byteCount)); // will be checked before invoking the delegate 44BlockCopy((void*)from.DangerousGetHandle(), to, byteCount); 64BlockCopy(from, (void*)to.DangerousGetHandle(), byteCount);
Microsoft.AspNetCore.Cryptography.Internal.Tests (1)
UnsafeBufferUtilTests.cs (1)
34UnsafeBufferUtil.BlockCopy(from: &x, to: &y, byteCount: (uint)sizeof(long));
Microsoft.AspNetCore.DataProtection (8)
Cng\CbcAuthenticatedEncryptor.cs (4)
121UnsafeBufferUtil.BlockCopy(from: pbIV, to: pbClonedIV, byteCount: _symmetricAlgorithmBlockSizeInBytes); 142UnsafeBufferUtil.BlockCopy(from: pbIV, to: pbClonedIV2, byteCount: _symmetricAlgorithmBlockSizeInBytes); 226UnsafeBufferUtil.BlockCopy(from: pbIV, to: pbClonedIV, byteCount: _symmetricAlgorithmBlockSizeInBytes); 331UnsafeBufferUtil.BlockCopy(from: pbIV, to: pbClonedIV, byteCount: _symmetricAlgorithmBlockSizeInBytes);
Cng\DpapiSecretSerializerHelper.cs (1)
181UnsafeBufferUtil.BlockCopy(from: (void*)protectedData.DangerousGetHandle(), to: pbRetVal, byteCount: cbProtectedData);
SP800_108\Win7SP800_108_CTR_HMACSHA512Provider.cs (3)
44UnsafeBufferUtil.BlockCopy(from: pbLabel, to: pbTempInputLabel, byteCount: cbLabel); 45UnsafeBufferUtil.BlockCopy(from: pbContext, to: pbTempInputContext, byteCount: cbContext); 68UnsafeBufferUtil.BlockCopy(from: pbHashDigest, to: pbDerivedKey, byteCount: numBytesToCopy);