[openssl-users] Generating unsigned RSA Public Key with openssl

Salz, Rich rsalz at akamai.com
Sun Mar 25 01:09:03 UTC 2018

The API cannot do it.  The encoding requires that numbers with the high-bit on have a leading zero to avoid being interpreted as negative numbers as you noticed.  You could maybe generate our own RSA numbers with the high-bit off – i.e., make your own RSA_new kind of API.  The BN code can have flags to not require the high bit on.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20180325/1ad0d2c3/attachment-0001.html>

More information about the openssl-users mailing list