From owner-svn-src-projects@freebsd.org Thu Sep 20 21:36:53 2018 Return-Path: Delivered-To: svn-src-projects@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6B1BA10AA98A for ; Thu, 20 Sep 2018 21:36:53 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 132D98160A; Thu, 20 Sep 2018 21:36:53 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 09FC3239A1; Thu, 20 Sep 2018 21:36:53 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w8KLaqu5064020; Thu, 20 Sep 2018 21:36:52 GMT (envelope-from jkim@FreeBSD.org) Received: (from jkim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w8KLaqg8064019; Thu, 20 Sep 2018 21:36:52 GMT (envelope-from jkim@FreeBSD.org) Message-Id: <201809202136.w8KLaqg8064019@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jkim set sender to jkim@FreeBSD.org using -f From: Jung-uk Kim Date: Thu, 20 Sep 2018 21:36:52 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r338843 - projects/openssl111/secure/lib/libcrypto X-SVN-Group: projects X-SVN-Commit-Author: jkim X-SVN-Commit-Paths: projects/openssl111/secure/lib/libcrypto X-SVN-Commit-Revision: 338843 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Sep 2018 21:36:53 -0000 Author: jkim Date: Thu Sep 20 21:36:52 2018 New Revision: 338843 URL: https://svnweb.freebsd.org/changeset/base/338843 Log: Connect i386 assembly files to build. Modified: projects/openssl111/secure/lib/libcrypto/Makefile Modified: projects/openssl111/secure/lib/libcrypto/Makefile ============================================================================== --- projects/openssl111/secure/lib/libcrypto/Makefile Thu Sep 20 21:34:05 2018 (r338842) +++ projects/openssl111/secure/lib/libcrypto/Makefile Thu Sep 20 21:36:52 2018 (r338843) @@ -21,6 +21,8 @@ SRCS+= mem_dbg.c mem_sec.c o_dir.c o_fips.c o_fopen.c SRCS+= o_time.c threads_pthread.c uid.c .if defined(ASM_amd64) SRCS+= x86_64cpuid.S +.elif defined(ASM_i386) +SRCS+= x86cpuid.S .else SRCS+= mem_clr.c .endif @@ -30,6 +32,8 @@ SRCS+= aes_cfb.c aes_ecb.c aes_ige.c aes_misc.c aes_of .if defined(ASM_amd64) SRCS+= aes-x86_64.S aesni-mb-x86_64.S aesni-sha1-x86_64.S SRCS+= aesni-sha256-x86_64.S aesni-x86_64.S bsaes-x86_64.S vpaes-x86_64.S +.elif defined(ASM_i386) +SRCS+= aes-586.S aesni-x86.S vpaes-x86.S .else SRCS+= aes_cbc.c aes_core.c .endif @@ -54,7 +58,12 @@ SRCS+= x_val.c SRCS+= async.c async_err.c async_posix.c async_wait.c # bf -SRCS+= bf_cfb64.c bf_ecb.c bf_enc.c bf_ofb64.c bf_skey.c +SRCS+= bf_cfb64.c bf_ecb.c bf_ofb64.c bf_skey.c +.if defined(ASM_i386) +SRCS+= bf-586.S +.else +SRCS+= bf_enc.c +.endif # bio SRCS+= b_addr.c b_dump.c b_print.c b_sock.c b_sock2.c bf_buff.c bf_lbuf.c @@ -74,6 +83,8 @@ SRCS+= bn_srp.c bn_word.c bn_x931p.c .if defined(ASM_amd64) SRCS+= rsaz-avx2.S rsaz-x86_64.S rsaz_exp.c x86_64-gcc.c x86_64-gf2m.S SRCS+= x86_64-mont.S x86_64-mont5.S +.elif defined(ASM_i386) +SRCS+= bn-586.S co-586.S x86-gf2m.S x86-mont.S .else SRCS+= bn_asm.c .endif @@ -82,11 +93,13 @@ SRCS+= bn_asm.c SRCS+= buf_err.c buffer.c # camellia -SRCS+= cmll_cfb.c cmll_ctr.c cmll_ecb.c cmll_misc.c cmll_ofb.c +SRCS+= cmll_cfb.c cmll_ctr.c cmll_ecb.c cmll_ofb.c .if defined(ASM_amd64) -SRCS+= cmll-x86_64.S +SRCS+= cmll-x86_64.S cmll_misc.c +.elif defined(ASM_i386) +SRCS+= cmll-x86.S .else -SRCS+= camellia.c cmll_cbc.c +SRCS+= camellia.c cmll_cbc.c cmll_misc.c .endif # cast @@ -95,6 +108,8 @@ SRCS+= c_cfb64.c c_ecb.c c_enc.c c_ofb64.c c_skey.c # chacha .if defined(ASM_amd64) SRCS+= chacha-x86_64.S +.elif defined(ASM_i386) +SRCS+= chacha-x86.S .else SRCS+= chacha_enc.c .endif @@ -119,10 +134,14 @@ SRCS+= ct_b64.c ct_err.c ct_log.c ct_oct.c ct_policy.c SRCS+= ct_sct_ctx.c ct_vfy.c ct_x509v3.c # des -SRCS+= cbc_cksm.c cbc_enc.c cfb64ede.c cfb64enc.c cfb_enc.c des_enc.c -SRCS+= ecb3_enc.c ecb_enc.c fcrypt.c fcrypt_b.c ofb64ede.c ofb64enc.c -SRCS+= ofb_enc.c pcbc_enc.c qud_cksm.c rand_key.c set_key.c str2key.c -SRCS+= xcbc_enc.c +SRCS+= cbc_cksm.c cbc_enc.c cfb64ede.c cfb64enc.c cfb_enc.c ecb3_enc.c +SRCS+= ecb_enc.c fcrypt.c ofb64ede.c ofb64enc.c ofb_enc.c pcbc_enc.c +SRCS+= qud_cksm.c rand_key.c set_key.c str2key.c xcbc_enc.c +.if defined(ASM_i386) +SRCS+= crypt586.S des-586.S +.else +SRCS+= des_enc.c fcrypt_b.c +.endif # dh SRCS+= dh_ameth.c dh_asn1.c dh_check.c dh_depr.c dh_err.c dh_gen.c dh_kdf.c @@ -146,6 +165,8 @@ SRCS+= ecdsa_vrf.c eck_prn.c ecp_mont.c ecp_nist.c ecp SRCS+= ecx_meth.c eddsa.c f_generic.c f_impl.c scalar.c .if defined(ASM_amd64) SRCS+= ecp_nistz256-x86_64.S ecp_nistz256.c x25519-x86_64.S +.elif defined(ASM_i386) +SRCS+= ecp_nistz256.c ecp_nistz256-x86.S .endif # engine @@ -188,6 +209,8 @@ SRCS+= md4_dgst.c md4_one.c SRCS+= md5_dgst.c md5_one.c .if defined(ASM_amd64) SRCS+= md5-x86_64.S +.elif defined(ASM_i386) +SRCS+= md5-586.S .endif # mdc2 @@ -198,6 +221,8 @@ SRCS+= cbc128.c ccm128.c cfb128.c ctr128.c cts128.c gc SRCS+= ofb128.c wrap128.c xts128.c .if defined(ASM_amd64) SRCS+= aesni-gcm-x86_64.S ghash-x86_64.S +.elif defined(ASM_i386) +SRCS+= ghash-x86.S .endif # objects @@ -224,6 +249,8 @@ SRCS+= pk7_smime.c pkcs7err.c SRCS+= poly1305.c poly1305_ameth.c poly1305_pmeth.c .if defined(ASM_amd64) SRCS+= poly1305-x86_64.S +.elif defined(ASM_i386) +SRCS+= poly1305-x86.S .endif # rand @@ -235,15 +262,25 @@ SRCS+= rc2_cbc.c rc2_ecb.c rc2_skey.c rc2cfb64.c rc2of # rc4 .if defined(ASM_amd64) SRCS+= rc4-md5-x86_64.S rc4-x86_64.S +.elif defined(ASM_i386) +SRCS+= rc4-586.S .else SRCS+= rc4_enc.c rc4_skey.c .endif # rc5 -SRCS+= rc5_ecb.c rc5_enc.c rc5_skey.c rc5cfb64.c rc5ofb64.c +SRCS+= rc5_ecb.c rc5_skey.c rc5cfb64.c rc5ofb64.c +.if defined(ASM_i386) +SRCS+= rc5-586.S +.else +SRCS+= rc5_enc.c +.endif # ripemd SRCS+= rmd_dgst.c rmd_one.c +.if defined(ASM_i386) +SRCS+= rmd-586.S +.endif # rsa SRCS+= rsa_ameth.c rsa_asn1.c rsa_chk.c rsa_crpt.c rsa_depr.c rsa_err.c @@ -259,8 +296,8 @@ SRCS+= sha1_one.c sha1dgst.c sha256.c sha512.c .if defined(ASM_amd64) SRCS+= keccak1600-x86_64.S sha1-mb-x86_64.S sha1-x86_64.S SRCS+= sha256-mb-x86_64.S sha256-x86_64.S sha512-x86_64.S -.else -SRCS+= keccak1600.c +.elif defined(ASM_i386) +SRCS+= keccak1600.c sha1-586.S sha256-586.S sha512-586.S .endif # siphash @@ -300,6 +337,8 @@ SRCS+= ui_err.c ui_lib.c ui_null.c ui_openssl.c ui_uti SRCS+= wp_dgst.c .if defined(ASM_amd64) SRCS+= wp-x86_64.S +.elif defined(ASM_i386) +SRCS+= wp-mmx.S wp_block.c .else SRCS+= wp_block.c .endif