3 references to TimeConstantBuffersAreEqual
Microsoft.AspNetCore.Cryptography.Internal.Tests (2)
CryptoUtilTests.cs (2)
40
Assert.True(CryptoUtil.
TimeConstantBuffersAreEqual
((byte*)&a, (byte*)&b, sizeof(uint)));
51
Assert.False(CryptoUtil.
TimeConstantBuffersAreEqual
((byte*)&a, (byte*)&b, sizeof(uint)));
Microsoft.AspNetCore.DataProtection (1)
Cng\CbcAuthenticatedEncryptor.cs (1)
419
return CryptoUtil.
TimeConstantBuffersAreEqual
(pbExpectedDigest, pbActualDigest, _hmacAlgorithmDigestLengthInBytes);