bin/93776: SHA256_Update / SHA512_Update fail to ensure correct
alignment
Mark Andrews
Mark_Andrews at isc.org
Thu Feb 23 16:50:18 PST 2006
>Number: 93776
>Category: bin
>Synopsis: SHA256_Update / SHA512_Update fail to ensure correct alignment
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Feb 24 00:50:04 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Mark Andrews
>Release: FreeBSD 4.11-STABLE i386
>Organization:
ISC
>Environment:
System: FreeBSD drugs.dv.isc.org 4.11-STABLE FreeBSD 4.11-STABLE #27: Fri Jan 27 22:26:40 EST 2006 marka at drugs.dv.isc.org:/usr/obj/usr/src/sys/DRUGS i386
/* $FreeBSD: src/sys/crypto/sha2/sha2.c,v 1.2.2.2 2002/03/05 08:36:47 ume Exp $ */
>Description:
We have incorporated the above revision into BIND 9.4.0.
Testing of the DS record with SHA256 (see draft) showed up a
problem on sparc machines. data is not always correctly aligned
to be correctly cast to (sha2_word32*) / (sha2_word64*).
http://www.ietf.org/internet-drafts/draft-ietf-dnsext-ds-sha256-05.txt
>How-To-Repeat:
>Fix:
Always copy data to context->buffer before calling SHA256_Transform()
as context->buffer is correctly aligned.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list