library intialization error

2019-06-12 Thread Hassan Mostafa
Hi, I am a new to libgcrypt. i had an error when I tried just to initialize the library. I followed the manual for initialization but when try to check it's success it give me general error. the code as following # include # include # include # include # include # define AM_PATH_LIBGCRYPT

Elliptic curve operations

2019-06-07 Thread Hassan Mostafa
dears, It's my first time to use this library and I am not a developer. all what I am doing is elliptic curve operations to simulate some EC based algorithms. first of all I wrote the following code to generate a curve and just get the secret key and display it. it gives me segmentation fault 11.

Elliptic curve operations problem using libgcrypt

2019-05-24 Thread Hassan Mostafa
I am a new user of libgcrypt. I am trying to do math operations on elliptic curves for example scalar multiplication. I am started with writing a code which simply initialize the library then generate a context for EC operation and the get the private key and display it. in my code. 1. I am trying