21 references to ThrowExceptionForBCryptStatus
Microsoft.AspNetCore.Cryptography.Internal (9)
Cng\BCryptUtil.cs (1)
25UnsafeNativeMethods.ThrowExceptionForBCryptStatus(ntstatus);
SafeHandles\BCryptAlgorithmHandle.cs (3)
33UnsafeNativeMethods.ThrowExceptionForBCryptStatus(ntstatus); 56UnsafeNativeMethods.ThrowExceptionForBCryptStatus(ntstatus); 147UnsafeNativeMethods.ThrowExceptionForBCryptStatus(ntstatus);
SafeHandles\BCryptHandle.cs (2)
19UnsafeNativeMethods.ThrowExceptionForBCryptStatus(ntstatus); 26UnsafeNativeMethods.ThrowExceptionForBCryptStatus(ntstatus);
SafeHandles\BCryptHashHandle.cs (3)
22UnsafeNativeMethods.ThrowExceptionForBCryptStatus(ntstatus); 42UnsafeNativeMethods.ThrowExceptionForBCryptStatus(ntstatus); 50UnsafeNativeMethods.ThrowExceptionForBCryptStatus(ntstatus);
Microsoft.AspNetCore.Cryptography.KeyDerivation (2)
PBKDF2\Win7Pbkdf2Provider.cs (1)
72UnsafeNativeMethods.ThrowExceptionForBCryptStatus(ntstatus);
PBKDF2\Win8Pbkdf2Provider.cs (1)
189UnsafeNativeMethods.ThrowExceptionForBCryptStatus(ntstatus);
Microsoft.AspNetCore.DataProtection (10)
Cng\CbcAuthenticatedEncryptor.cs (7)
135UnsafeNativeMethods.ThrowExceptionForBCryptStatus(ntstatus); 160UnsafeNativeMethods.ThrowExceptionForBCryptStatus(ntstatus); 240UnsafeNativeMethods.ThrowExceptionForBCryptStatus(ntstatus); 310UnsafeNativeMethods.ThrowExceptionForBCryptStatus(ntstatus); 345UnsafeNativeMethods.ThrowExceptionForBCryptStatus(ntstatus); 460UnsafeNativeMethods.ThrowExceptionForBCryptStatus(ntstatus); 483UnsafeNativeMethods.ThrowExceptionForBCryptStatus(ntstatus);
Cng\CngGcmAuthenticatedEncryptor.cs (2)
126UnsafeNativeMethods.ThrowExceptionForBCryptStatus(ntstatus); 213UnsafeNativeMethods.ThrowExceptionForBCryptStatus(ntstatus);
SP800_108\Win8SP800_108_CTR_HMACSHA512Provider.cs (1)
62UnsafeNativeMethods.ThrowExceptionForBCryptStatus(ntstatus);