[PATCH] Curve25519 encryption support (experimental)

NIIBE Yutaka gniibe at fsij.org
Wed Jul 8 03:32:05 CEST 2015


Hello,

Thank you for your interests.

On 07/08/2015 12:52 AM, Ed Johns wrote:
> I was interested in trying your Curve25519 encryption support. I've
> downloaded the latest alpha code. I see that the patch exists.

Today, I posted new updated patch.

    https://lists.gnupg.org/pipermail/gcrypt-devel/2015-July/003464.html

The patch is intended to apply to the master (development) branch of
libgcrypt.  The code is available at git.gnupg.org, you can browse it;

    http://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=summary

> Would you have a test case that I could used to get started with
> this patch?

Simple tests are not yet available.  Sure, I'll add test cases, so
that features can be tested by 'make check'.

THE example is available, as GnuPG.  My post is:

    https://lists.gnupg.org/pipermail/gnupg-devel/2015-July/030118.html

The ECDH encryption/decryption code is divided into GnuPG and
libgcrypt.  It would be good to see both to study.

ECDH encryption/decryption for GnuPG is described in:

    http://tools.ietf.org/html/rfc6637#section-8

For Curve25519, only x-coordinate is used in the computation.
-- 



More information about the Gcrypt-devel mailing list