summaryrefslogtreecommitdiff
path: root/usr/src/uts/intel/arcfour
diff options
context:
space:
mode:
authorda73024 <none@none>2008-03-25 15:07:40 -0700
committerda73024 <none@none>2008-03-25 15:07:40 -0700
commit55553f719b521a0bb4deab6efc944cd30c1a56aa (patch)
tree1c40bfe9e0af4809ba87a34398c7676083c723f8 /usr/src/uts/intel/arcfour
parentf1ec5ace8ce99c499004da59c01f4c02ac312ad7 (diff)
downloadillumos-joyent-55553f719b521a0bb4deab6efc944cd30c1a56aa.tar.gz
6652716 Need an ARCFOUR implementation optimized for Intel EM64T
6658907 digest(1) and mac(1) could benefit from being 64-bit programs 6665607 Need a SHA256/SHA384/SHA512 implementation optimized for 64-bit x86 --HG-- rename : usr/src/common/crypto/arcfour/amd64/arcfour_crypt_amd64.s => deleted_files/usr/src/common/crypto/arcfour/amd64/arcfour_crypt_amd64.s
Diffstat (limited to 'usr/src/uts/intel/arcfour')
-rw-r--r--usr/src/uts/intel/arcfour/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/usr/src/uts/intel/arcfour/Makefile b/usr/src/uts/intel/arcfour/Makefile
index 15bd43c85e..b8ab3a70dc 100644
--- a/usr/src/uts/intel/arcfour/Makefile
+++ b/usr/src/uts/intel/arcfour/Makefile
@@ -41,7 +41,7 @@ COM_DIR = $(COMMONBASE)/crypto/arcfour
MODULE = arcfour
LINTS = $(ARCFOURPROV_OBJS:%.o=$(LINTS_DIR)/%.ln)
ARCFOURPROV_OBJS_32 =
-ARCFOURPROV_OBJS_64 = arcfour_crypt_amd64.o
+ARCFOURPROV_OBJS_64 = arcfour-x86_64.o
ARCFOURPROV_OBJS += $(ARCFOURPROV_OBJS_$(CLASS))
OBJECTS = $(ARCFOURPROV_OBJS:%=$(OBJS_DIR)/%)
ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE)
@@ -65,6 +65,7 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
# Overrides
#
CPPFLAGS += -I$(COM_DIR)
+CLEANFILES += arcfour-x86_64.s
#
# For now, disable these lint checks; maintainers should endeavor
@@ -99,10 +100,12 @@ install: $(INSTALL_DEPS)
#
include $(UTSBASE)/intel/Makefile.targ
-$(OBJS_DIR)/arcfour_crypt_amd64.o: $(COM_DIR)/amd64/arcfour_crypt_amd64.s
- $(COMPILE.s) -o $@ $(COM_DIR)/amd64/arcfour_crypt_amd64.s
+$(OBJS_DIR)/arcfour-x86_64.o: arcfour-x86_64.s
+ $(COMPILE.s) -o $@ ${@F:.o=.s}
$(POST_PROCESS_O)
-$(OBJS_DIR)/arcfour_crypt_amd64.ln: $(COM_DIR)/amd64/arcfour_crypt_amd64.s
- @($(LHEAD) $(LINT.c) $(COM_DIR)/amd64/arcfour_crypt_amd64.s $(LTAIL))
+$(OBJS_DIR)/arcfour-x86_64.ln: arcfour-x86_64.s
+ @($(LHEAD) $(LINT.s) ${@F:.ln=.s} $(LTAIL))
+arcfour-x86_64.s: $(COM_DIR)/amd64/arcfour-x86_64.pl
+ $(PERL) $? $@