Crypt::DES perl module

From: Michael Douglass (mikedoug@staff.texas.net)
Date: Mon Dec 27 1999 - 12:21:53 EST


I have a hard time believing that the Crypt::DES perl module in the CPAN
repository doesn't work under Sparc Solaris. I've tried it on two Sparc
Solaris boxes and both the encrypt/decrypt functions fail. I then tried
it on an Intel FreeBSD box and all of the tests passed. I have a feeling
that this is related to the difference in endianess as I had the same
problem with Crypt::IDEA (compiled/installed for the heck of it) until I
got it to understand the endianess of the Sparc was big endian. As soon
as I got that to work, the tests for Crypt::IDEA worked out fine.

However, I have not been able to, without spending several hours on studying
the code, been able to find any easy-to-spot places where the code needs
some help with endianess.

Has anyone addressed this issue? I find it hard to believe that with
OpenSRS's use of Crypt::DES that this could remain a problem for long.
Any assistance with this issue will be most appreciated.

Thank you,

-- 
Michael Douglass
Texas Networking, Inc.

Any sufficiently advanced bug is indistinguishable for a feature. -- from some indian guy



This archive was generated by hypermail 2.1.3 : Tue Oct 19 2004 - 23:38:00 EDT