nahi e56f2abe4b * ext/digest/sha2/sha2.c (SHA256_Update, SHA512_Update): avoid Bus
Error caused by unalignment access on Sparc-Solaris (and possibly on
  other similar environment.) This patch just do memcpy always instead
  of checking architecture. I see no perf drop on my 64bit env. For
  more details, see #4320.

* test/digest/test_digest.rb: add test for unalignment access.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-15 03:03:31 +00:00
..
2011-05-22 09:26:02 +00:00
2011-05-15 11:55:52 +00:00
2011-05-15 11:55:52 +00:00
2011-05-22 09:26:02 +00:00
2011-05-22 09:26:02 +00:00
2011-06-13 07:41:20 +00:00
2011-05-22 09:26:02 +00:00
2011-05-22 09:26:02 +00:00
2011-05-21 15:27:28 +00:00