2 writes to _hKey
System.Security.Cryptography (2)
System\Security\Cryptography\BasicSymmetricCipherCsp.cs (2)
22_hKey = ImportCspBlob(_hProvider, algId, key, addNoSaltFlag); 49_hKey = null!;
8 references to _hKey
System.Security.Cryptography (8)
System\Security\Cryptography\BasicSymmetricCipherCsp.cs (8)
24SetKeyParameter(_hKey, CryptGetKeyParamQueryType.KP_MODE, (int)cipherMode); 27SetKeyParameter(_hKey, CryptGetKeyParamQueryType.KP_MODE_BITS, feedbackSize); 33SetKeyParameter(_hKey, CryptGetKeyParamQueryType.KP_IV, currentIv); 38SetKeyParameter(_hKey, CryptGetKeyParamQueryType.KP_EFFECTIVE_KEYLEN, key.Length * 8); 46SafeCapiKeyHandle hKey = _hKey; 89EncryptData(_hKey, default, default, true); 100numBytesWritten = EncryptData(_hKey, input, output, isFinal); 104numBytesWritten = DecryptData(_hKey, input, output);