How was the maximum size of the result of RSA_PRIVATE and RSA_PUBLIC determined?

They are currently sized at 16384 and 8192 respectively, but given the maximum key length of 1024 bytes, it doesn't seem to exceed +/- 5000 bytes (some experimentation repeatedly gave an actual length of 4652 bytes for RSA_PRIVATE, 1038 bytes for RSA_PUBLIC).

With those results, the return types of these functions seem to be too wide and could be reduced.

Mark
--
Mark Rotteveel


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to