From 63077bd40c67eb1d6be31f0df60470c227b6894e Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Thu, 20 May 2004 21:24:41 +0000 Subject: SHA-256/-512 update. A bug fix, SHA-512 tune-up for AMD64, hook for SSE2 code, Makefile update. --- crypto/sha/Makefile.ssl | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'crypto/sha/Makefile.ssl') diff --git a/crypto/sha/Makefile.ssl b/crypto/sha/Makefile.ssl index 91b6cd2bb0..dc5d8c975d 100644 --- a/crypto/sha/Makefile.ssl +++ b/crypto/sha/Makefile.ssl @@ -23,12 +23,12 @@ CFLAGS= $(INCLUDES) $(CFLAG) ASFLAGS= $(INCLUDES) $(ASFLAG) GENERAL=Makefile -TEST=shatest.c sha1test.c +TEST=shatest.c sha1test.c sha256t.c sha512t.c APPS= LIB=$(TOP)/libcrypto.a -LIBSRC=sha_dgst.c sha1dgst.c sha_one.c sha1_one.c -LIBOBJ=sha_dgst.o sha1dgst.o sha_one.o sha1_one.o $(SHA1_ASM_OBJ) +LIBSRC=sha_dgst.c sha1dgst.c sha_one.c sha1_one.c sha256.c sha512.c +LIBOBJ=sha_dgst.o sha1dgst.o sha_one.o sha1_one.o sha256.o sha512.o $(SHA1_ASM_OBJ) SRC= $(LIBSRC) @@ -50,6 +50,8 @@ lib: $(LIBOBJ) # elf asm/sx86-elf.s: asm/sha1-586.pl ../perlasm/x86asm.pl (cd asm; $(PERL) sha1-586.pl elf $(CFLAGS) $(PROCESSOR) > sx86-elf.s) +asm/sse2-elf.s: asm/sha512-sse2.pl ../perlasm/x86asm.pl + (cd asm; $(PERL) sha512-sse2.pl elf $(CFLAGS) $(PROCESSOR) > sse2-elf.s) # a.out asm/sx86-out.o: asm/sx86unix.cpp -- cgit v1.2.3