Print this page
6799218 RSA using Solaris Kernel Crypto framework lagging behind OpenSSL
5016936 bignumimpl:big_mul: potential memory leak
6810280 panic from bignum module: vmem_xalloc(): size == 0
@@ -17,15 +17,13 @@
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
-# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
-#
# Configuration and targets for bignum module
# specific to AMD 64-bit architecture, amd64.
#
# Bignum configuration (BIGNUM_CFG):
# PSR_MUL:
@@ -43,23 +41,24 @@
# -UHWCAP:
# There is only one implementation, because the 128 bit multiply using
# general-purpose registers is faster than any MMX or SSE2 implementation.
BIGNUM_CFG = -DPSR_MUL
-
+CFLAGS += -xO4 -xcrossfile
$(OBJS_DIR)/bignumimpl.o $(LINTS_DIR)/bignumimpl.ln := \
CPPFLAGS += $(BIGNUM_CFG)
$(OBJS_DIR)/bignum_amd64.o $(LINTS_DIR)/bignum_amd64.ln := \
CPPFLAGS += $(BIGNUM_CFG)
$(OBJS_DIR)/bignum_amd64.o: $(BIGNUMDIR)/amd64/bignum_amd64.c
- $(COMPILE.c) -o $@ $(BIGNUMDIR)/amd64/bignum_amd64.c
+ $(COMPILE.c) -o $@ $(BIGNUM_CFG) $(BIGNUMDIR)/amd64/bignum_amd64.c
$(CTFCONVERT_O)
$(POST_PROCESS_O)
$(OBJS_DIR)/bignum_amd64_asm.o: $(BIGNUMDIR)/amd64/bignum_amd64_asm.s
- $(COMPILE.s) -P -o $@ $(BIGNUM_CFG) $(BIGNUMDIR)/amd64/bignum_amd64_asm.s
+ $(COMPILE.s) -P -o $@ $(BIGNUM_CFG) \
+ $(BIGNUMDIR)/amd64/bignum_amd64_asm.s
$(POST_PROCESS_O)
$(LINTS_DIR)/bignum_amd64.ln: $(BIGNUMDIR)/amd64/bignum_amd64.c
@($(LHEAD) $(LINT.c) $(BIGNUMDIR)/amd64/bignum_amd64.c $(LTAIL))