Hi , I am trying to used Nettle cryptolibrary. I download the source, installed on ubuntu wrote a some sample application using the readme, examples files.
There are couple of thing which i am still unsure. Can you help me understand this.
1. Does nettle support on PKCS1 encoding fro RSA encrytpion and signing? 2. In the PrivateKey structure, Is the d ( private expoenent ) never used? Does nettle use private key in CRT format only? and not in expoenent format ( i.e modulus and priv exp)
I would be glad if you can clarify this to me.
Regards Manish Kanchan
manish kanchan manishdkanchan00@gmail.com writes:
Yes, if you are asking about the padding used internally. The resulting signatures are simply represented as mpz_t bignums, and you have to encode and decode them to the representation you need for your protocol or file format of interest.
It's not used. It is set by rsa_generate_keypair, though.
Regards, /Niels
nettle-bugs@lists.lysator.liu.se