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 (3)
218UnsafeBufferUtil.BlockCopy(from: pbIV, to: pbClonedIV, byteCount: _symmetricAlgorithmBlockSizeInBytes); 282UnsafeBufferUtil.BlockCopy(from: pbIV, to: pbClonedIV, byteCount: _symmetricAlgorithmBlockSizeInBytes); 350UnsafeBufferUtil.BlockCopy(from: pbKeyModifierAndIV, to: pbOutputKeyModifier, byteCount: cbKeyModifierAndIV);
Cng\DpapiSecretSerializerHelper.cs (1)
181UnsafeBufferUtil.BlockCopy(from: (void*)protectedData.DangerousGetHandle(), to: pbRetVal, byteCount: cbProtectedData);
SP800_108\SP800_108_CTR_HMACSHA512Extensions.cs (1)
29UnsafeBufferUtil.BlockCopy(from: pbContext, to: &pbCombinedContext[contextHeader.Length], byteCount: cbContext);
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);