Bug 93776 - [crypto] [patch] SHA256_Update / SHA512_Update fail to ensure correct alignment
Summary: [crypto] [patch] SHA256_Update / SHA512_Update fail to ensure correct alignment
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 4.11-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2006-02-24 00:50 UTC by Mark Andrews
Modified: 2018-01-03 05:13 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Mark Andrews 2006-02-24 00:50:04 UTC
	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*).



Always copy data to context->buffer before calling SHA256_Transform()
	as context->buffer is correctly aligned.
Comment 1 John-Mark Gurney freebsd_committer 2014-01-24 21:23:25 UTC
Responsible Changed
From-To: freebsd-bugs->jmg

I'll take over this bug...  I plan on replacing the sha256 in kernel 
w/ the faster one from userland in the near future...
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:44 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped