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