3 writes to _ecdh
System.Security.Cryptography (3)
System\Security\Cryptography\HpkeECDiffieHellmanKemAdapter.cs (3)
81_ecdh = ECDiffieHellman.Create(new ECParameters 92_ecdh = CreateFromEncapsulationKey(encapsulationKey); 148_ecdh = ECDiffieHellman.Create(new ECParameters
14 references to _ecdh
System.Security.Cryptography (14)
System\Security\Cryptography\HpkeECDiffieHellmanKemAdapter.cs (14)
69Debug.Assert(_ecdh is null); 91Debug.Assert(_ecdh is null); 124Debug.Assert(_ecdh is null); 168Debug.Assert(_ecdh is not null); 171using (ECDiffieHellmanPublicKey recipientPublicKey = _ecdh.PublicKey) 174Debug.Assert(ephemeral._ecdh is not null); 176byte[] secretAgreement = ephemeral._ecdh.DeriveRawSecretAgreement(recipientPublicKey); 189Debug.Assert(_ecdh is not null); 194byte[] secretAgreement = _ecdh.DeriveRawSecretAgreement(ephemeralPublicKey); 205Debug.Assert(_ecdh is not null); 208ECParameters parameters = _ecdh.ExportParameters(includePrivateParameters: true); 224Debug.Assert(_ecdh is not null); 227ECParameters parameters = _ecdh.ExportParameters(includePrivateParameters: false); 245public override void Dispose() => _ecdh?.Dispose();