From: Hans Leidekker Subject: Re: [PATCH v3 3/4] bcrypt: Implement BCryptSecretAgreement with libgcrypt. Message-Id: <119694871b9a8410cd9c48ad486dd46ffe9feab1.camel@codeweavers.com> Date: Wed, 08 Jan 2020 11:10:48 +0100 In-Reply-To: <20200107202250.2277241-3-dlesho@codeweavers.com> References: <20200107202250.2277241-1-dlesho@codeweavers.com> <20200107202250.2277241-3-dlesho@codeweavers.com> On Tue, 2020-01-07 at 14:22 -0600, Derek Lesho wrote: > +/* this is necessary since GNUTLS doesn't support ECDH public key encryption, maybe we can replace this when it does: > + https://github.com/gnutls/gnutls/blob/cdc4fc288d87f91f974aa23b6e8595a53970ce00/lib/nettle/pk.c#L495 */ > +NTSTATUS compute_secret_ecc (struct key *privkey_in, struct key *pubkey_in, struct secret *secret) It would be nice if we could avoid adding another dependency. Has any effort been made to add this feature to GnuTLS?