Mallikarjun Bailamanavar <[email protected]> writes:

> - Does nettle not support PKCS#1 v2.1 padding mechanisms e.g.
> RSASSA-PSS?

It doesn't.

> - Does nettle not support exponent format for private key?. Meaning private
> key is made up of modulus and private exponent.

No, it uses CRT optimization and the auxillary data needed for that,
including the two secret factors. If you have only n and d, it's possible
to recover the factorization (you need also the public exponent e). One
could add functions for using only d to nettle, but so far that hasn't
seemed to be an important feature.

> - Is there an API for raw RSA crypto operation? Raw meaning, API must not
> do any encoding with input data but just has to sign/encrypt it.

See rsa_compute_root. Or if you don't want to use CRT, just use GMP's
mpz_powm or mpz_powm_sec.

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