3 references to TimeConstantBuffersAreEqual
Microsoft.AspNetCore.Cryptography.Internal.Tests (2)
CryptoUtilTests.cs (2)
19
Assert.True(CryptoUtil.
TimeConstantBuffersAreEqual
(a.AsSpan(1, 3), b.AsSpan(2, 3)));
29
Assert.False(CryptoUtil.
TimeConstantBuffersAreEqual
(a.AsSpan(1, 3), b.AsSpan(2, 3)));
Microsoft.AspNetCore.DataProtection (1)
Managed\ManagedAuthenticatedEncryptor.cs (1)
526
if (!CryptoUtil.
TimeConstantBuffersAreEqual
(correctHash, payloadMacSpan))