1 write to _ctxHandle
System.Security.Cryptography (1)
System\Security\Cryptography\AesGcm.OpenSsl.cs (1)
20_ctxHandle = Interop.Crypto.EvpCipherCreatePartial(GetCipher(key.Length * 8));
15 references to _ctxHandle
System.Security.Cryptography (15)
System\Security\Cryptography\AesGcm.OpenSsl.cs (15)
17[MemberNotNull(nameof(_ctxHandle))] 22Interop.Crypto.CheckValidOpenSslHandle(_ctxHandle); 24_ctxHandle, 28Interop.Crypto.EvpCipherSetGcmNonceLength(_ctxHandle, NonceSize); 39_ctxHandle, 46if (!Interop.Crypto.EvpCipherUpdate(_ctxHandle, Span<byte>.Empty, out _, associatedData)) 52if (!Interop.Crypto.EvpCipherUpdate(_ctxHandle, ciphertext, out int ciphertextBytesWritten, plaintext)) 58_ctxHandle, 73Interop.Crypto.EvpCipherGetGcmTag(_ctxHandle, tag); 84_ctxHandle, 91if (!Interop.Crypto.EvpCipherUpdate(_ctxHandle, Span<byte>.Empty, out _, associatedData)) 97if (!Interop.Crypto.EvpCipherUpdate(_ctxHandle, plaintext, out int plaintextBytesWritten, ciphertext)) 102Interop.Crypto.EvpCipherSetGcmTag(_ctxHandle, tag); 105_ctxHandle, 137_ctxHandle.Dispose();