|
From: Serge L. <fi...@in...> - 2007-11-01 19:43:42
|
Hi,
Dmitry Komarov wrote:
> Hi,
>
> so that really confirms the fact we need this OpenSSL patchset, as you can see
> from my previous message, similar C7 board gives 10 times higher performance
> with Gentoo and OpenSSL padlock patches applied...
Well, is it enough to apply the following patch? I mean I looked through the
mentioned page but haven't understood clearly how we should compile padlock
engine - static or shared. So I'm going to apply only one patch - it's in the
attachment because it was shrunk a bit. If the patch doesn't break the openssl
functionality I'll check in it in a day (after minimal preliminary checking).
Index: openssl
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/openssl,v
retrieving revision 1.25
diff -u -r1.25 openssl
--- openssl 19 Apr 2007 15:39:21 -0000 1.25
+++ openssl 1 Nov 2007 19:12:07 -0000
@@ -27,6 +27,10 @@
case $1 in
build )
+ if [ ! -e .patches_done ]; then
+ bzcat $SRCDIR/openssl-0.9.8b-sha.diff.bz2 | patch -p1 || exit 1
+ touch .patches_done
+ fi
./Configure linux-elf shared threads zlib-dynamic --prefix=/usr
--openssldir=/etc/ssl || exit 1
make depend || exit 1
===================================================================
--
Sincerely
Serge Leschinsky
|