lkml.org 
[lkml]   [2004]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [CRYPTO]: Miscompiling sha256.c by gcc 3.2.3 and arch pentium3,4
    On Fri, 30 Jan 2004, R CHAN wrote:

    > 2.6.2-rc2 sha256.c is miscompiled with gcc 3.2.3.
    > (User space is RedHat 3ES.)
    >
    > Just an observation:
    >
    > gcc 3.2.3 is miscompiling sha256.c when using
    > -O2 -march=pentium3
    > or pentium4.
    >
    > gcc 3.3.x is ok, or the problem disappears
    > if I use arch=i686 or reduce the optimisation level to -O2.
    >
    > Sympthoms are all the sha256 test vectors fail.
    > If I extract the guts of the file to compile in user space
    > the same problem occurs.

    Have you noticed if this happens for any of the other crypto algorithms?



    - James
    --
    James Morris
    <jmorris@redhat.com>


    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:00    [W:0.021 / U:3.060 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site