Crypt::CBC and some other Crypt modules (this is also the case with
Crypt::DES) seem to be having problems inter-relating. I'm changing my
evaluation of Crypt::Blowfish and Crypt::DES to "unknown". Lincoln, if
you could look into this along with Dave Paris, we'd appreciate it.
Thanks,
-Allen
--- Forwarded mail from Dave Paris <[EMAIL PROTECTED]>
Received: from mail.rhsnet.com (ns2.rhsnet.net [208.234.200.5]) by
dogberry.rutgers.edu (8.11.2/8.11.2) with ESMTP id g0G1BJk09224 for
<[EMAIL PROTECTED]>; Tue, 15 Jan 2002 20:11:19 -0500 (EST)
Received: from w3works.com ([208.234.201.216]) by mail.rhsnet.com
(Post.Office MTA v3.1.2 release (PO205-101c) ID# 9-31337L) with ESMTP
id AAA143; Tue, 15 Jan 2002 20:18:27 -0500
Sender: root
Message-ID: <[EMAIL PROTECTED]>
Date: Tue, 15 Jan 2002 20:05:36 -0500
From: Dave Paris <[EMAIL PROTECTED]>
Organization: W3Works, LLC
X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.11 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Ed Allen Smith <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: FAIL Crypt-Blowfish-2.09 IP30-R12000-irix 6.5
References: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
The failure here is the recently updated Crypt::CBC module. For some
strange reason, the 2.01 release of Crypt::CBC, after 1.25 being stable
for 18 months, now tacks a 00 on the end of otherwise sane Cipher Block
Chaining.
This has nothing to do with Crypt::Blowfish, which obviously builds and
performs just fine on the cited hardware. Please reassess your rating
of "FAIL." If you doubt my answer, please try your test again with
Crypt::CBC 1.25.
Thanks,
-dsp
Ed Allen Smith wrote:
>
> This distribution has been tested as part of the cpan-testers
> effort to test as many new uploads to CPAN as possible. See
> http://testers.cpan.org/
>
> Please cc any replies to [EMAIL PROTECTED] to keep other
> test volunteers informed and to prevent any duplicate effort.
>
> --
> PERL_DL_NONLAZY=1 /usr/sbin/perl -Iblib/arch -Iblib/lib
>-I/usr/share/lib/perl5/5.6.0/IP30-R12000-irix -I/usr/share/lib/perl5/5.6.0 test.pl
> 1..11
> ok 1
> ok 2
> ok 3
> ok 4
> ok 5
> ok 6
> ok 7
> ok 8
> ok 9
> ok 10
>
> Running standard mode speed tests.. encrypting with non-cached cipher
> 5,000 cycles: 7 wallclock secs ( 3.17 usr + 0.09 sys = 3.26 CPU)
>
> Running standard mode speed tests.. decrypting with non-cached cipher
> 5,000 cycles: 6 wallclock secs ( 3.17 usr + 0.08 sys = 3.25 CPU)
>
> Running standard mode speed tests.. encrypting with cached cipher
> 10,000 cycles: 1 wallclock secs ( 0.29 usr + 0.01 sys = 0.30 CPU)
>
> Running standard mode speed tests.. decrypting with cached cipher
> 10,000 cycles: 1 wallclock secs ( 0.29 usr + 0.00 sys = 0.29 CPU)
>
> Testing Cipher Block Chaining..
> 37363534333231204e6f77206973207468652074696d6520666f7220 :decrypted
> 37363534333231204e6f77206973207468652074696d6520666f722000 :orig
> not ok 11 - CBC Mode failed
>
> --
>
> Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
> Platform:
> osname=irix, osvers=6.5, archname=IP30-R12000-irix
> uname='irix64 cesario 6.5 01200532 ip30 '
> config_args='-der'
> hint=previous, useposix=true, d_sigaction=define
> usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
> useperlio=undef d_sfio=undef uselargefiles=define
> use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
> Compiler:
> cc='cc -n32 -mips4 -TARG:platform=ip30', optimize='-r12000 -O3
>-OPT:fast_sqrt=OFF:Olimit=0 -TENV:X=1 -LNO:opt=1:ou_further=3
>-OPT:fold_unsafe_relops=OFF:div_split=OFF:IEEE_arithmetic=1:roundoff=0 -LNO:vintr=OFF
>-OPT:got_call_conversion=OFF', gccversion=
> cppflags='-D_BSD_TYPES -D_BSD_TIME -DLANGUAGE_C
>-I/server/people/staff/easmith/include -DDEBUGGING'
> ccflags ='-D_BSD_TYPES -D_BSD_TIME -woff 1009,1110,1184 -DLANGUAGE_C
>-I/server/people/staff/easmith/include -DDEBUGGING'
> stdchar='unsigned char', d_stdstdio=define, usevfork=false
> intsize=4, longsize=4, ptrsize=4, doublesize=8
> d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
> ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
> alignbytes=8, usemymalloc=n, prototype=define
> Linker and Libraries:
> ld='ld -mips4 -n32 -shared -update_registry /usr/lib32/so_locations', ldflags
>='-L/server/people/staff/easmith/lib32 -L/usr/lib32/mips4 -L/usr/lib32/internal
>-L/usr/lib32 -L/lib32 -rpath
>/server/people/staff/easmith/lib32:/usr/lib32/mips4:/usr/lib32/internal:/usr/lib32:/lib32'
> libpth=/server/people/staff/easmith/lib32 /usr/lib32/mips4 /usr/lib32/internal
>/usr/lib32 /lib32
> libs=-lgdbm -ldb -lm -lc
> libc=/usr/lib32/mips4/libc.so, so=so, useshrplib=false, libperl=libperl.a
> Dynamic Linking:
> dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
> cccdlflags=' ', lddlflags='-L/server/people/staff/easmith/lib32
>-L/usr/lib32/mips4 -L/usr/lib32/internal -L/usr/lib32 -L/lib32 -rpath
>/server/people/staff/easmith/lib32:/usr/lib32/mips4:/usr/lib32/internal:/usr/lib32:/lib32'
---End of forwarded mail from Dave Paris <[EMAIL PROTECTED]>
--
Allen Smith [EMAIL PROTECTED]
September 11, 2001 A Day That Shall Live In Infamy II
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." - Benjamin Franklin