NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/42881: openssl sha384 broken. Returns 64 bytes instead of 48
The following reply was made to PR bin/42881; it has been noted by GNATS.
From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: bin/42881: openssl sha384 broken. Returns 64 bytes instead of
48
Date: Wed, 10 Mar 2010 15:38:58 +0100
On Wed, Mar 10, 2010 at 02:05:06PM +0000, Marko Kreen wrote:
> The following reply was made to PR bin/42881; it has been noted by GNATS.
>
> From: Marko Kreen <markokr%gmail.com@localhost>
> To: gnats-bugs%netbsd.org@localhost
> Cc:
> Subject: Re: bin/42881: openssl sha384 broken. Returns 64 bytes instead of 48
> Date: Wed, 10 Mar 2010 16:00:30 +0200
>
> > Right, that's the issue the commit (and pullup) is supposed to fix.
> > Does it?
>
> Unlikely, please see what SHA384_Final() actually does.
I know what it did. To save a few instructions, OpenSSL creates ad-hoc
calls between SHA384 functions and SHA512 functions. The EVP code
slipped through when I adjusted the rest. The problem was that NetBSD
already had SHA2 support in libc, but OpenSSL uses a larger context.
As I said, that's fixed.
Joerg
Home |
Main Index |
Thread Index |
Old Index