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
))]
29
AeadCommon.Encrypt(
_keyHandle
, nonce, associatedData, plaintext, ciphertext, tag);
39
AeadCommon.Decrypt(
_keyHandle
, nonce, associatedData, ciphertext, tag, plaintext, clearPlaintextOnFailure: true);
44
_keyHandle
.Dispose();