8 references to Fail
Microsoft.AspNetCore.Cryptography.Internal (2)
CryptoUtil.cs (2)
24Fail(message); 70throw Fail(message);
Microsoft.AspNetCore.Cryptography.KeyDerivation (4)
PBKDF2\ManagedPbkdf2Provider.cs (1)
83throw CryptoUtil.Fail("Unrecognized PRF.");
PBKDF2\Win7Pbkdf2Provider.cs (1)
95throw CryptoUtil.Fail("Unrecognized PRF.");
PBKDF2\Win8Pbkdf2Provider.cs (2)
125throw CryptoUtil.Fail("Unrecognized PRF."); 207throw CryptoUtil.Fail("Unrecognized PRF.");
Microsoft.AspNetCore.DataProtection (2)
Managed\AesGcmAuthenticatedEncryptor.cs (1)
61throw CryptoUtil.Fail("Unexpected AES key size in bytes only support 16, 24, 32."); // should never happen
RegistryPolicyResolver.cs (1)
96throw CryptoUtil.Fail("Unrecognized EncryptionType: " + encryptionType);