[phobos] [D-Programming-Language/phobos] 3bbe15: Fix big endian version of MD5 and RipeMD160.

GitHub noreply at github.com
Fri Apr 12 05:38:28 PDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: 3bbe15507cb7d9e6b565e2400a452e9938aa62bd
      https://github.com/D-Programming-Language/phobos/commit/3bbe15507cb7d9e6b565e2400a452e9938aa62bd
  Author: kai <kai at redstar.de>
  Date:   2013-04-06 (Sat, 06 Apr 2013)

  Changed paths:
    M std/digest/md.d
    M std/digest/ripemd.d

  Log Message:
  -----------
  Fix big endian version of MD5 and RipeMD160.

Obviously the code has never been run on a big endian architecuture.
With these changes the unit tests passes on Linux/PPC64.


  Commit: 6921025c03833f554ddc3ff24b570ca93449ae3a
      https://github.com/D-Programming-Language/phobos/commit/6921025c03833f554ddc3ff24b570ca93449ae3a
  Author: kai <kai at redstar.de>
  Date:   2013-04-07 (Sun, 07 Apr 2013)

  Changed paths:
    M std/md5.d

  Log Message:
  -----------
  Fix endian issues in std.md5

I replaced the methods Encode and Decode with calls to methods
from std.bitmanip. This solves the endian issues.


  Commit: b4d5139ade0cba8bda52821b3227eb09110c710c
      https://github.com/D-Programming-Language/phobos/commit/b4d5139ade0cba8bda52821b3227eb09110c710c
  Author: Alex Rønne Petersen <alex at alexrp.com>
  Date:   2013-04-12 (Fri, 12 Apr 2013)

  Changed paths:
    M std/digest/md.d
    M std/digest/ripemd.d
    M std/md5.d

  Log Message:
  -----------
  Merge pull request #1249 from redstar/digestendian

Fix big endian version of MD5 and RipeMD160.


Compare: https://github.com/D-Programming-Language/phobos/compare/76f9b07ece25...b4d5139ade0c


More information about the phobos mailing list