Re: Elliptic curve point multiplication with libgcrypt

2017-12-10 Thread gnu cry
Salam Werner, Thank you for your answer On Thu, Dec 7, 2017 at 4:46 PM, gnu cry wrote: > > -- Forwarded message -- > From: gnu cry > Date: Thu, Dec 7, 2017 at 12:23 PM > Subject: Elliptic curve point multiplication with libgcrypt > To: gnupg-users@gnup

Fwd: Elliptic curve point multiplication with libgcrypt

2017-12-07 Thread gnu cry
-- Forwarded message -- From: gnu cry Date: Thu, Dec 7, 2017 at 12:23 PM Subject: Elliptic curve point multiplication with libgcrypt To: gnupg-users@gnupg.org Hi gpg hackers! I want to implement an elliptic curve point multiplication (Q=dG) operation with libgcrypt. I attach my

Re: Elliptic curve point multiplication with libgcrypt

2017-12-07 Thread Werner Koch
On Thu, 7 Dec 2017 09:53, gcry...@gmail.com said: > my question is how do you implement Q=dG in C with libgcrypt? any idea > about my mistakes and how should I fix them? You may want to look at libgcrypt/tests/t-mpi-point.c which does many operations on points. Salam-Shalom, Werner -- Die

Elliptic curve point multiplication with libgcrypt

2017-12-07 Thread gnu cry
Hi gpg hackers! I want to implement an elliptic curve point multiplication (Q=dG) operation with libgcrypt. I attach my code but my program doesn't work and it has many errors. I comment the workflow of my program in the attached code. my question is how do you implement Q=dG in C with libgcrypt?