Nikos Mavrogiannopoulos n.mavrogiannopoulos@gmail.com 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