Fwd: Elliptic curve point multiplication with libgcrypt

2017-12-07 Thread gnu cry
-- Forwarded message -- From: gnu cry <gcry...@gmail.com> 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) ope

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?

Re: pgpdump alternative for gpg2

2017-12-11 Thread gnu cry
I find my answer, my gpg version was my problem, more information in the below link: https://crypto.stackexchange.com/questions/53821/pgpdump-alternative-for-gnupg-2-x On Fri, Dec 8, 2017 at 6:58 PM, gnu cry <gcry...@gmail.com> wrote: > Hi gpg hackers, > > > I want to see g

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 <gcry...@gmail.com> wrote: > > -- Forwarded message ------ > From: gnu cry <gcry...@gmail.com> > Date: Thu, Dec 7, 2017 at 12:23 PM > Subject: Elliptic curve point mu

pgpdump alternative for gpg2

2017-12-10 Thread gnu cry
Hi gpg hackers, I want to see gpg2 key parameters packets. pgpdump v0.32 doesn't support gpg2 (especially elliptic curve cryptography packets) and "gpg2 --list-packets" doesn't show key parameters. is there any way to see key parameters (d, q and curve) of ecc in gpg2 imported secret subkeys?