#32463 [Asn->Bgs]: mhash implementation of Tiger incorrect?
| From: | sniper@php.net | Date: | Mon, 28 Mar 2005 22:39:07 +0000 |
| Subject: | #32463 [Asn->Bgs]: mhash implementation of Tiger incorrect? | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-75937@lists.php.net to get a copy of this message | ||
ID: 32463
Updated by: sniper@php.net
Reported By: Keamos at gmail dot com
-Status: Assigned
+Status: Bogus
Bug Type: mhash related
Operating System: Windows XP SP2
PHP Version: 4.3.10
Assigned To: sas
New Comment:
..
Previous Comments:
------------------------------------------------------------------------
[2005-03-28 23:32:26] jay@php.net
This isn't really a bug, it's more of a different
implementation/interpretation of the Tiger algorithm. The
test vectors provided on the Tiger homepage provide the
output hash in little endian, while the testtiger
reference implementation at the site outputs the hash in
big endian. Both outputs are correct, I guess, it's just
the ordering of the bytes that changes.
I'll leave the bug status as is so Sascha can see it and
give a more definitive anwser than I can, but I don't
think it's a bug per se.
------------------------------------------------------------------------
[2005-03-26 18:03:43] derick@php.net
Assigning to Sascha, the maintainer of this extension.
------------------------------------------------------------------------
[2005-03-26 14:51:39] Keamos at gmail dot com
Description:
------------
Mhash fails the Tiger test vectors found at
http://www.cs.technion.ac.il/~biham/Reports/Tiger/test-vectors-nessie-format.dat
Reproduce code:
---------------
Since the reproduce code is more than twenty lines, find it at
http://pastebin.ca/8273
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32463&edit=1