manish kanchan <[email protected]> writes:

> 1. Does nettle support on PKCS1 encoding fro RSA encrytpion and
> signing?

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.

> 2. In the PrivateKey structure, Is the d ( private expoenent ) never
> used?

It's not used. It is set by rsa_generate_keypair, though.

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.
_______________________________________________
nettle-bugs mailing list
[email protected]
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs

Reply via email to