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