Re: [openssl-users] Bound check on RSA public exponent

2012-06-21 Thread Erwann Abalea
The only limit check that I know is performed is if the modulus is strictly larger than OPENSSL_RSA_SMALL_MODULUS_BITS bits (3072 by default), then the public exponent must be less then or equal to OPENSSL_RSA_MAX_PUBEXP_BITS bits (64 by default). You can then have a 3072bits RSA key with a

Re: [openssl-users] Bound check on RSA public exponent

2012-06-21 Thread Sukalp Bhople
Thank you very much for the helpful response, I searched for the terms you used in your reply and I found them in one of the function. This function is *static int RSA_eay_public_encrypt(int flen, const unsigned char *from,* * unsigned char *to, RSA *rsa, int padding)* * * I was wondering,

Re: [openssl-users] Bound check on RSA public exponent

2012-06-21 Thread Erwann Abalea
Le 21/06/2012 18:18, Sukalp Bhople a écrit : Thank you very much for the helpful response, I searched for the terms you used in your reply and I found them in one of the function. This function is /static int RSA_eay_public_encrypt(int flen, const unsigned char *from,/ /unsigned char