Am 27.06.2014 18:10, schrieb Viktor Dukhovni:
On Fri, Jun 27, 2014 at 05:29:52PM +0200, Stephan M?hlstrasser wrote:

        ==14780== Use of uninitialised value of size 8
        ==14780==    at 0x72378B: bn_GF2m_mul_1x1 (bn_gf2m.c:179)

What is the commit id of the openssl version you're building?

The commit id is 1536bcfd567d6e369abac1fcaafd56bf7d16d7bb.

What is on line 179 of that file.  I have:

         s = tab[b       & 0xF]; l  = s;

and all slots from 0 to 15 of tab[] are initialized, while "b" is
a function argument.

Line 179 is identical to what you have, and "b" is a function argument.

In lines 174 to 177 all slots of tab[] are initialized:

        tab[ 0] = 0;     tab[ 1] = a1;       tab[ 2] = a2;       tab[ 3] = 
a1^a2;
tab[ 4] = a4; tab[ 5] = a1^a4; tab[ 6] = a2^a4; tab[ 7] = a1^a2^a4; tab[ 8] = a8; tab[ 9] = a1^a8; tab[10] = a2^a8; tab[11] = a1^a2^a8; tab[12] = a4^a8; tab[13] = a1^a4^a8; tab[14] = a2^a4^a8; tab[15] = a1^a2^a4^a8;

Maybe b is uninitialized?

--
Stephan
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [email protected]

Reply via email to