Print this page
4185 New hash algorithm support

@@ -20,10 +20,11 @@
 #
 
 #
 # Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
 # Copyright (c) 2012 Nexenta Systems, Inc. All rights reserved.
+# Copyright 2013 Saso Kiselkov. All rights reserved.
 #
 
 #
 # uts/common/Makefile.rules
 #

@@ -1518,18 +1519,26 @@
 
 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/rpc/sec_gss/%.c
         $(COMPILE.c) -o $@ $<
         $(CTFCONVERT_O)
 
+$(OBJS_DIR)/%.o:                $(COMMONBASE)/crypto/edonr/%.c
+        $(COMPILE.c) -o $@ $<
+        $(CTFCONVERT_O)
+
 $(OBJS_DIR)/%.o:                $(COMMONBASE)/crypto/sha1/%.c
         $(COMPILE.c) -o $@ $<
         $(CTFCONVERT_O)
 
 $(OBJS_DIR)/%.o:                $(COMMONBASE)/crypto/sha2/%.c
         $(COMPILE.c) -o $@ $<
         $(CTFCONVERT_O)
 
+$(OBJS_DIR)/%.o:                $(COMMONBASE)/crypto/skein/%.c
+        $(COMPILE.c) -o $@ $<
+        $(CTFCONVERT_O)
+
 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/syscall/%.c
         $(COMPILE.c) -o $@ $<
         $(CTFCONVERT_O)
 
 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/tnf/%.c

@@ -2650,16 +2659,22 @@
         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 
 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/rpc/sec_gss/%.c
         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 
+$(LINTS_DIR)/%.ln:              $(COMMONBASE)/crypto/edonr/%.c
+        @($(LHEAD) $(LINT.c) $< $(LTAIL))
+
 $(LINTS_DIR)/%.ln:              $(COMMONBASE)/crypto/sha1/%.c
         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 
 $(LINTS_DIR)/%.ln:              $(COMMONBASE)/crypto/sha2/%.c
         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 
+$(LINTS_DIR)/%.ln:              $(COMMONBASE)/crypto/skein/%.c
+        @($(LHEAD) $(LINT.c) $< $(LTAIL))
+
 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/syscall/%.c
         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 
 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/tnf/%.c
         @($(LHEAD) $(LINT.c) $< $(LTAIL))