1 write to _keyHandle
System.Security.Cryptography (1)
System\Security\Cryptography\ChaCha20Poly1305.Windows.cs (1)
19_keyHandle = Interop.BCrypt.BCryptImportKey(BCryptAeadHandleCache.ChaCha20Poly1305, key);
4 references to _keyHandle
System.Security.Cryptography (4)
System\Security\Cryptography\ChaCha20Poly1305.Windows.cs (4)
16[MemberNotNull(nameof(_keyHandle))] 29AeadCommon.Encrypt(_keyHandle, nonce, associatedData, plaintext, ciphertext, tag); 39AeadCommon.Decrypt(_keyHandle, nonce, associatedData, ciphertext, tag, plaintext, clearPlaintextOnFailure: true); 44_keyHandle.Dispose();