PHP Bugs  
php.net | support | documentation | report a bug | advanced search | search howto | statistics | login

go to bug id or search bugs for  

Bug #32463 mhash implementation of Tiger incorrect?
Submitted:26 Mar 2005 2:51pm UTC Modified: 29 Mar 2005 12:39am UTC
From:Keamos at gmail dot com Assigned to:sas
Status:Bogus Category:mhash related
Version:4.3.10 OS:Windows XP SP2
View/Vote Developer Edit Submission

[26 Mar 2005 2:51pm UTC] 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-fo
rmat.dat

Reproduce code:
---------------
Since the reproduce code is more than twenty lines, find it at
http://pastebin.ca/8273

[26 Mar 2005 6:03pm UTC] derick@php.net
Assigning to Sascha, the maintainer of this extension.
[28 Mar 2005 11:32pm UTC] 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. 
[29 Mar 2005 12:39am UTC] sniper@php.net
..

RSS feed | show source 

PHP Copyright © 2001-2009 The PHP Group
All rights reserved.
Last updated: Sat Nov 21 10:30:49 2009 UTC