On Wed, Nov 21, 2001 at 12:08:45PM -0800, Mehmet Musa wrote:

> I am not getting the right answer by squaring two numbers with bn_sqr_words.

bn_sqr_words() is just an internal function used in the implementation
of BN_sqr(). What are you trying to do?

> This function is just squaring each word respectively and is ignoring the
>  double terms.

Yes.

>  It does (a0+a1+a2+...)*(a0+a1+a2+...) = a0^2+a1^2+a2^2...

Yes.

>  I don't think we are assuming anywhere that we are working in a finite
>   field with characteristic 2?

No
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to