Re: [PHP] Strange Right-Shift Problem

2006-01-03 Thread Jochem Maas
Curt Zirzow wrote: On Fri, Dec 30, 2005 at 12:34:35PM -0600, Richard Lynch wrote: On Thu, December 29, 2005 5:37 pm, Michael Gross wrote: ... If you can determine the number of bits on your system, you could use a different number from 11 on the two systems to get the answer you want. if

Re: [PHP] Strange Right-Shift Problem

2006-01-02 Thread Curt Zirzow
On Fri, Dec 30, 2005 at 12:34:35PM -0600, Richard Lynch wrote: > On Thu, December 29, 2005 5:37 pm, Michael Gross wrote: > > Hello > > I have to migrate a PHP-application to a new Linux-Box. Both the old > > and > > the new system are Linux and PHP 5.1.1. (the old one has a Pentium 4, > > the new o

Re: [PHP] Strange Right-Shift Problem

2005-12-30 Thread Michael Gross
Hello Thanks for your answers. I now implemented everything new, with the mcrypt-extension. However, I use the crypt_xtea still for a compatibility mode. I had to implement the right-shift and other bit operations. If someone is interested: The problem occurred always when a number exceeded t

Re: [PHP] Strange Right-Shift Problem

2005-12-30 Thread Richard Lynch
On Thu, December 29, 2005 5:37 pm, Michael Gross wrote: > Hello > I have to migrate a PHP-application to a new Linux-Box. Both the old > and > the new system are Linux and PHP 5.1.1. (the old one has a Pentium 4, > the new one two Xeon CPUs). I have a problem using the > Crypt_Xtea-Extension. I nar

Re: [PHP] Strange Right-Shift Problem

2005-12-30 Thread Jochem Maas
Michael Gross wrote: Hello I have to migrate a PHP-application to a new Linux-Box. Both the old and the new system are Linux and PHP 5.1.1. (the old one has a Pentium 4, the new one two Xeon CPUs). I have a problem using the Crypt_Xtea-Extension. I narrowed it down to the following right-shift

[PHP] Strange Right-Shift Problem

2005-12-29 Thread Michael Gross
Hello I have to migrate a PHP-application to a new Linux-Box. Both the old and the new system are Linux and PHP 5.1.1. (the old one has a Pentium 4, the new one two Xeon CPUs). I have a problem using the Crypt_Xtea-Extension. I narrowed it down to the following right-shift operation: (-32810