33 references to CryptographicOperations
Aspire.Dashboard (1)
src\Shared\CompareHelpers.cs (1)
32return CryptographicOperations.FixedTimeEquals(expectedKeyBytes, requestBytesSpan);
Aspire.Hosting (1)
src\Shared\CompareHelpers.cs (1)
32return CryptographicOperations.FixedTimeEquals(expectedKeyBytes, requestBytesSpan);
Microsoft.AspNetCore.Components.Server (1)
Circuits\CircuitId.cs (1)
41CryptographicOperations.FixedTimeEquals(
Microsoft.AspNetCore.Cryptography.Internal (2)
CryptoUtil.cs (2)
83return CryptographicOperations.FixedTimeEquals(bytesA, bytesB); 101return CryptographicOperations.FixedTimeEquals(bufA, bufB);
Microsoft.AspNetCore.Identity (2)
DefaultPasskeyHandler.cs (2)
497if (!CryptographicOperations.FixedTimeEquals(clientData.Challenge.AsSpan(), originalChallenge.Span)) 534if (!CryptographicOperations.FixedTimeEquals(authenticatorData.RpIdHash.Span, originalRpIdHash.AsSpan()))
Microsoft.Extensions.Identity.Core (2)
PasswordHasher.cs (2)
244return CryptographicOperations.FixedTimeEquals(actualSubkey, expectedSubkey); 284return CryptographicOperations.FixedTimeEquals(actualSubkey, expectedSubkey);
netstandard (1)
netstandard.cs (1)
1856[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.CryptographicOperations))]
System.Security.Cryptography.Pkcs (22)
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\PfxAsn.manual.cs (1)
86return CryptographicOperations.FixedTimeEquals(
src\libraries\Common\src\System\Security\Cryptography\CryptoPool.cs (2)
31CryptographicOperations.ZeroMemory(array.AsSpan(0, clearSize)); 70CryptographicOperations.ZeroMemory(toClear);
src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.Encrypted.cs (2)
153CryptographicOperations.ZeroMemory(decryptedMemory.Span); 246CryptographicOperations.ZeroMemory(encryptedSpan);
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (12)
218CryptographicOperations.ZeroMemory(buf); 402CryptographicOperations.ZeroMemory(pwdTmpBytes); 555CryptographicOperations.ZeroMemory(key); 797CryptographicOperations.ZeroMemory(tmpPassword); 798CryptographicOperations.ZeroMemory(tmpSalt); 851CryptographicOperations.ZeroMemory(dk); 909CryptographicOperations.ZeroMemory(key); 910CryptographicOperations.ZeroMemory(iv); 959CryptographicOperations.ZeroMemory(tmpEndSpan); 967CryptographicOperations.ZeroMemory(tmpKey); 968CryptographicOperations.ZeroMemory(tmpIv); 1015CryptographicOperations.ZeroMemory(t);
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12Builder.cs (2)
287CryptographicOperations.ZeroMemory(macSpan); 288CryptographicOperations.ZeroMemory(authSafeSpan);
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SafeContents.cs (2)
256CryptographicOperations.ZeroMemory(destination.AsSpan(0, written)); 425CryptographicOperations.ZeroMemory(encryptedSpan);
src\libraries\Common\src\System\Security\Cryptography\Pkcs12Kdf.cs (1)
225CryptographicOperations.ZeroMemory(I);
System.Security.Cryptography.Primitives (1)
System.Security.Cryptography.Primitives.cs (1)
10[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.CryptographicOperations))]