OpenSSL CVS Repository
http://cvs.openssl.org/
____________________________________________________________
________________
Server: cvs.openssl.org Name: Andy
Polyakov
Root: /v/openssl/cvs Email: appro openssl.org
Module: openssl Date:
27-Sep-2007 09:09:47
Branch: HEAD Handle:
2007092708094501
Modified files:
openssl CHANGES Configure config
openssl/crypto/sha Makefile
openssl/crypto/sha/asm sha1-armv4-large.pl
sha1-thumb.pl sha256-armv4.pl
sha512-armv4.pl
Log:
ARMv4 assembler pack.
Summary:
Revision Changes Path
1.1395 +4 -0 openssl/CHANGES
1.575 +2 -0 openssl/Configure
1.164 +2 -2 openssl/config
1.14 +3 -0 openssl/crypto/sha/Makefile
1.3 +4 -0
openssl/crypto/sha/asm/sha1-armv4-large.pl
1.2 +4 -0
openssl/crypto/sha/asm/sha1-thumb.pl
1.3 +4 -0
openssl/crypto/sha/asm/sha256-armv4.pl
1.4 +4 -0
openssl/crypto/sha/asm/sha512-armv4.pl
____________________________________________________________
________________
patch -p0 <<' .'
Index: openssl/CHANGES
============================================================
================
$ cvs diff -u -r1.1394 -r1.1395 CHANGES
--- openssl/CHANGES 26 Sep 2007 21:56:53 -0000 1.1394
+++ openssl/CHANGES 27 Sep 2007 07:09:45 -0000 1.1395
 -4,6 +4,10 
Changes between 0.9.8f and 0.9.9 [xx XXX xxxx]
+ *) ARMv4 assembler pack. ARMv4 refers to v4 and later
ISA, not CPU
+ "family."
+ [Andy Polyakov]
+
*) Implement certificate status request TLS extension
defined in RFC3546.
A client can set the appropriate parameters and
receive the encoded
OCSP response via a callback. A server can query the
supplied parameters
 .
patch -p0 <<' .'
Index: openssl/Configure
============================================================
================
$ cvs diff -u -r1.574 -r1.575 Configure
--- openssl/Configure 16 Sep 2007 12:23:47 -0000 1.574
+++ openssl/Configure 27 Sep 2007 07:09:45 -0000 1.575
 -127,6 +127,7 
my $alpha_asm="alphacpuid.o:bn_asm.o
alpha-mont.o:::::::::::";
my $mips3_asm=":bn-mips3.o:::::::::::";
my $s390x_asm=":bn_asm.o s390x-mont.o::aes_cbc.o
aes-s390x.o:::sha1-s390x.o sha256-s390x.o
sha512-s390x.o::::::";
+my $armv4_asm=":bn_asm.o armv4-mont.o::aes_cbc.o
aes-armv4.o:::sha1-armv4-large.o sha256-armv4.o
sha512-armv4.o::::::";
my $no_asm="::::::::::::";
# As for $BSDthreads. Idea is to maintain
"collective" set of flags,
 -323,6 +324,7 
# throw in -D[BL]_ENDIAN, whichever appropriate...
"linux-generic32","gcc:-DTERMIO -O3
-fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG
RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL
BF_PTR:$:dlfcn:linux-shared:-fPIC::.so.$(SHLIB_MAJO
R).$(SHLIB_MINOR)",
"linux-ppc", "gcc:-DB_ENDIAN -DTERMIO -O3
-Wall::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK
DES_RISC1 DES_UNROLL:ppccpuid_linux32.o:linux_ppc32.o
linux_ppc32-mont.o:::::sha1-ppc_linux32.o
sha256-ppc_linux32.o:::::::dlfcn:linux-shared:-fPIC::.so.$(
SHLIB_MAJOR).$(SHLIB_MINOR)",
+"linux-armv4", "gcc:-DTERMIO -O3
-Wall::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK
DES_INT DES_UNROLL
BF_PTR:$:dlfcn:linux-shared:-fPIC::.so.$(SHLIB_M
AJOR).$(SHLIB_MINOR)",
#### IA-32 targets...
"linux-ia32-icc", "icc:-DL_ENDIAN -DTERMIO
-O2 -no_cpprt::-D_REENTRANT::-ldl:BN_LLONG $
$:$:dlfcn:linux-shared:-KPIC::.so
.$(SHLIB_MAJOR).$(SHLIB_MINOR)",
"linux-elf", "gcc:-DL_ENDIAN -DTERMIO -O3
-fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG
$
$:$:dlfcn:linux-shared:-fPIC::.so
.$(SHLIB_MAJOR).$(SHLIB_MINOR)",
 .
patch -p0 <<' .'
Index: openssl/config
============================================================
================
$ cvs diff -u -r1.163 -r1.164 config
--- openssl/config 31 Aug 2007 10:09:34 -0000 1.163
+++ openssl/config 27 Sep 2007 07:09:45 -0000 1.164
 -611,8 +611,8 
options="$options -DB_ENDIAN
-mschedule=$CPUSCHEDULE -march=$CPUARCH"
OUT="linux-generic32" ;;
- arm*b-*-linux2) OUT="linux-generic32";
options="$options -DB_ENDIAN" ;;
- arm*l-*-linux2) OUT="linux-generic32";
options="$options -DL_ENDIAN" ;;
+ arm[1-3]*-*-linux2) OUT="linux-generic32" ;;
+ arm*-*-linux2) OUT="linux-armv4" ;;
sh*b-*-linux2) OUT="linux-generic32";
options="$options -DB_ENDIAN" ;;
sh*-*-linux2) OUT="linux-generic32";
options="$options -DL_ENDIAN" ;;
m68k*-*-linux2) OUT="linux-generic32";
options="$options -DB_ENDIAN" ;;
 .
patch -p0 <<' .'
Index: openssl/crypto/sha/Makefile
============================================================
================
$ cvs diff -u -r1.13 -r1.14 Makefile
--- openssl/crypto/sha/Makefile 14 Sep 2007 21:06:11
-0000 1.13
+++ openssl/crypto/sha/Makefile 27 Sep 2007 07:09:46
-0000 1.14
 -71,6 +71,9 
sha512-ia64.s: asm/sha512-ia64.pl
(cd asm; $(PERL) sha512-ia64.pl ../$
$(CFLAGS))
+sha256-armv4.s: asm/sha256-armv4.pl
+ $(PERL) $< $
+
# Solaris make has to be explicitly told
sha1-x86_64.s: asm/sha1-x86_64.pl; $(PERL)
asm/sha1-x86_64.pl $
sha256-x86_64.s:asm/sha512-x86_64.pl; $(PERL)
asm/sha512-x86_64.pl $
 .
patch -p0 <<' .'
Index: openssl/crypto/sha/asm/sha1-armv4-large.pl
============================================================
================
$ cvs diff -u -r1.2 -r1.3 sha1-armv4-large.pl
--- openssl/crypto/sha/asm/sha1-armv4-large.pl 25 Jan 2007
10:44:18 -0000 1.2
+++ openssl/crypto/sha/asm/sha1-armv4-large.pl 27 Sep 2007
07:09:46 -0000 1.3
 -38,6 +38,9 
# the same job in Thumb, therefore the code is never
twice as
# small and always slower.
+$output=shift;
+open STDOUT,">$output";
+
$ctx="r0";
$inp="r1";
$len="r2";
 -224,3 +227,4 
___
print $code;
+close STDOUT; # enforce flush
 .
patch -p0 <<' .'
Index: openssl/crypto/sha/asm/sha1-thumb.pl
============================================================
================
$ cvs diff -u -r1.1 -r1.2 sha1-thumb.pl
--- openssl/crypto/sha/asm/sha1-thumb.pl 22 Jan 2007
20:33:46 -0000 1.1
+++ openssl/crypto/sha/asm/sha1-thumb.pl 27 Sep 2007
07:09:46 -0000 1.2
 -19,6 +19,9 
# by over 40%, while code increases by only 10% or 32
bytes. But once
# again, the goal was to establish _size_ benchmark, not
performance.
+$output=shift;
+open STDOUT,">$output";
+
$inline=0;
#$cheat_on_binutils=1;
 -253,3 +256,4 
___
print $code;
+close STDOUT; # enforce flush
 .
patch -p0 <<' .'
Index: openssl/crypto/sha/asm/sha256-armv4.pl
============================================================
================
$ cvs diff -u -r1.2 -r1.3 sha256-armv4.pl
--- openssl/crypto/sha/asm/sha256-armv4.pl 13 Sep 2007
07:27:10 -0000 1.2
+++ openssl/crypto/sha/asm/sha256-armv4.pl 27 Sep 2007
07:09:46 -0000 1.3
 -13,6 +13,9 
# lute" terms is ~2250 cycles per 64-byte block or
~35 cycles per
# byte.
+$output=shift;
+open STDOUT,">$output";
+
$ctx="r0"; $t0="r0";
$inp="r1";
$len="r2"; $t1="r2";
 -173,3 +176,4 
$code =~ s/`([^`]*)`/eval $1/gem;
print $code;
+close STDOUT; # enforce flush
 .
patch -p0 <<' .'
Index: openssl/crypto/sha/asm/sha512-armv4.pl
============================================================
================
$ cvs diff -u -r1.3 -r1.4 sha512-armv4.pl
--- openssl/crypto/sha/asm/sha512-armv4.pl 26 Sep 2007
12:17:33 -0000 1.3
+++ openssl/crypto/sha/asm/sha512-armv4.pl 27 Sep 2007
07:09:46 -0000 1.4
 -22,6 +22,9 
$lo=4;
#
============================================================
========
+$output=shift;
+open STDOUT,">$output";
+
$ctx="r0";
$inp="r1";
$len="r2";
 -391,3 +394,4 
$code =~ s/`([^`]*)`/eval $1/gem;
print $code;
+close STDOUT; # enforce flush
 .
____________________________________________________________
__________
OpenSSL Project http://www.openssl.org
CVS Repository Commit List
openssl-cvs openssl.org
Automated List Manager
majordomo openssl.org
|