Bug 285932: Faster SHA1 implementation for AMD64: sha-fast-amd64-sun.s is

currently only for Solaris AMD 64 when using Sun studio compilers.
This commit is contained in:
saul.edwards%sun.com 2005-08-15 16:55:22 +00:00
parent bd7db8b452
commit 95723d010a
3 changed files with 2146 additions and 2 deletions

View File

@ -252,8 +252,9 @@ else
ASFILES = arcfour-amd64-gas.s mpi_amd64_gas.s
ASFLAGS += -march=opteron -m64 -fPIC
else
ASFILES = arcfour-amd64-sun.s mpi_amd64_sun.s
ASFILES = arcfour-amd64-sun.s mpi_amd64_sun.s sha-fast-amd64-sun.s
ASFLAGS += -xarch=generic64 -K PIC
SHA_SRCS =
endif
DEFINES += -DNSS_BEVAND_ARCFOUR -DMPI_AMD64 -DMP_ASSEMBLY_MULTIPLY
MPI_SRCS += mpi_amd64.c

View File

@ -87,12 +87,13 @@ ECL_SRCS = ecl.c ecl_curve.c ecl_mult.c ecl_gf.c \
else
ECL_SRCS = $(NULL)
endif
SHA_SRCS = sha_fast.c
CSRCS = \
ldvector.c \
prng_fips1861.c \
sysrand.c \
sha_fast.c \
$(SHA_SRCS) \
md2.c \
md5.c \
sha512.c \

File diff suppressed because it is too large Load Diff