Correct method to generate a Curve25519 keypair

Stef Bon stefbon at
Wed Jul 18 14:16:45 CEST 2018

Op wo 18 jul. 2018 om 12:56 schreef Alexander Lyon <arlyon at>:

> You are correct that it is not required, but when you don't specify it, it
> adds in anyways. I have successfully managed to get curve25519
> diffie-hellman to work, which you can observe here:

Using gcry_pk_encrypt does the trick? I did not see that coming.

Thank thanks a lot for sharing,

Stef Bon
the Netherlands
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Gcrypt-devel mailing list