3 writes to _x25519
System.Security.Cryptography (3)
System\Security\Cryptography\HpkeX25519DiffieHellmanKemAdapter.cs (3)
19_x25519 = X25519DiffieHellman.ImportPrivateKey(decapsulationKey); 25_x25519 = X25519DiffieHellman.ImportPublicKey(encapsulationKey); 40_x25519 = X25519DiffieHellman.ImportPrivateKey(privateKey);
14 references to _x25519
System.Security.Cryptography (14)
System\Security\Cryptography\HpkeX25519DiffieHellmanKemAdapter.cs (14)
18Debug.Assert(_x25519 is null); 24Debug.Assert(_x25519 is null); 30Debug.Assert(_x25519 is null); 51Debug.Assert(_x25519 is not null); 56Debug.Assert(ephemeral._x25519 is not null); 62ephemeral._x25519.DeriveRawSecretAgreement(_x25519, dh); 76Debug.Assert(_x25519 is not null); 81_x25519.DeriveRawSecretAgreement(encapsulatedSecret, secretAgreement); 92Debug.Assert(_x25519 is not null); 95_x25519.ExportPrivateKey(destination); 100Debug.Assert(_x25519 is not null); 103_x25519.ExportPublicKey(destination); 106public override void Dispose() => _x25519?.Dispose();