ruby/ext/digest
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
..
bubblebabble .cvsignore: have not been used already. [Bug #3468] 2010-08-07 05:43:21 +00:00
lib * ext/digest: Improve documentation of Digest, Digest::HMAC and 2011-05-16 20:52:55 +00:00
md5 .cvsignore: have not been used already. [Bug #3468] 2010-08-07 05:43:21 +00:00
rmd160 .cvsignore: have not been used already. [Bug #3468] 2010-08-07 05:43:21 +00:00
sha1 .cvsignore: have not been used already. [Bug #3468] 2010-08-07 05:43:21 +00:00
sha2 * ext/digest/sha2/sha2.c (SHA256_Update, SHA512_Update): avoid Bus 2011-07-15 03:03:31 +00:00
defs.h * include/ruby/ruby.h (inttypes.h): includes always if available. 2008-03-14 08:04:45 +00:00
depend * ext/digest/digest.c (rb_digest_base_reset, Init_digest): Add 2006-10-11 05:15:15 +00:00
digest.c * internal.h: add for internal use only. 2011-05-18 13:41:54 +00:00
digest.h * ext/digest: Prefix C constants with RUBY_ and C type names with 2006-10-20 12:48:35 +00:00
extconf.rb * include/ruby: moved public headers. 2007-06-10 03:06:15 +00:00
test.sh * ext/digest/test.sh: make this script work again. 2006-10-25 07:35:45 +00:00