18 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 (7)
Cng\CbcAuthenticatedEncryptor.cs (4)
238UnsafeNativeMethods.ThrowExceptionForBCryptStatus(ntstatus); 258UnsafeNativeMethods.ThrowExceptionForBCryptStatus(ntstatus); 296UnsafeNativeMethods.ThrowExceptionForBCryptStatus(ntstatus); 409UnsafeNativeMethods.ThrowExceptionForBCryptStatus(ntstatus);
Cng\CngGcmAuthenticatedEncryptor.cs (2)
178UnsafeNativeMethods.ThrowExceptionForBCryptStatus(ntstatus); 228UnsafeNativeMethods.ThrowExceptionForBCryptStatus(ntstatus);
SP800_108\Win8SP800_108_CTR_HMACSHA512Provider.cs (1)
62UnsafeNativeMethods.ThrowExceptionForBCryptStatus(ntstatus);