diff options
author | jp161948 <none@none> | 2006-06-07 08:35:00 -0700 |
---|---|---|
committer | jp161948 <none@none> | 2006-06-07 08:35:00 -0700 |
commit | 9dc0df1bac950d6e491f9a7c7e4888f2b301cb15 (patch) | |
tree | 2ed1d4361a92a097c6017adc4ee6c6c5f541bfeb /usr/src/lib | |
parent | f136dc05547d5c8bf0829a1439b3e4caadef85a0 (diff) | |
download | illumos-joyent-9dc0df1bac950d6e491f9a7c7e4888f2b301cb15.tar.gz |
PSARC/2006/019 OpenSSL upgrade to 0.9.8a
6352999 upgrade OpenSSL to 0.9.8a
--HG--
rename : usr/src/common/openssl/crypto/asn1/f.c => deleted_files/usr/src/common/openssl/crypto/asn1/f.c
rename : usr/src/common/openssl/crypto/asn1/x_cinf.c => deleted_files/usr/src/common/openssl/crypto/asn1/x_cinf.c
rename : usr/src/common/openssl/crypto/ec/ecp_recp.c => deleted_files/usr/src/common/openssl/crypto/ec/ecp_recp.c
rename : usr/src/common/openssl/crypto/engine/hw.ec => deleted_files/usr/src/common/openssl/crypto/engine/hw.ec
rename : usr/src/common/openssl/crypto/engine/hw_4758_cca.c => deleted_files/usr/src/common/openssl/crypto/engine/hw_4758_cca.c
rename : usr/src/common/openssl/crypto/engine/hw_4758_cca_err.c => deleted_files/usr/src/common/openssl/crypto/engine/hw_4758_cca_err.c
rename : usr/src/common/openssl/crypto/engine/hw_4758_cca_err.h => deleted_files/usr/src/common/openssl/crypto/engine/hw_4758_cca_err.h
rename : usr/src/common/openssl/crypto/engine/hw_aep.c => deleted_files/usr/src/common/openssl/crypto/engine/hw_aep.c
rename : usr/src/common/openssl/crypto/engine/hw_aep_err.c => deleted_files/usr/src/common/openssl/crypto/engine/hw_aep_err.c
rename : usr/src/common/openssl/crypto/engine/hw_aep_err.h => deleted_files/usr/src/common/openssl/crypto/engine/hw_aep_err.h
rename : usr/src/common/openssl/crypto/engine/hw_atalla.c => deleted_files/usr/src/common/openssl/crypto/engine/hw_atalla.c
rename : usr/src/common/openssl/crypto/engine/hw_atalla_err.c => deleted_files/usr/src/common/openssl/crypto/engine/hw_atalla_err.c
rename : usr/src/common/openssl/crypto/engine/hw_atalla_err.h => deleted_files/usr/src/common/openssl/crypto/engine/hw_atalla_err.h
rename : usr/src/common/openssl/crypto/engine/hw_cryptodev.c => deleted_files/usr/src/common/openssl/crypto/engine/hw_cryptodev.c
rename : usr/src/common/openssl/crypto/engine/hw_cswift.c => deleted_files/usr/src/common/openssl/crypto/engine/hw_cswift.c
rename : usr/src/common/openssl/crypto/engine/hw_cswift_err.c => deleted_files/usr/src/common/openssl/crypto/engine/hw_cswift_err.c
rename : usr/src/common/openssl/crypto/engine/hw_cswift_err.h => deleted_files/usr/src/common/openssl/crypto/engine/hw_cswift_err.h
rename : usr/src/common/openssl/crypto/engine/hw_ncipher.c => deleted_files/usr/src/common/openssl/crypto/engine/hw_ncipher.c
rename : usr/src/common/openssl/crypto/engine/hw_ncipher_err.c => deleted_files/usr/src/common/openssl/crypto/engine/hw_ncipher_err.c
rename : usr/src/common/openssl/crypto/engine/hw_ncipher_err.h => deleted_files/usr/src/common/openssl/crypto/engine/hw_ncipher_err.h
rename : usr/src/common/openssl/crypto/engine/hw_nuron.c => deleted_files/usr/src/common/openssl/crypto/engine/hw_nuron.c
rename : usr/src/common/openssl/crypto/engine/hw_nuron_err.c => deleted_files/usr/src/common/openssl/crypto/engine/hw_nuron_err.c
rename : usr/src/common/openssl/crypto/engine/hw_nuron_err.h => deleted_files/usr/src/common/openssl/crypto/engine/hw_nuron_err.h
rename : usr/src/common/openssl/crypto/engine/hw_sureware.c => deleted_files/usr/src/common/openssl/crypto/engine/hw_sureware.c
rename : usr/src/common/openssl/crypto/engine/hw_sureware_err.c => deleted_files/usr/src/common/openssl/crypto/engine/hw_sureware_err.c
rename : usr/src/common/openssl/crypto/engine/hw_sureware_err.h => deleted_files/usr/src/common/openssl/crypto/engine/hw_sureware_err.h
rename : usr/src/common/openssl/crypto/engine/hw_ubsec.c => deleted_files/usr/src/common/openssl/crypto/engine/hw_ubsec.c
rename : usr/src/common/openssl/crypto/engine/hw_ubsec_err.c => deleted_files/usr/src/common/openssl/crypto/engine/hw_ubsec_err.c
rename : usr/src/common/openssl/crypto/engine/hw_ubsec_err.h => deleted_files/usr/src/common/openssl/crypto/engine/hw_ubsec_err.h
rename : usr/src/common/openssl/crypto/engine/vendor_defns/aep.h => deleted_files/usr/src/common/openssl/crypto/engine/vendor_defns/aep.h
rename : usr/src/common/openssl/crypto/engine/vendor_defns/atalla.h => deleted_files/usr/src/common/openssl/crypto/engine/vendor_defns/atalla.h
rename : usr/src/common/openssl/crypto/engine/vendor_defns/cswift.h => deleted_files/usr/src/common/openssl/crypto/engine/vendor_defns/cswift.h
rename : usr/src/common/openssl/crypto/engine/vendor_defns/hw_4758_cca.h => deleted_files/usr/src/common/openssl/crypto/engine/vendor_defns/hw_4758_cca.h
rename : usr/src/common/openssl/crypto/engine/vendor_defns/hw_ubsec.h => deleted_files/usr/src/common/openssl/crypto/engine/vendor_defns/hw_ubsec.h
rename : usr/src/common/openssl/crypto/engine/vendor_defns/hwcryptohook.h => deleted_files/usr/src/common/openssl/crypto/engine/vendor_defns/hwcryptohook.h
rename : usr/src/common/openssl/crypto/engine/vendor_defns/sureware.h => deleted_files/usr/src/common/openssl/crypto/engine/vendor_defns/sureware.h
Diffstat (limited to 'usr/src/lib')
-rw-r--r-- | usr/src/lib/openssl/Makefile.com | 27 | ||||
-rw-r--r-- | usr/src/lib/openssl/Makefile.openssl | 17 | ||||
-rw-r--r-- | usr/src/lib/openssl/libcrypto/Makefile | 42 | ||||
-rw-r--r-- | usr/src/lib/openssl/libcrypto/Makefile.com | 371 | ||||
-rw-r--r-- | usr/src/lib/openssl/libcrypto/common/mapfile | 28 | ||||
-rw-r--r-- | usr/src/lib/openssl/libcrypto_extra/Makefile.com | 37 | ||||
-rw-r--r-- | usr/src/lib/openssl/libssl/Makefile | 10 | ||||
-rw-r--r-- | usr/src/lib/openssl/libssl/Makefile.com | 79 | ||||
-rw-r--r-- | usr/src/lib/openssl/libssl/sparcv9/Makefile | 8 | ||||
-rw-r--r-- | usr/src/lib/openssl/libssl_extra/Makefile.com | 26 |
10 files changed, 341 insertions, 304 deletions
diff --git a/usr/src/lib/openssl/Makefile.com b/usr/src/lib/openssl/Makefile.com index 9a4f0a607a..fb4ec8cca9 100644 --- a/usr/src/lib/openssl/Makefile.com +++ b/usr/src/lib/openssl/Makefile.com @@ -2,9 +2,8 @@ # CDDL HEADER START # # The contents of this file are subject to the terms of the -# Common Development and Distribution License, Version 1.0 only -# (the "License"). You may not use this file except in compliance -# with the License. +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or http://www.opensolaris.org/os/licensing. @@ -20,24 +19,24 @@ # CDDL HEADER END # # -# Copyright 2005 Sun Microsystems, Inc. All rights reserved. +# Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # ident "%Z%%M% %I% %E% SMI" # -VERS= .0.9.7 +VERS= .0.9.8 include $(SRC)/lib/Makefile.lib include $(SRC)/lib/openssl/Makefile.openssl -CPPFLAGS= $(OPENSSL_BUILD_CPPFLAGS) $(CPPFLAGS.master) +CPPFLAGS = $(OPENSSL_BUILD_CPPFLAGS) $(CPPFLAGS.master) -COPTFLAG= -xO5 -sparcv9_COPTFLAG= -xO5 +COPTFLAG = -xO5 +sparcv9_COPTFLAG = -xO5 -ROOTLIBDIR= $(ROOTSFWLIB) -ROOTLIBDIR64= $(ROOTSFWLIB64) +ROOTLIBDIR = $(ROOTSFWLIB) +ROOTLIBDIR64 = $(ROOTSFWLIB64) #Linker flag for auxiliary filtering OPENSSL_FILTER_FLAG = -Wl,-f$(LIBRARY:.a=_extra.so)$(VERS) @@ -58,9 +57,9 @@ all: # what is documented in pkg-config(1) and it is also where all the # existing sparcv9 pkgconfig files are. -LIBPCDIR=/usr/lib/pkgconfig -LIBPCDIR64=/usr/lib/$(MACH64)/pkgconfig -LIBPCSRC= openssl.pc +LIBPCDIR =/usr/lib/pkgconfig +LIBPCDIR64 =/usr/lib/$(MACH64)/pkgconfig +LIBPCSRC = openssl.pc $(LIBPCSRC): ../../$(LIBPCSRC).tmpl $(SED) -e "s@__VERSION__@$(VERS:.%=%)@" \ @@ -68,7 +67,7 @@ $(LIBPCSRC): ../../$(LIBPCSRC).tmpl -e "s@__LIBDIR__@$(SFWLIBDIR)@" \ < ../../$(LIBPCSRC).tmpl > $(LIBPCSRC) -ROOTLIBPCDIR= $(ROOT)/$(LIBPCDIR) +ROOTLIBPCDIR = $(ROOT)/$(LIBPCDIR) ROOTLIBPC = $(LIBPCSRC:%=$(ROOTLIBPCDIR)/%) ROOTLIBPCDIR64 = $(ROOT)/$(LIBPCDIR64) diff --git a/usr/src/lib/openssl/Makefile.openssl b/usr/src/lib/openssl/Makefile.openssl index 50f70c6435..7f640bb1f9 100644 --- a/usr/src/lib/openssl/Makefile.openssl +++ b/usr/src/lib/openssl/Makefile.openssl @@ -2,9 +2,8 @@ # CDDL HEADER START # # The contents of this file are subject to the terms of the -# Common Development and Distribution License, Version 1.0 only -# (the "License"). You may not use this file except in compliance -# with the License. +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or http://www.opensolaris.org/os/licensing. @@ -25,8 +24,8 @@ # # ident "%Z%%M% %I% %E% SMI" # -# OpenSSL source is common between lib and stand (for wanboot) -# For userland consumers it is in /usr/sfw so we define some macros incase +# OpenSSL source is common between lib and stand (for wanboot). +# For userland consumers it is in /usr/sfw so we define some macros in case # it moves else where later (it has moved twice already!). # # OPENSSL_CPPFLAGS and OPENSSL_LDLIBS OPENSSL_DYNFLAGS should be used @@ -51,13 +50,16 @@ OPENSSL_NO_XXX = \ -DOPENSSL_NO_RC5 \ -DOPENSSL_NO_IDEA \ -DOPENSSL_NO_EC \ + -DOPENSSL_NO_ECDH \ + -DOPENSSL_NO_ECDSA \ -DOPENSSL_NO_HW_CSWIFT \ - -DOPENSSL_NO_HW_NCIPHER \ -DOPENSSL_NO_HW_ATALLA \ -DOPENSSL_NO_HW_NURON \ -DOPENSSL_NO_HW_UBSEC \ -DOPENSSL_NO_HW_AEP \ -DOPENSSL_NO_HW_SUREWARE \ + -DOPENSSL_NO_HW_CHIL \ + -DOPENSSL_NO_HW_GMP \ -DOPENSSL_NO_HW_4758_CCA OPENSSL_BUILD_CPPFLAGS_sparc = -DB_ENDIAN @@ -69,6 +71,7 @@ OPENSSL_BUILD_CPPFLAGS = \ -DSOLARIS_OPENSSL \ -DDEVRANDOM=\"/dev/urandom\" \ -DOPENSSLDIR=\"$(OPENSSL_ETCDIR)\" \ + -DENGINESDIR=\"$(OPENSSL_ETCDIR)/lib/engines\" \ -DDSO_DLFCN -DHAVE_DLFCN_H \ -D_REENTRANT \ -DOPENSSL_THREADS \ @@ -83,4 +86,4 @@ OPENSSL_LDFLAGS += -L$(PARENT_ROOT)$(SFWLIBDIR) OPENSSL_LDFLAGS += -L$(SFWLIBDIR) OPENSSL_DYNFLAGS = -R $(SFWLIBDIR) -CFLAGS += -_gcc=-fasm +$(__GNUC)CFLAGS += -_gcc=-fasm diff --git a/usr/src/lib/openssl/libcrypto/Makefile b/usr/src/lib/openssl/libcrypto/Makefile index 70296eecf6..4fd299b03e 100644 --- a/usr/src/lib/openssl/libcrypto/Makefile +++ b/usr/src/lib/openssl/libcrypto/Makefile @@ -2,9 +2,8 @@ # CDDL HEADER START # # The contents of this file are subject to the terms of the -# Common Development and Distribution License, Version 1.0 only -# (the "License"). You may not use this file except in compliance -# with the License. +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or http://www.opensolaris.org/os/licensing. @@ -20,7 +19,7 @@ # CDDL HEADER END # # -# Copyright 2004 Sun Microsystems, Inc. All rights reserved. +# Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # ident "%Z%%M% %I% %E% SMI" @@ -35,6 +34,7 @@ HDRS= \ asn1_mac.h \ asn1t.h \ bio.h \ + bio_lcl.h \ blowfish.h \ bn.h \ buffer.h \ @@ -50,6 +50,10 @@ HDRS= \ dso.h \ ebcdic.h \ ec.h \ + ecdh.h \ + ecdsa.h \ + ech_locl.h \ + ecs_locl.h \ engine.h \ err.h \ evp.h \ @@ -61,25 +65,32 @@ HDRS= \ md4.h \ md5.h \ mdc2.h \ + o_dir.h \ + o_str.h \ obj_mac.h \ objects.h \ ocsp.h \ opensslconf.h \ opensslv.h \ ossl_typ.h \ + pcy_int.h \ pem.h \ pem2.h \ - pkcs7.h \ pkcs12.h \ + pkcs7.h \ + pq_compat.h \ + pqueue.h \ rand.h \ rc2.h \ rc4.h \ rc5.h \ ripemd.h \ rsa.h \ + safestack.h \ sha.h \ stack.h \ - safestack.h \ + store.h \ + str_locl.h \ symhacks.h \ tmdiff.h \ txt_db.h \ @@ -89,10 +100,11 @@ HDRS= \ x509_vfy.h \ x509v3.h -HDRDIR= $(OPENSSL_SRC)/crypto -ROOTHDRDIR= $(ROOTSFWINCLUDE)/openssl -SUBDIRS= $(MACH) +HDRDIR = $(OPENSSL_SRC)/crypto +ROOTHDRDIR = $(ROOTSFWINCLUDE)/openssl + +SUBDIRS = $(MACH) $(BUILD64)SUBDIRS += $(MACH64) all := TARGET= all @@ -157,6 +169,12 @@ $(ROOTHDRDIR)/%: $(HDRDIR)/dso/% $(ROOTHDRDIR)/%: $(HDRDIR)/ec/% $(INS.file) +$(ROOTHDRDIR)/%: $(HDRDIR)/ecdh/% + $(INS.file) + +$(ROOTHDRDIR)/%: $(HDRDIR)/ecdsa/% + $(INS.file) + $(ROOTHDRDIR)/%: $(HDRDIR)/engine/% $(INS.file) @@ -205,6 +223,9 @@ $(ROOTHDRDIR)/%: $(HDRDIR)/pkcs12/% $(ROOTHDRDIR)/%: $(HDRDIR)/pkcs7/% $(INS.file) +$(ROOTHDRDIR)/%: $(HDRDIR)/pqueue/% + $(INS.file) + $(ROOTHDRDIR)/%: $(HDRDIR)/rand/% $(INS.file) @@ -229,6 +250,9 @@ $(ROOTHDRDIR)/%: $(HDRDIR)/sha/% $(ROOTHDRDIR)/%: $(HDRDIR)/stack/% $(INS.file) +$(ROOTHDRDIR)/%: $(HDRDIR)/store/% + $(INS.file) + $(ROOTHDRDIR)/%: $(HDRDIR)/txt_db/% $(INS.file) diff --git a/usr/src/lib/openssl/libcrypto/Makefile.com b/usr/src/lib/openssl/libcrypto/Makefile.com index c6a160ed0f..416d2efe48 100644 --- a/usr/src/lib/openssl/libcrypto/Makefile.com +++ b/usr/src/lib/openssl/libcrypto/Makefile.com @@ -2,9 +2,8 @@ # CDDL HEADER START # # The contents of this file are subject to the terms of the -# Common Development and Distribution License, Version 1.0 only -# (the "License"). You may not use this file except in compliance -# with the License. +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or http://www.opensolaris.org/os/licensing. @@ -20,7 +19,7 @@ # CDDL HEADER END # # -# Copyright 2005 Sun Microsystems, Inc. All rights reserved. +# Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # ident "%Z%%M% %I% %E% SMI" @@ -28,174 +27,202 @@ # usr/src/lib/openssl/Makefile.com # -LIBRARY= libcrypto.a +LIBRARY = libcrypto.a -OBJECTS=cryptlib.o mem.o mem_dbg.o cversion.o \ - ex_data.o tmdiff.o cpt_err.o \ - o_time.o uid.o mem_clr.o \ - sunw.o \ - \ - aes/aes_cbc.o aes/aes_cfb.o aes/aes_core.o aes/aes_ctr.o \ - aes/aes_ecb.o aes/aes_misc.o aes/aes_ofb.o \ - \ - asn1/a_object.o asn1/a_bitstr.o asn1/a_utctm.o asn1/a_gentm.o \ - asn1/a_time.o asn1/a_int.o asn1/a_octet.o asn1/a_print.o \ - asn1/a_type.o asn1/a_set.o asn1/a_dup.o asn1/a_d2i_fp.o \ - asn1/a_i2d_fp.o asn1/a_enum.o asn1/a_utf8.o asn1/a_sign.o \ - asn1/a_digest.o asn1/a_verify.o asn1/a_mbstr.o asn1/a_strex.o \ - asn1/x_algor.o asn1/x_val.o asn1/x_pubkey.o asn1/x_sig.o \ - asn1/x_req.o asn1/x_attrib.o asn1/x_bignum.o asn1/x_long.o \ - asn1/x_name.o asn1/x_x509.o asn1/x_x509a.o asn1/x_crl.o \ - asn1/x_info.o asn1/x_spki.o asn1/nsseq.o asn1/d2i_pu.o \ - asn1/d2i_pr.o asn1/i2d_pu.o asn1/i2d_pr.o asn1/t_req.o \ - asn1/t_x509.o asn1/t_x509a.o asn1/t_crl.o asn1/t_pkey.o \ - asn1/t_spki.o asn1/t_bitst.o asn1/tasn_new.o asn1/tasn_fre.o \ - asn1/tasn_enc.o asn1/tasn_dec.o asn1/tasn_utl.o asn1/tasn_typ.o \ - asn1/f_int.o asn1/f_string.o asn1/n_pkey.o asn1/f_enum.o \ - asn1/a_hdr.o asn1/x_pkey.o asn1/a_bool.o asn1/x_exten.o \ - asn1/asn1_par.o asn1/asn1_lib.o asn1/asn1_err.o asn1/a_meth.o \ - asn1/a_bytes.o asn1/a_strnid.o asn1/evp_asn1.o asn1/asn_pack.o \ - asn1/p5_pbe.o asn1/p5_pbev2.o asn1/p8_pkey.o asn1/asn_moid.o \ - \ - bf/bf_skey.o bf/bf_ecb.o bf/bf_cfb64.o bf/bf_ofb64.o \ - bf/bf_enc.o \ - \ - bio/bio_lib.o bio/bio_cb.o bio/bio_err.o bio/bss_mem.o \ - bio/bss_null.o bio/bss_fd.o bio/bss_file.o bio/bss_sock.o \ - bio/bss_conn.o bio/bf_null.o bio/bf_buff.o bio/b_print.o \ - bio/b_dump.o bio/b_sock.o bio/bss_acpt.o bio/bf_nbio.o \ - bio/bss_log.o bio/bss_bio.o \ - \ - bn/bn_add.o bn/bn_div.o bn/bn_exp.o bn/bn_lib.o \ - bn/bn_ctx.o bn/bn_mul.o bn/bn_mod.o bn/bn_print.o \ - bn/bn_rand.o bn/bn_shift.o bn/bn_word.o bn/bn_blind.o \ - bn/bn_kron.o bn/bn_sqrt.o bn/bn_gcd.o bn/bn_prime.o \ - bn/bn_err.o bn/bn_sqr.o bn/bn_recp.o \ - bn/bn_mont.o bn/bn_mpi.o bn/bn_exp2.o \ - \ - buffer/buffer.o buffer/buf_err.o \ - \ - cast/c_enc.o cast/c_ecb.o cast/c_cfb64.o cast/c_ofb64.o \ - cast/c_skey.o \ - \ - comp/comp_lib.o comp/c_rle.o comp/c_zlib.o \ - \ - conf/conf_err.o conf/conf_lib.o conf/conf_api.o \ - conf/conf_def.o conf/conf_mod.o conf/conf_mall.o conf/conf_sap.o \ - \ - des/set_key.o des/ecb_enc.o des/cbc_enc.o des/ecb3_enc.o \ - des/cfb64enc.o des/cfb64ede.o des/cfb_enc.o des/ofb64ede.o \ - des/enc_read.o des/enc_writ.o des/ofb64enc.o des/ofb_enc.o \ - des/str2key.o des/pcbc_enc.o des/qud_cksm.o des/rand_key.o \ - des/fcrypt.o des/xcbc_enc.o des/rpc_enc.o des/cbc_cksm.o \ - des/ede_cbcm_enc.o des/des_old.o des/des_old2.o des/read2pwd.o \ - des/des_enc.o des/fcrypt_b.o \ - \ - dh/dh_asn1.o dh/dh_gen.o dh/dh_key.o dh/dh_lib.o \ - dh/dh_check.o dh/dh_err.o \ - \ - dsa/dsa_gen.o dsa/dsa_key.o dsa/dsa_lib.o dsa/dsa_asn1.o \ - dsa/dsa_vrf.o dsa/dsa_sign.o dsa/dsa_err.o dsa/dsa_ossl.o \ - \ - dso/dso_dl.o dso/dso_dlfcn.o dso/dso_err.o dso/dso_lib.o \ - dso/dso_null.o dso/dso_openssl.o \ - \ - err/err.o err/err_all.o err/err_prn.o \ - \ - evp/bio_b64.o evp/bio_enc.o evp/bio_md.o evp/bio_ok.o \ - evp/c_all.o evp/c_allc.o evp/c_alld.o evp/digest.o \ - evp/e_aes.o evp/e_bf.o evp/e_cast.o evp/e_des.o \ - evp/e_des3.o evp/e_idea.o evp/e_null.o evp/e_rc2.o \ - evp/e_rc4.o evp/e_rc5.o evp/e_xcbc_d.o evp/encode.o \ - evp/evp_acnf.o evp/evp_enc.o evp/evp_err.o evp/evp_key.o \ - evp/evp_lib.o evp/evp_pbe.o evp/evp_pkey.o evp/m_dss.o \ - evp/m_dss1.o evp/m_md2.o evp/m_md4.o evp/m_md5.o \ - evp/m_mdc2.o evp/m_null.o evp/m_ripemd.o evp/m_sha.o \ - evp/m_sha1.o evp/names.o evp/p5_crpt.o evp/p5_crpt2.o \ - evp/p_dec.o evp/p_enc.o evp/p_lib.o evp/p_open.o \ - evp/p_seal.o evp/p_sign.o evp/p_verify.o \ - \ - engine/eng_all.o engine/hw_cryptodev.o \ - engine/eng_cnf.o engine/eng_pkey.o engine/hw_sureware.o \ - engine/eng_ctrl.o engine/eng_table.o engine/hw_ubsec.o \ - engine/eng_dyn.o engine/hw_4758_cca.o engine/tb_cipher.o \ - engine/eng_err.o engine/hw_aep.o engine/tb_dh.o \ - engine/eng_fat.o engine/hw_atalla.o engine/tb_digest.o \ - engine/eng_init.o engine/hw_cswift.o engine/tb_dsa.o \ - engine/eng_lib.o engine/hw_ncipher.o engine/tb_rand.o \ - engine/eng_list.o engine/hw_nuron.o engine/tb_rsa.o \ - engine/hw_pk11.o engine/hw_pk11_pub.o \ - \ - hmac/hmac.o \ - \ - lhash/lhash.o lhash/lh_stats.o \ - \ - md2/md2_dgst.o md2/md2_one.o \ - \ - md4/md4_dgst.o md4/md4_one.o \ - \ - md5/md5_dgst.o md5/md5_one.o \ - \ - objects/o_names.o objects/obj_dat.o objects/obj_lib.o \ - objects/obj_err.o \ - \ - ocsp/ocsp_asn.o ocsp/ocsp_err.o ocsp/ocsp_prn.o \ - ocsp/ocsp_vfy.o ocsp/ocsp_cl.o ocsp/ocsp_ext.o ocsp/ocsp_lib.o \ - ocsp/ocsp_srv.o ocsp/ocsp_ht.o \ - \ - pem/pem_sign.o pem/pem_seal.o pem/pem_info.o pem/pem_lib.o \ - pem/pem_all.o pem/pem_err.o pem/pem_x509.o pem/pem_xaux.o \ - pem/pem_oth.o pem/pem_pk8.o pem/pem_pkey.o \ - \ - pkcs12/p12_add.o pkcs12/p12_asn.o pkcs12/p12_attr.o \ - pkcs12/p12_crpt.o pkcs12/p12_crt.o pkcs12/p12_decr.o \ - pkcs12/p12_init.o pkcs12/p12_key.o pkcs12/p12_kiss.o \ - pkcs12/p12_mutl.o pkcs12/p12_utl.o pkcs12/p12_npas.o \ - pkcs12/pk12err.o pkcs12/p12_p8d.o pkcs12/p12_p8e.o \ - \ - pkcs7/pk7_asn1.o pkcs7/pk7_lib.o pkcs7/pkcs7err.o pkcs7/pk7_doit.o \ - pkcs7/pk7_smime.o pkcs7/pk7_attr.o pkcs7/pk7_mime.o \ - \ - rand/md_rand.o rand/randfile.o rand/rand_lib.o rand/rand_err.o \ - rand/rand_unix.o rand/rand_egd.o \ - \ - rc2/rc2_cbc.o rc2/rc2_ecb.o rc2/rc2_skey.o rc2/rc2cfb64.o \ - rc2/rc2ofb64.o \ - \ - rc4/rc4_enc.o rc4/rc4_skey.o \ - \ - ripemd/rmd_dgst.o ripemd/rmd_one.o \ +OBJECTS = sunw.o \ + \ + cryptlib.o mem.o mem_dbg.o cversion.o \ + ex_data.o tmdiff.o cpt_err.o o_time.o \ + uid.o mem_clr.o o_str.o o_dir.o \ + \ + aes/aes_cbc.o aes/aes_cfb.o aes/aes_core.o aes/aes_ctr.o \ + aes/aes_ecb.o aes/aes_misc.o aes/aes_ofb.o \ + \ + asn1/a_object.o asn1/a_bitstr.o asn1/a_utctm.o asn1/a_gentm.o \ + asn1/a_time.o asn1/a_int.o asn1/a_octet.o asn1/a_print.o \ + asn1/a_type.o asn1/a_set.o asn1/a_dup.o asn1/a_d2i_fp.o \ + asn1/a_i2d_fp.o asn1/a_enum.o asn1/a_utf8.o asn1/a_sign.o \ + asn1/a_digest.o asn1/a_verify.o asn1/a_mbstr.o asn1/a_strex.o \ + asn1/x_algor.o asn1/x_val.o asn1/x_pubkey.o asn1/x_sig.o \ + asn1/x_req.o asn1/x_attrib.o asn1/x_bignum.o asn1/x_long.o \ + asn1/x_name.o asn1/x_x509.o asn1/x_x509a.o asn1/x_crl.o \ + asn1/x_info.o asn1/x_spki.o asn1/nsseq.o asn1/d2i_pu.o \ + asn1/d2i_pr.o asn1/i2d_pu.o asn1/i2d_pr.o asn1/t_req.o \ + asn1/t_x509.o asn1/t_x509a.o asn1/t_crl.o asn1/t_pkey.o \ + asn1/t_spki.o asn1/t_bitst.o asn1/tasn_new.o asn1/tasn_fre.o \ + asn1/tasn_enc.o asn1/tasn_dec.o asn1/tasn_utl.o asn1/tasn_typ.o \ + asn1/f_int.o asn1/f_string.o asn1/n_pkey.o asn1/f_enum.o \ + asn1/a_hdr.o asn1/x_pkey.o asn1/a_bool.o asn1/x_exten.o \ + asn1/asn1_par.o asn1/asn1_lib.o asn1/asn1_err.o asn1/a_meth.o \ + asn1/a_bytes.o asn1/a_strnid.o asn1/evp_asn1.o asn1/asn_pack.o \ + asn1/p5_pbe.o asn1/p5_pbev2.o asn1/p8_pkey.o asn1/asn_moid.o \ + asn1/asn1_gen.o \ + \ + bf/bf_skey.o bf/bf_ecb.o bf/bf_cfb64.o bf/bf_ofb64.o \ + bf/bf_enc.o \ + \ + bio/bio_lib.o bio/bio_cb.o bio/bio_err.o bio/bss_mem.o \ + bio/bss_null.o bio/bss_fd.o bio/bss_file.o bio/bss_sock.o \ + bio/bss_conn.o bio/bf_null.o bio/bf_buff.o bio/b_print.o \ + bio/b_dump.o bio/b_sock.o bio/bss_acpt.o bio/bf_nbio.o \ + bio/bss_log.o bio/bss_bio.o bio/bss_dgram.o \ + \ + bn/bn_add.o bn/bn_div.o bn/bn_exp.o bn/bn_lib.o \ + bn/bn_ctx.o bn/bn_mul.o bn/bn_mod.o bn/bn_print.o \ + bn/bn_rand.o bn/bn_shift.o bn/bn_word.o bn/bn_blind.o \ + bn/bn_kron.o bn/bn_sqrt.o bn/bn_gcd.o bn/bn_prime.o \ + bn/bn_err.o bn/bn_sqr.o bn/bn_recp.o bn/bn_mont.o \ + bn/bn_const.o bn/bn_depr.o bn/bn_gf2m.o bn/bn_nist.o \ + bn/bn_mpi.o bn/bn_exp2.o \ + \ + buffer/buffer.o buffer/buf_err.o \ + \ + cast/c_enc.o cast/c_ecb.o cast/c_cfb64.o cast/c_ofb64.o \ + cast/c_skey.o \ + \ + comp/comp_lib.o comp/c_rle.o comp/c_zlib.o \ + \ + conf/conf_err.o conf/conf_lib.o conf/conf_api.o conf/conf_sap.o \ + conf/conf_def.o conf/conf_mod.o conf/conf_mall.o \ + \ + des/set_key.o des/ecb_enc.o des/cbc_enc.o des/ecb3_enc.o \ + des/cfb64enc.o des/cfb64ede.o des/cfb_enc.o des/ofb64ede.o \ + des/enc_read.o des/enc_writ.o des/ofb64enc.o des/ofb_enc.o \ + des/str2key.o des/pcbc_enc.o des/qud_cksm.o des/rand_key.o \ + des/fcrypt.o des/xcbc_enc.o des/rpc_enc.o des/cbc_cksm.o \ + des/des_old.o des/des_old2.o des/read2pwd.o des/des_enc.o \ + des/fcrypt_b.o des/ede_cbcm_enc.o \ + \ + dh/dh_asn1.o dh/dh_gen.o dh/dh_key.o dh/dh_lib.o \ + dh/dh_check.o dh/dh_err.o dh/dh_depr.o \ + \ + dsa/dsa_gen.o dsa/dsa_key.o dsa/dsa_lib.o dsa/dsa_asn1.o \ + dsa/dsa_vrf.o dsa/dsa_sign.o dsa/dsa_err.o dsa/dsa_ossl.o \ + dsa/dsa_depr.o \ + \ + dso/dso_dl.o dso/dso_dlfcn.o dso/dso_err.o dso/dso_lib.o \ + dso/dso_null.o dso/dso_openssl.o \ + \ + err/err.o err/err_all.o err/err_prn.o \ + \ + evp/bio_b64.o evp/bio_enc.o evp/bio_md.o evp/bio_ok.o \ + evp/c_all.o evp/c_allc.o evp/c_alld.o evp/digest.o \ + evp/e_aes.o evp/e_bf.o evp/e_cast.o evp/e_des.o \ + evp/e_des3.o evp/e_idea.o evp/e_null.o evp/e_rc2.o \ + evp/e_rc4.o evp/e_rc5.o evp/e_xcbc_d.o evp/encode.o \ + evp/evp_acnf.o evp/evp_enc.o evp/evp_err.o evp/evp_key.o \ + evp/evp_lib.o evp/evp_pbe.o evp/evp_pkey.o evp/m_dss.o \ + evp/m_dss1.o evp/m_md2.o evp/m_md4.o evp/m_md5.o \ + evp/m_mdc2.o evp/m_null.o evp/m_ripemd.o evp/m_sha.o \ + evp/m_sha1.o evp/names.o evp/p5_crpt.o evp/p5_crpt2.o \ + evp/p_dec.o evp/p_enc.o evp/p_lib.o evp/p_open.o \ + evp/p_seal.o evp/p_sign.o evp/p_verify.o evp/e_old.o \ + evp/m_ecdsa.o \ + \ + engine/eng_all.o engine/eng_list.o \ + engine/eng_cnf.o engine/eng_pkey.o \ + engine/eng_ctrl.o engine/eng_table.o \ + engine/eng_dyn.o engine/tb_cipher.o \ + engine/eng_err.o engine/tb_dh.o \ + engine/eng_fat.o engine/tb_digest.o \ + engine/eng_init.o engine/tb_dsa.o \ + engine/eng_lib.o engine/tb_rand.o \ + engine/tb_rsa.o engine/tb_store.o \ + engine/tb_ecdh.o engine/tb_ecdsa.o \ + engine/eng_cryptodev.o engine/eng_padlock.o \ + \ + engine/hw_pk11.o engine/hw_pk11_pub.o \ + \ + hmac/hmac.o \ + \ + lhash/lhash.o lhash/lh_stats.o \ + \ + md2/md2_dgst.o md2/md2_one.o \ + \ + md4/md4_dgst.o md4/md4_one.o \ + \ + md5/md5_dgst.o md5/md5_one.o \ + \ + objects/o_names.o objects/obj_dat.o \ + objects/obj_err.o objects/obj_lib.o \ + \ + ocsp/ocsp_asn.o ocsp/ocsp_err.o ocsp/ocsp_prn.o \ + ocsp/ocsp_vfy.o ocsp/ocsp_cl.o ocsp/ocsp_ext.o ocsp/ocsp_lib.o \ + ocsp/ocsp_srv.o ocsp/ocsp_ht.o \ + \ + pem/pem_sign.o pem/pem_seal.o pem/pem_info.o pem/pem_lib.o \ + pem/pem_all.o pem/pem_err.o pem/pem_x509.o pem/pem_xaux.o \ + pem/pem_oth.o pem/pem_pk8.o pem/pem_pkey.o \ + \ + pkcs12/p12_add.o pkcs12/p12_asn.o \ + pkcs12/p12_crpt.o pkcs12/p12_crt.o \ + pkcs12/p12_init.o pkcs12/p12_key.o \ + pkcs12/p12_mutl.o pkcs12/p12_utl.o \ + pkcs12/pk12err.o pkcs12/p12_p8d.o \ + pkcs12/p12_attr.o pkcs12/p12_decr.o \ + pkcs12/p12_kiss.o pkcs12/p12_npas.o \ + pkcs12/p12_p8e.o \ + \ + pkcs7/pk7_asn1.o pkcs7/pk7_lib.o \ + pkcs7/pkcs7err.o pkcs7/pk7_doit.o \ + pkcs7/pk7_smime.o pkcs7/pk7_attr.o \ + pkcs7/pk7_mime.o \ + \ + pqueue/pqueue.o \ + \ + rand/md_rand.o rand/randfile.o rand/rand_lib.o rand/rand_err.o \ + rand/rand_unix.o rand/rand_egd.o rand/rand_nw.o \ \ - rsa/rsa_eay.o rsa/rsa_gen.o rsa/rsa_lib.o rsa/rsa_sign.o \ - rsa/rsa_saos.o rsa/rsa_err.o rsa/rsa_pk1.o rsa/rsa_ssl.o \ - rsa/rsa_none.o rsa/rsa_oaep.o rsa/rsa_chk.o rsa/rsa_null.o \ - rsa/rsa_asn1.o \ + rc2/rc2_cbc.o rc2/rc2_ecb.o rc2/rc2_skey.o rc2/rc2cfb64.o \ + rc2/rc2ofb64.o \ + \ + rc4/rc4_enc.o rc4/rc4_skey.o \ + \ + ripemd/rmd_dgst.o ripemd/rmd_one.o \ + \ + rsa/rsa_eay.o rsa/rsa_gen.o rsa/rsa_lib.o rsa/rsa_sign.o \ + rsa/rsa_saos.o rsa/rsa_err.o rsa/rsa_pk1.o rsa/rsa_ssl.o \ + rsa/rsa_none.o rsa/rsa_oaep.o rsa/rsa_chk.o rsa/rsa_null.o \ + rsa/rsa_asn1.o rsa/rsa_depr.o rsa/rsa_pss.o rsa/rsa_x931.o \ + \ + sha/sha_dgst.o sha/sha1dgst.o sha/sha_one.o sha/sha1_one.o \ + sha/sha256.o sha/sha512.o \ + \ + stack/stack.o \ + \ + store/str_err.o store/str_lib.o store/str_mem.o \ + store/str_meth.o \ \ - sha/sha_dgst.o sha/sha1dgst.o sha/sha_one.o sha/sha1_one.o \ + txt_db/txt_db.o \ + \ + ui/ui_err.o ui/ui_compat.o ui/ui_lib.o ui/ui_openssl.o \ + ui/ui_util.o \ + \ + x509/x509_def.o x509/x509_d2.o x509/x509_r2x.o x509/x509_cmp.o \ + x509/x509_obj.o x509/x509_req.o x509/x509spki.o x509/x509_vfy.o \ + x509/x509_set.o x509/x509cset.o x509/x509rset.o x509/x509_err.o \ + x509/x509name.o x509/x509_v3.o x509/x509_ext.o x509/x509_att.o \ + x509/x509type.o x509/x509_lu.o x509/x_all.o x509/x509_txt.o \ + x509/x509_trs.o x509/by_file.o x509/by_dir.o x509/x509_vpm.o \ + \ + x509v3/v3_ia5.o x509v3/v3_lib.o x509v3/v3_prn.o x509v3/v3_utl.o \ + x509v3/v3_pku.o x509v3/v3_int.o x509v3/v3_enum.o \ + x509v3/v3err.o x509v3/v3_alt.o x509v3/v3_genn.o \ + x509v3/v3_pci.o x509v3/v3_pcia.o \ + x509v3/v3_purp.o x509v3/v3_info.o \ + x509v3/v3_ocsp.o x509v3/v3_bitst.o \ + x509v3/v3_conf.o x509v3/v3_extku.o \ + x509v3/v3_cpols.o x509v3/v3_crld.o \ + x509v3/v3_akey.o x509v3/v3_akeya.o \ + x509v3/v3_skey.o x509v3/v3_sxnet.o \ + x509v3/v3_ncons.o x509v3/v3_bcons.o \ + x509v3/v3_pcons.o x509v3/v3_pmaps.o \ \ - stack/stack.o txt_db/txt_db.o \ + x509v3/pcy_cache.o x509v3/pcy_tree.o \ + x509v3/pcy_data.o x509v3/pcy_lib.o \ + x509v3/pcy_map.o x509v3/pcy_node.o \ \ - ui/ui_err.o ui/ui_compat.o ui/ui_lib.o ui/ui_openssl.o \ - ui/ui_util.o \ - \ - x509/x509_def.o x509/x509_d2.o x509/x509_r2x.o \ - x509/x509_cmp.o x509/x509_obj.o x509/x509_req.o \ - x509/x509spki.o x509/x509_vfy.o x509/x509_set.o \ - x509/x509cset.o x509/x509rset.o x509/x509_err.o \ - x509/x509name.o x509/x509_v3.o x509/x509_ext.o \ - x509/x509_att.o x509/x509type.o x509/x509_lu.o \ - x509/x_all.o x509/x509_txt.o x509/x509_trs.o \ - x509/by_file.o x509/by_dir.o x509v3/v3_bcons.o \ - x509v3/v3_bitst.o x509v3/v3_conf.o x509v3/v3_extku.o \ - x509v3/v3_ia5.o x509v3/v3_lib.o x509v3/v3_prn.o \ - x509v3/v3_utl.o x509v3/v3err.o x509v3/v3_genn.o \ - x509v3/v3_alt.o x509v3/v3_skey.o x509v3/v3_akey.o \ - x509v3/v3_pku.o x509v3/v3_int.o x509v3/v3_enum.o \ - x509v3/v3_sxnet.o x509v3/v3_cpols.o x509v3/v3_crld.o \ - x509v3/v3_purp.o x509v3/v3_info.o x509v3/v3_ocsp.o \ - x509v3/v3_akeya.o \ - \ - $(MD5_OBJ_ASM) \ + $(MD5_OBJ_ASM) \ $(BN_ASM) # MD5_OBJ_ASM and BN_ASM may be overriden by <arch>/Makefile. @@ -216,7 +243,7 @@ DYNFLAGS += $(OPENSSL_FILTER_FLAG) $(OPENSSL_DYNFLAGS) $(MAPOPTS) LIBS = $(DYNLIB) $(LINTLIB) SRCDIR = $(OPENSSL_SRC)/crypto -$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC) +$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC) # We do not want to give the CFLAGS and build date information # so we define the magic NO_WINDOWS_BRAINDEATH to suppress this @@ -224,11 +251,11 @@ pics/cversion.o := CPPFLAGS += -DNO_WINDOWS_BRAINDEATH .KEEP_STATE: -all: subdirs $(LIBS) +all: subdirs $(LIBS) -lint: lintcheck +lint: lintcheck -subdirs: FRC +subdirs: FRC @mkdir -p \ pics/aes \ pics/asn1 \ @@ -260,6 +287,8 @@ subdirs: FRC pics/pem \ pics/pkcs12 \ pics/pkcs7 \ + pics/pqueue \ + pics/store \ pics/rand \ pics/rc2 \ pics/rc4 \ diff --git a/usr/src/lib/openssl/libcrypto/common/mapfile b/usr/src/lib/openssl/libcrypto/common/mapfile index 08223a26f8..6ab785c26c 100644 --- a/usr/src/lib/openssl/libcrypto/common/mapfile +++ b/usr/src/lib/openssl/libcrypto/common/mapfile @@ -2,9 +2,8 @@ # CDDL HEADER START # # The contents of this file are subject to the terms of the -# Common Development and Distribution License, Version 1.0 only -# (the "License"). You may not use this file except in compliance -# with the License. +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or http://www.opensolaris.org/os/licensing. @@ -20,10 +19,9 @@ # CDDL HEADER END # # -# Copyright 2005 Sun Microsystems, Inc. All rights reserved. +# Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# # ident "%Z%%M% %I% %E% SMI" # # Mapfile supporting symmetric ciphers with keys over 128 bit in optional @@ -33,12 +31,16 @@ { global: # these functions are added by libcrypto_extra - EVP_aes_192_ecb = FUNCTION FILTER libcrypto_extra.so.0.9.7; - EVP_aes_192_cbc = FUNCTION FILTER libcrypto_extra.so.0.9.7; - EVP_aes_192_cfb = FUNCTION FILTER libcrypto_extra.so.0.9.7; - EVP_aes_192_ofb = FUNCTION FILTER libcrypto_extra.so.0.9.7; - EVP_aes_256_ecb = FUNCTION FILTER libcrypto_extra.so.0.9.7; - EVP_aes_256_cbc = FUNCTION FILTER libcrypto_extra.so.0.9.7; - EVP_aes_256_cfb = FUNCTION FILTER libcrypto_extra.so.0.9.7; - EVP_aes_256_ofb = FUNCTION FILTER libcrypto_extra.so.0.9.7; + EVP_aes_192_ecb = FUNCTION FILTER libcrypto_extra.so.0.9.8; + EVP_aes_192_cbc = FUNCTION FILTER libcrypto_extra.so.0.9.8; + EVP_aes_192_cfb = FUNCTION FILTER libcrypto_extra.so.0.9.8; + EVP_aes_192_cfb1 = FUNCTION FILTER libcrypto_extra.so.0.9.8; + EVP_aes_192_cfb8 = FUNCTION FILTER libcrypto_extra.so.0.9.8; + EVP_aes_192_ofb = FUNCTION FILTER libcrypto_extra.so.0.9.8; + EVP_aes_256_ecb = FUNCTION FILTER libcrypto_extra.so.0.9.8; + EVP_aes_256_cbc = FUNCTION FILTER libcrypto_extra.so.0.9.8; + EVP_aes_256_cfb = FUNCTION FILTER libcrypto_extra.so.0.9.8; + EVP_aes_256_cfb1 = FUNCTION FILTER libcrypto_extra.so.0.9.8; + EVP_aes_256_cfb8 = FUNCTION FILTER libcrypto_extra.so.0.9.8; + EVP_aes_256_ofb = FUNCTION FILTER libcrypto_extra.so.0.9.8; }; diff --git a/usr/src/lib/openssl/libcrypto_extra/Makefile.com b/usr/src/lib/openssl/libcrypto_extra/Makefile.com index 30200a474f..7c6056f69e 100644 --- a/usr/src/lib/openssl/libcrypto_extra/Makefile.com +++ b/usr/src/lib/openssl/libcrypto_extra/Makefile.com @@ -2,9 +2,8 @@ # CDDL HEADER START # # The contents of this file are subject to the terms of the -# Common Development and Distribution License, Version 1.0 only -# (the "License"). You may not use this file except in compliance -# with the License. +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or http://www.opensolaris.org/os/licensing. @@ -20,28 +19,28 @@ # CDDL HEADER END # # -# Copyright 2005 Sun Microsystems, Inc. All rights reserved. +# Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # ident "%Z%%M% %I% %E% SMI" # # usr/src/lib/openssl/libcrypto_extra/Makefile.com -LIBRARY= libcrypto_extra.a +LIBRARY = libcrypto_extra.a -OBJECTS=\ - sunw.o \ +OBJECTS = sunw.o \ \ - aes/aes_cbc.o aes/aes_cfb.o aes/aes_core.o aes/aes_ctr.o \ - aes/aes_ecb.o aes/aes_misc.o aes/aes_ofb.o \ + aes/aes_cbc.o aes/aes_cfb.o aes/aes_core.o aes/aes_ctr.o \ + aes/aes_ecb.o aes/aes_misc.o aes/aes_ofb.o \ \ - bf/bf_skey.o bf/bf_ecb.o bf/bf_cfb64.o bf/bf_ofb64.o \ + bf/bf_skey.o bf/bf_ecb.o bf/bf_cfb64.o bf/bf_ofb64.o \ \ - evp/e_aes.o evp/e_bf.o evp/e_rc4.o evp/c_allc.o \ + evp/e_aes.o evp/e_bf.o evp/e_rc4.o evp/c_allc.o \ + evp/e_old.o \ \ - rc4/rc4_enc.o rc4/rc4_skey.o \ + rc4/rc4_enc.o rc4/rc4_skey.o \ \ - $(BF_ENC) \ + $(BF_ENC) \ $(RC4_ENC) @@ -51,21 +50,21 @@ include ../../Makefile.com CFLAGS += -K PIC -DCRYPTO_UNLIMITED CFLAGS64 += -K PIC -DCRYPTO_UNLIMITED -ZDEFS = -znodefs +ZDEFS = -znodefs SONAME = $(LIBRARY:.a=.so)$(VERS) LIBS = $(DYNLIB) SRCDIR = $(OPENSSL_SRC)/crypto -SRCS= $(OBJECTS:%.o=$(SRCDIR)/%.c) +SRCS = $(OBJECTS:%.o=$(SRCDIR)/%.c) -$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC) +$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC) .KEEP_STATE: -all: subdirs $(LIBS) +all: subdirs $(LIBS) -subdirs: FRC +subdirs: FRC @mkdir -p \ pics/aes \ pics/bf \ @@ -74,7 +73,7 @@ subdirs: FRC FRC: -pics/%.o: $(SRCDIR)/%.c +pics/%.o: $(SRCDIR)/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) diff --git a/usr/src/lib/openssl/libssl/Makefile b/usr/src/lib/openssl/libssl/Makefile index 996311de49..21e76291e0 100644 --- a/usr/src/lib/openssl/libssl/Makefile +++ b/usr/src/lib/openssl/libssl/Makefile @@ -2,9 +2,8 @@ # CDDL HEADER START # # The contents of this file are subject to the terms of the -# Common Development and Distribution License, Version 1.0 only -# (the "License"). You may not use this file except in compliance -# with the License. +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or http://www.opensolaris.org/os/licensing. @@ -20,7 +19,7 @@ # CDDL HEADER END # # -# Copyright 2004 Sun Microsystems, Inc. All rights reserved. +# Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # ident "%Z%%M% %I% %E% SMI" @@ -34,7 +33,8 @@ HDRS = \ ssl2.h \ ssl3.h \ ssl23.h \ - tls1.h + tls1.h \ + dtls1.h HDRDIR= $(OPENSSL_SRC)/ssl ROOTHDRDIR= $(ROOTSFWINCLUDE)/openssl diff --git a/usr/src/lib/openssl/libssl/Makefile.com b/usr/src/lib/openssl/libssl/Makefile.com index 3e8ea65a5c..69d5be31d1 100644 --- a/usr/src/lib/openssl/libssl/Makefile.com +++ b/usr/src/lib/openssl/libssl/Makefile.com @@ -2,9 +2,8 @@ # CDDL HEADER START # # The contents of this file are subject to the terms of the -# Common Development and Distribution License, Version 1.0 only -# (the "License"). You may not use this file except in compliance -# with the License. +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or http://www.opensolaris.org/os/licensing. @@ -20,7 +19,7 @@ # CDDL HEADER END # # -# Copyright 2004 Sun Microsystems, Inc. All rights reserved. +# Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # ident "%Z%%M% %I% %E% SMI" @@ -28,45 +27,31 @@ # usr/src/lib/openssl/ssl/Makefile.com # -LIBRARY= libssl.a +LIBRARY = libssl.a -OBJECTS= \ - bio_ssl.o \ - kssl.o \ - s23_clnt.o \ - s23_lib.o \ - s23_meth.o \ - s23_pkt.o \ - s23_srvr.o \ - s2_clnt.o \ - s2_enc.o \ - s2_lib.o \ - s2_meth.o \ - s2_pkt.o \ - s2_srvr.o \ - s3_both.o \ - s3_clnt.o \ - s3_enc.o \ - s3_lib.o \ - s3_meth.o \ - s3_pkt.o \ - s3_srvr.o \ - ssl_algs.o \ - ssl_asn1.o \ - ssl_cert.o \ - ssl_ciph.o \ - ssl_err.o \ - ssl_err2.o \ - ssl_lib.o \ - ssl_rsa.o \ - ssl_sess.o \ - ssl_stat.o \ - ssl_txt.o \ - t1_clnt.o \ - t1_enc.o \ - t1_lib.o \ - t1_meth.o \ - t1_srvr.o \ +OBJECTS = bio_ssl.o \ + \ + d1_both.o d1_clnt.o d1_enc.o d1_lib.o \ + d1_meth.o d1_pkt.o d1_srvr.o \ + \ + kssl.o \ + \ + s2_clnt.o s2_enc.o s2_lib.o s2_meth.o \ + s2_pkt.o s2_srvr.o \ + \ + s23_clnt.o s23_lib.o s23_meth.o s23_pkt.o \ + s23_srvr.o \ + \ + s3_both.o s3_clnt.o s3_enc.o s3_lib.o \ + s3_meth.o s3_pkt.o s3_srvr.o \ + \ + ssl_algs.o ssl_asn1.o ssl_cert.o ssl_ciph.o \ + ssl_err.o ssl_err2.o ssl_lib.o ssl_rsa.o \ + ssl_sess.o ssl_stat.o ssl_txt.o \ + \ + t1_clnt.o t1_enc.o t1_lib.o t1_meth.o \ + t1_srvr.o \ + \ $($(MACH)_OBJECTS) include ../../Makefile.com @@ -74,15 +59,15 @@ include ../../Makefile.com LIBS = $(DYNLIB) $(LINTLIB) SRCDIR = ../../../../common/openssl/ssl -$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC) +$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC) -LDLIBS += $(OPENSSL_LDFLAGS) -lcrypto -lc -DYNFLAGS += $(OPENSSL_FILTER_FLAG) $(OPENSSL_DYNFLAGS) +LDLIBS += $(OPENSSL_LDFLAGS) -lcrypto -lc +DYNFLAGS += $(OPENSSL_FILTER_FLAG) $(OPENSSL_DYNFLAGS) .KEEP_STATE: -all: $(LIBS) +all: $(LIBS) -lint: lintcheck +lint: lintcheck include $(SRC)/lib/Makefile.targ diff --git a/usr/src/lib/openssl/libssl/sparcv9/Makefile b/usr/src/lib/openssl/libssl/sparcv9/Makefile index 1317575d42..9bc61b7520 100644 --- a/usr/src/lib/openssl/libssl/sparcv9/Makefile +++ b/usr/src/lib/openssl/libssl/sparcv9/Makefile @@ -2,9 +2,8 @@ # CDDL HEADER START # # The contents of this file are subject to the terms of the -# Common Development and Distribution License, Version 1.0 only -# (the "License"). You may not use this file except in compliance -# with the License. +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or http://www.opensolaris.org/os/licensing. @@ -20,7 +19,7 @@ # CDDL HEADER END # # -# Copyright 2004 Sun Microsystems, Inc. All rights reserved. +# Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # ident "%Z%%M% %I% %E% SMI" @@ -29,5 +28,6 @@ include ../Makefile.com include ../../../Makefile.lib.64 +CFLAGS64 += $(C_BIGPICFLAGS64) install: all $(ROOTLIBS64) $(ROOTLINKS64) $(ROOTLIBPC64) diff --git a/usr/src/lib/openssl/libssl_extra/Makefile.com b/usr/src/lib/openssl/libssl_extra/Makefile.com index 92f8e28644..728238dd7c 100644 --- a/usr/src/lib/openssl/libssl_extra/Makefile.com +++ b/usr/src/lib/openssl/libssl_extra/Makefile.com @@ -2,9 +2,8 @@ # CDDL HEADER START # # The contents of this file are subject to the terms of the -# Common Development and Distribution License, Version 1.0 only -# (the "License"). You may not use this file except in compliance -# with the License. +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or http://www.opensolaris.org/os/licensing. @@ -20,35 +19,32 @@ # CDDL HEADER END # # -# Copyright 2004 Sun Microsystems, Inc. All rights reserved. +# Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # ident "%Z%%M% %I% %E% SMI" # # usr/src/lib/openssl/libssl_extra/Makefile.com -LIBRARY= libssl_extra.a +LIBRARY = libssl_extra.a -OBJECTS=\ - ssl_algs.o \ - ssl_ciph.o \ - ssl_lib.o +OBJECTS = ssl_algs.o ssl_ciph.o ssl_lib.o include ../../Makefile.com -CPPFLAGS += -DCRYPTO_UNLIMITED -LDLIBS += $(ROOT)/$(SFWLIBDIR)/libcrypto_extra.so$(VERS) -LDLIBS += $(OPENSSL_LDFLAGS) -lcrypto -lssl -lc -DYNFLAGS += $(OPENSSL_DYNFLAGS) +CPPFLAGS += -DCRYPTO_UNLIMITED +LDLIBS += $(ROOT)/$(SFWLIBDIR)/libcrypto_extra.so$(VERS) +LDLIBS += $(OPENSSL_LDFLAGS) -lcrypto -lssl -lc +DYNFLAGS += $(OPENSSL_DYNFLAGS) LIBS = $(DYNLIB) SRCDIR = $(OPENSSL_SRC)/ssl -$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC) +$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC) .KEEP_STATE: -all: $(LIBS) +all: $(LIBS) include $(SRC)/lib/Makefile.targ |