11 references to BCryptKeyHandle
Microsoft.AspNetCore.Cryptography.Internal (6)
SafeHandles\BCryptAlgorithmHandle.cs (2)
52
public
BCryptKeyHandle
GenerateSymmetricKey(byte* pbSecret, uint cbSecret)
54
BCryptKeyHandle
retVal;
UnsafeNativeMethods.cs (4)
67
BCryptKeyHandle
hKey,
144
BCryptKeyHandle
hKey,
177
out
BCryptKeyHandle
phKey,
233
BCryptKeyHandle
hKey,
Microsoft.AspNetCore.DataProtection (5)
Cng\CbcAuthenticatedEncryptor.cs (3)
110
using (
var
symmetricKeyHandle = _symmetricAlgorithmHandle.GenerateSymmetricKey(pbSymmetricEncryptionSubkey, _symmetricAlgorithmSubkeyLengthInBytes))
193
using (
var
decryptionSubkeyHandle = _symmetricAlgorithmHandle.GenerateSymmetricKey(pbSymmetricEncryptionSubkey, _symmetricAlgorithmSubkeyLengthInBytes))
334
using (
var
symmetricKeyHandle = _symmetricAlgorithmHandle.GenerateSymmetricKey(pbSymmetricEncryptionSubkey, _symmetricAlgorithmSubkeyLengthInBytes))
Cng\CngGcmAuthenticatedEncryptor.cs (2)
153
using (
var
decryptionSubkeyHandle = _symmetricAlgorithmHandle.GenerateSymmetricKey(pbSymmetricDecryptionSubkey, _symmetricAlgorithmSubkeyLengthInBytes))
214
using (
var
keyHandle = _symmetricAlgorithmHandle.GenerateSymmetricKey(pbKey, cbKey))