Nikos Mavrogiannopoulos <[email protected]> writes:

> Ok didn't notice that. However, the bignum functions like
> pkcs1_decrypt, pkcs1_encrypt, pkcs1_rsa_digest_encode,
> nettle_mpz_random_size seem to have no such limits.

They work under the assumption that key_size is less than 10000 bits
(see NETTLE_MAX_BIGNUM_BITS, 10000, and NETTLE_MAX_BIGNUM_SIZE, 1250).

I agree this is a bit more questionable.

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