Skip to content

Commit

Permalink
Switch to bn-s390x (it's faster on keys longer than 512 bits) and men…
Browse files Browse the repository at this point in the history
…tion

s390x assembler pack in CHANAGES.
  • Loading branch information
Andy Polyakov committed Oct 1, 2007
1 parent 81fe8dc commit 0023adb
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

Changes between 0.9.8f and 0.9.9 [xx XXX xxxx]

*) s390x assembler pack.
[Andy Polyakov]

*) ARMv4 assembler pack. ARMv4 refers to v4 and later ISA, not CPU
"family."
[Andy Polyakov]
Expand Down
2 changes: 1 addition & 1 deletion Configure
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ my $sparcv9_asm="sparcv9cap.o sparccpuid.o:bn-sparcv9.o sparcv9-mont.o sparcv9a-
my $sparcv8_asm=":sparcv8.o:des_enc-sparc.o fcrypt_b.o::::::::::";
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 $s390x_asm=":bn-s390x.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="::::::::::::";

Expand Down
2 changes: 1 addition & 1 deletion TABLE
Original file line number Diff line number Diff line change
Expand Up @@ -3257,7 +3257,7 @@ $sys_id =
$lflags = -ldl
$bn_ops = SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL
$cpuid_obj =
$bn_obj = bn_asm.o s390x-mont.o
$bn_obj = bn-s390x.o
$des_obj =
$aes_obj = aes_cbc.o aes-s390x.o
$bf_obj =
Expand Down
3 changes: 3 additions & 0 deletions crypto/bn/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ bn-mips3.o: asm/mips3.s
as -$$ABI -O -o $@ asm/mips3.s; \
else $(CC) -c $(CFLAGS) -o $@ asm/mips3.s; fi

bn-s390x.o: asm/s390x.S
$(CC) $(CFLAGS) -c -o $@ asm/s390x.S

x86_64-gcc.o: asm/x86_64-gcc.c
$(CC) $(CFLAGS) -c -o $@ asm/x86_64-gcc.c
x86_64-mont.s: asm/x86_64-mont.pl
Expand Down

0 comments on commit 0023adb

Please sign in to comment.