SHA1_Update() produces wrong results for large buffers

Simon Barner barner at FreeBSD.org
Mon Jan 9 17:26:56 PST 2006


Pavel Gorshkov wrote:
>     ./sha1test.md-static test-1G
>     0d6ee6083bf8b6368cb80d323e82164e5540e296
>     # ^^^ WRONG
>     # OK
>     ./sha1test.md-shared test-1G
>     2a492f15396a6768bcbca016993f4b4c8b0b5307

Values confirmed for 6.0-STABLE with CFLAGS="-O -pipe".

-- 
Best regards / Viele Grüße,                             barner at FreeBSD.org
 Simon Barner                                                barner at gmx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20060110/528c090a/attachment.bin


More information about the freebsd-stable mailing list