bin2bn() and sign

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

bin2bn() and sign

Ken Goldman
Does bin2bn() assumes all positive numbers?

That is, the most significant bit of 'bin' == 1 doesn't indicate a
negative value, right?

--
Ken Goldman   [hidden email]   914-784-7646
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: bin2bn() and sign

Dr. Stephen Henson
On Wed, Oct 26, 2005, Ken Goldman wrote:

> Does bin2bn() assumes all positive numbers?
>
> That is, the most significant bit of 'bin' == 1 doesn't indicate a
> negative value, right?
>

Yes.

Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Funding needed! Details on homepage.
Homepage: http://www.drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]